dimensional_model: 'dimensional_model' S3 class

View source: R/dimensional_model.R

dimensional_modelR Documentation

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()

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.

Value

A dimensional_model object.

See Also

star_schema

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

Examples


dm <- dimensional_model()


josesamos/starschemar documentation built on Jan. 26, 2024, 2:03 p.m.