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.
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)
A star_schema
object.
A string, name of the dimension.
A dimension_table
object.
A boolean.
A star_schema
object.