get_dimension: Get dimension

View source: R/star_schema_get_dimension.R

get_dimensionR Documentation

Get dimension

Description

Get a dimension of a star schema given its name.

Usage

get_dimension(st, name)

## S3 method for class 'star_schema'
get_dimension(st, name)

Arguments

st

A star_schema object.

name

A string, name of the dimension.

Details

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

Value

A dimension_table object.

See Also

Other data cleaning functions: get_conformed_dimension_names(), get_conformed_dimension(), get_dimension_names(), match_records(), modify_conformed_dimension_records(), modify_dimension_records(), record_update_set(), update_record(), update_selection_general(), update_selection()

Examples


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


starschemar documentation built on Nov. 11, 2023, 5:09 p.m.