snake_case.flat_table | R Documentation |
For flat tables, transform attribute and measure names according to the snake case style. For star databases, transform fact, dimension, measures, and attribute names according to the snake case style.
## S3 method for class 'flat_table'
snake_case(db)
snake_case(db)
## S3 method for class 'star_database'
snake_case(db)
db |
A |
This style is suitable if we are going to work with databases.
A flat_table
or star_database
object.
star_database
, flat_table
Other star database and flat table functions:
get_attribute_names.flat_table()
,
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()
db <- star_database(mrs_cause_schema, ft_num) |>
snake_case()
ft <- flat_table('iris', iris) |>
snake_case()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.