star_schema_as_flat_table: Export a star schema as a flat table

View source: R/star_schema_as_flat_table.R

star_schema_as_flat_tableR Documentation

Export a star schema as a flat table

Description

Once we have refined the format or content of facts and dimensions, we can again obtain a flat table, implemented using a tibble, from a star schema.

Usage

star_schema_as_flat_table(st)

## S3 method for class 'star_schema'
star_schema_as_flat_table(st)

Arguments

st

A star_schema object.

Value

A tibble.

See Also

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

Examples


ft <- st_mrs_age |>
  star_schema_as_flat_table()


starschemar documentation built on Nov. 11, 2023, 5:09 p.m.