modify_conformed_dimension_records: Apply dimension record update operations to conformed...

View source: R/constellation_modify_conformed_dimension_records.R

modify_conformed_dimension_recordsR Documentation

Apply dimension record update operations to conformed dimensions

Description

Given a list of dimension record update operations, they are applied on the conformed dimensions of the constellation object. Update operations must be defined with the set of functions available for that purpose.

Usage

modify_conformed_dimension_records(ct, updates = record_update_set())

## S3 method for class 'constellation'
modify_conformed_dimension_records(ct, updates = record_update_set())

Arguments

ct

A constellation object.

updates

A record_update_set object.

Details

When dimensions are defined, records can be detected that must be modified as part of the data cleaning process: frequently to unify two or more records due to data errors or missing data. This is not immediate because facts must be adapted to the new set of dimension instances.

This operation allows us to unify records and automatically propagate modifications to facts in star schemas.

Value

A constellation object.

See Also

Other data cleaning functions: get_conformed_dimension(), get_conformed_dimension_names(), get_dimension(), get_dimension_names(), match_records(), modify_dimension_records(), record_update_set(), update_record(), update_selection(), update_selection_general()

Examples


ct <- ct_mrs |>
  modify_conformed_dimension_records(updates_st_mrs_age)


josesamos/starschemar documentation built on May 6, 2024, 5:57 a.m.