starschemar (version 1.2.0)

dimensional_model: dimensional_model S3 class

Description

An empty dimensional_model object is created in which definition of facts and dimensions can be added.

Usage

dimensional_model()

Arguments

Value

A dimensional_model object.

Details

To get a star schema (a star_schema object) we need a flat table (implemented through a tibble) and a dimensional_model object. The definition of facts and dimensions in the dimensional_model object is made from the flat table columns. Each attribute can only appear once in the definition.

See Also

star_schema

Other star definition functions: define_dimension(), define_fact()

Examples

Run this code
# NOT RUN {
dm <- dimensional_model()

# }

Run the code above in your browser using DataCamp Workspace