get_dimension {starschemar}R 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(), get_conformed_dimension_names(), get_dimension_names(), match_records(), modify_conformed_dimension_records(), modify_dimension_records(), record_update_set(), update_record(), update_selection(), update_selection_general()

Examples


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


[Package starschemar version 1.2.5 Index]