Generate a list of tibbles with fact and dimension tables
Source:R/star_database_export.R
as_tibble_list.Rd
To port databases to other work environments it is useful to be able to export them as a list of tibbles, as this function does.
See also
Other star database exportation functions:
as_csv_files()
,
as_dm_class()
,
as_multistar()
,
as_rdb()
,
as_single_tibble_list()
,
as_xlsx_file()
,
draw_tables()
Examples
db1 <- star_database(mrs_cause_schema, ft_num) |>
snake_case()
tl1 <- db1 |>
as_tibble_list()
db2 <- star_database(mrs_age_schema, ft_age) |>
snake_case()
ct <- constellation("MRS", db1, db2)
tl <- ct |>
as_tibble_list()