get_measure_names.flat_table | R Documentation |
Obtain the names of the measures in a flat table or in a star database.
## S3 method for class 'flat_table'
get_measure_names(db, name = NULL, ordered = FALSE, as_definition = FALSE)
get_measure_names(db, name, ordered, as_definition)
## S3 method for class 'star_database'
get_measure_names(db, name = NULL, ordered = FALSE, as_definition = FALSE)
db |
A |
name |
A string, dimension name. |
ordered |
A boolean, sort names alphabetically. |
as_definition |
A boolean, get the names as a vector definition in R. |
A vector of strings or a string, measure names.
star_database
, flat_table
Other star database and flat table functions:
get_attribute_names.flat_table()
,
get_similar_attribute_values.flat_table()
,
get_similar_attribute_values_individually.flat_table()
,
get_unique_attribute_values.flat_table()
,
replace_attribute_values.flat_table()
,
set_attribute_names.flat_table()
,
set_measure_names.flat_table()
,
snake_case.flat_table()
names <- star_database(mrs_cause_schema, ft_num) |>
get_measure_names()
names <- flat_table('iris', iris) |>
get_measure_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.