
Get the names of the attributes
Source:R/flat_table.R
, R/generic.R
, R/star_database.R
get_attribute_names.Rd
Obtain the names of the attributes in a flat table or a dimension in a star database.
Usage
# S3 method for class 'flat_table'
get_attribute_names(db, name = NULL, ordered = FALSE, as_definition = FALSE)
get_attribute_names(db, name, ordered, as_definition)
# S3 method for class 'star_database'
get_attribute_names(db, name, ordered = FALSE, as_definition = FALSE)
See also
Other star database and flat table functions:
get_measure_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()
Examples
names <- star_database(mrs_cause_schema, ft_num) |>
get_attribute_names(name = "where")
names <- flat_table('iris', iris) |>
get_attribute_names()