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_names(), get_conformed_dimension(), get_dimension_names(), get_dimension(), match_records(), modify_dimension_records(), record_update_set(), update_record(), update_selection_general(), update_selection()

Examples


ct <- ct_mrs |>
  modify_conformed_dimension_records(updates_st_mrs_age)


starschemar documentation built on Nov. 11, 2023, 5:09 p.m.