rename_dimension {starschemar} | R Documentation |
Rename dimension
Description
Set new name for a dimension.
Usage
rename_dimension(st, name, new_name)
## S3 method for class 'star_schema'
rename_dimension(st, name, new_name)
Arguments
st |
A |
name |
A string, name of the dimension. |
new_name |
A string, new name of the dimension. |
Value
A star_schema
object.
See Also
Other rename functions:
get_dimension_attribute_names()
,
get_measure_names()
,
rename_dimension_attributes()
,
rename_fact()
,
rename_measures()
Examples
st <- st_mrs_age |>
rename_dimension(name = "when", new_name = "when_happened")
[Package starschemar version 1.2.5 Index]