Skip to contents

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

Usage

dimensional_model()

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


dm <- dimensional_model()