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(), 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")


josesamos/starschemar documentation built on May 6, 2024, 5:57 a.m.