View source: R/star_schema_rename.R
rename_dimension | R Documentation |
Set new name for a dimension.
rename_dimension(st, name, new_name)
## S3 method for class 'star_schema'
rename_dimension(st, name, new_name)
st |
A |
name |
A string, name of the dimension. |
new_name |
A string, new name of the dimension. |
A star_schema
object.
Other rename functions:
get_dimension_attribute_names()
,
get_measure_names()
,
rename_dimension_attributes()
,
rename_fact()
,
rename_measures()
st <- st_mrs_age |>
rename_dimension(name = "when", new_name = "when_happened")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.