An S3 mapping_references is a list holding the catalogue indexes and correspondences needed for value resolution.
Construction
Use prepare_mapping_references() with a mapping_configuration and named reference configurations.
Preparation loads the selected target mappings and their required data, checks columns and reads correspondence files.
Only rebound mappings require source catalogue rows.
Structure
mapping: the mapping configuration, including resolved lookup policies.alternatives: selected target tables and their alternatives, linked to the required reference indexes.references: shared reference_index objects, each annotated with its lookup specification.correspondences: entries keyed by CSV path, containingdata, an exact lookupindexand fileprovenance.provenance: catalogue table metadata, publication metadata, cached paths and any catalogue alias metadata.
Each alternative contains its mapping, source_index and target_index.
source_index is NULL for CSV and unchanged-input correspondences.
Keys linking alternatives, reference indexes and provenance are internal identifiers.
Use
Pass the object to map_reference_values() for each selected target and its encountered source values.
Prepare it once and reuse it for successive calls; prepare it again when configuration or reference data changes.
Inspect the returned result rows and their provenance for resolution diagnostics.
Mapping results are ordinary data frames, not another custom S3 class.
There are no class-specific S3 methods.