starschemar (version 1.2.4)

get_dimension: Get dimension

Description

Get a dimension of a star schema given its name.

Usage

get_dimension(st, name)

# S3 method for star_schema get_dimension(st, name)

Value

A dimension_table object.

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.

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

Run this code

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

Run the code above in your browser using DataLab