Returns the names of the dimension table attributes as a string vector or in string form, so we can easily use it to rename them if deemed necessary.
Usage
get_table_attribute_names(td, as_string)
# S3 method for when
get_table_attribute_names(td, as_string = TRUE)
Details
If the table has not been generated yet, returns the attributes it will contain when it is generated.
See also
Other obtaining results:
generate_table()
,
get_level_attribute_names()
,
get_level_names()
,
set_table_attribute_names()
Examples
names <- when() |>
get_table_attribute_names()