starschemar (version 1.2.0)

replace_dimension_in_facts: Replace in facts a star schema dimension

Description

This operation can be due to integrating several dimensions in a constellation or an incremental update of a dimension (indicated with the boolean parameter). The new dimension replaces in facts the original dimension, whose name is indicated.

Usage

replace_dimension_in_facts(st, name, dimension, set_type_conformed = FALSE)

# S3 method for star_schema replace_dimension_in_facts(st, name, dimension, set_type_conformed = FALSE)

Arguments

st

A star_schema object.

name

A string, name of the dimension.

dimension

A dimension_table object.

set_type_conformed

A boolean.

Value

A star_schema object.