Skip to contents

Reports whether variables required to derive final NBI components are present. This preflight does not stop by default; it returns a diagnostic table.

Usage

enemdu_validate_nbi_component_inputs(
  data,
  profile = "enemdu_2025_anual",
  household_id = "id_hogar",
  person_id = "p01",
  area_var = "area",
  registry = enemdu_nbi_derivation_registry()
)

Arguments

data

A data frame.

profile

NBI derivation profile.

household_id

Household identifier variable.

person_id

Person identifier variable.

area_var

Optional area/domain variable.

registry

NBI derivation registry.

Value

A tibble with variable-level input diagnostics and a preflight_passed attribute.