replace_dimension_in_facts: Replace in facts a star schema dimension

View source: R/star_schema_replace_dimension.R

replace_dimension_in_factsR Documentation

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 class '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.


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