| star_schema | R Documentation |
star_schema S3 classCreates a star_schema object from a flat table (implemented by a tibble)
and a dimensional_model object.
star_schema(ft, sd)
ft |
A |
sd |
A |
Transforms the flat table data according to the facts and dimension
definitions of the dimensional_model object. Each dimension is generated with
a surrogate key which is a foreign key in facts.
Facts only contain measurements and foreign keys.
A star_schema object.
dimensional_model
Other star schema and constellation definition functions:
character_dimensions(),
constellation(),
role_playing_dimension(),
snake_case()
st <- star_schema(mrs_age, dm_mrs_age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.