Skip to contents

Reports whether the minimum variables required by the December 2025 income poverty reproducibility workflow are present and usable. The function reports problems instead of stopping when variables are absent.

Usage

enemdu_validate_poverty_reproducibility_inputs(
  data,
  income_var = "ingtot_pc",
  area_var = "area",
  weight_var = "fexp",
  psu_var = "upm",
  strata_var = "estrato",
  required_vars = NULL
)

Arguments

data

A data frame.

income_var

Household per-capita income variable.

area_var

Urban/rural domain variable.

weight_var

Survey expansion factor variable.

psu_var

Primary sampling unit variable.

strata_var

Survey strata variable.

required_vars

Optional additional required variables.

Value

A tibble with one row per required variable and a preflight_passed attribute.