starschemar (version 1.2.0)

get_dimension_attribute_names: Get dimension attribute names

Description

Get the name of attributes in a dimension.

Usage

get_dimension_attribute_names(st, name)

# S3 method for star_schema get_dimension_attribute_names(st, name)

Arguments

st

A star_schema object.

name

A string, name of the dimension.

Value

A vector of attribute names.

See Also

Other rename functions: get_measure_names(), rename_dimension_attributes(), rename_dimension(), rename_fact(), rename_measures()

Examples

Run this code
# NOT RUN {
library(tidyr)

attribute_names <-
  st_mrs_age %>% get_dimension_attribute_names("when")

# }

Run the code above in your browser using DataCamp Workspace