starschemar (version 1.2.0)

star_schema_as_tibble_list: Export a star schema as a tibble list

Description

Once we have refined the format or content of facts and dimensions, we can obtain a tibble list with them. Role playing dimensions can be optionally included.

Usage

star_schema_as_tibble_list(st, include_role_playing = FALSE)

# S3 method for star_schema star_schema_as_tibble_list(st, include_role_playing = FALSE)

Arguments

st

A star_schema object.

include_role_playing

A boolean.

Value

A list of tibble objects.

See Also

Other results export functions: constellation_as_multistar(), constellation_as_tibble_list(), multistar_as_flat_table(), star_schema_as_flat_table(), star_schema_as_multistar()

Examples

Run this code
# NOT RUN {
library(tidyr)

tl <- st_mrs_age %>%
  star_schema_as_tibble_list()

tl <- st_mrs_age %>%
  star_schema_as_tibble_list(include_role_playing = TRUE)

# }

Run the code above in your browser using DataLab