db <- star_database(mrs_cause_schema, ft_num) |>
set_measure_names(
new = c(
"Pneumonia and Influenza",
"All",
"Rows Aggregated"
)
)
ft <- flat_table('iris', iris) |>
set_measure_names(
old = c('Petal.Length', 'Petal.Width', 'Sepal.Length', 'Sepal.Width'),
new = c('pl', 'pw', 'ls', 'sw'))
new <- c('pl', 'pw', 'ls', 'sw')
names(new) <- c('Petal.Length', 'Petal.Width', 'Sepal.Length', 'Sepal.Width')
ft <- flat_table('iris', iris) |>
set_measure_names(
new = new)
Run the code above in your browser using DataLab