as_single_tibble_list {rolap} | R Documentation |
Generate a list of tibbles of flat tables
Description
Allows you to transform a star database into a flat table. If we have a constellation, it returns a list of flat tables.
Usage
as_single_tibble_list(db)
## S3 method for class 'star_database'
as_single_tibble_list(db)
Arguments
db |
A |
Value
A list of tibble
See Also
Other star database exportation functions:
as_csv_files()
,
as_dm_class()
,
as_multistar()
,
as_rdb()
,
as_tibble_list()
,
as_xlsx_file()
,
draw_tables()
Examples
db1 <- star_database(mrs_cause_schema, ft_num) |>
snake_case()
tl1 <- db1 |>
as_single_tibble_list()
db2 <- star_database(mrs_age_schema, ft_age) |>
snake_case()
ct <- constellation("MRS", db1, db2)
tl <- ct |>
as_single_tibble_list()
[Package rolap version 2.5.1 Index]