starschemar (version 1.2.0)

dereference_dimension: Dereference a dimension

Description

Given a dimension, transform the fact table so that the primary key of the dimension (which is a foreign key in the fact table) is replaced by the other attributes of the dimension.

Usage

dereference_dimension(ft, dimension, conversion = TRUE)

# S3 method for fact_table dereference_dimension(ft, dimension, conversion = TRUE)

Arguments

ft

A fact_table object.

dimension

A dimension_table object.

conversion

A boolean, indicates whether the attributes need to be transformed.

Value

A fact_table object.