Skip to contents

Compares variable_catalog.csv with an official ENEMDU dictionary. Aliases declared in the package catalog are respected, so official names such as id_hogar may validate the canonical internal variable idhogar.

Usage

enemdu_validate_catalog_against_official_dictionary(
  dictionary,
  variable_catalog = enemdu_variable_catalog(),
  required_core_only = FALSE
)

Arguments

dictionary

Official dictionary tibble.

variable_catalog

Package variable catalog.

required_core_only

Logical. If TRUE, validates only rows where required_core is TRUE.

Value

A tibble with validation status by catalog row.