Skip to contents

Get a dimension of a star schema given its name.

Usage

get_dimension(st, name)

# S3 method for star_schema
get_dimension(st, name)

Arguments

st

A star_schema object.

name

A string, name of the dimension.

Value

A dimension_table object.

Details

Role dimensions can be obtained but not role playing dimensions. Role dimensions get their instances of role playing dimensions.

Examples


d <- st_mrs_age |>
  get_dimension("when")