Skip to contents

An S3 reference_configuration is a named list describing reference catalogues and their lookup policies.

Construction

Use read_reference_configuration() to read and validate a reference YAML file.

Relative paths and environment variables are resolved before the object is returned.

No catalogue data is downloaded at this stage.

Structure

  • schema_version: the reference-configuration format version.

  • catalogues: a named list of catalogue definitions.

  • Each catalogue contains a source object of class reference_source and a tables list.

  • tables maps table IDs to named lookup columns and their matching and ignore_case settings.

  • A catalogue may also retain its optional label.

Use

Pass the object to resolve_reference_lookups() or prepare_model_references() for form-model references.

Named lists of these objects supply the catalogues used by prepare_mapping_references().

Sources can contain authentication headers in memory; do not serialize a configuration containing credentials.

There are no class-specific S3 methods.