Skip to contents

Runs a local reproducibility workflow for December 2025 income poverty and extreme income poverty estimates. The workflow estimates national and urban/rural domains using explicit published poverty lines, then compares the package estimates against published official benchmarks.

Usage

enemdu_run_poverty_reproducibility(
  data,
  period = "2025-12",
  benchmark_set = "income_poverty_december_2025",
  survey_type = "mensual",
  income_var = "ingtot_pc",
  area_var = "area",
  ids = "upm",
  strata = "estrato",
  weight = "fexp",
  urban_values = c("urban", "urbano", "1", 1),
  rural_values = c("rural", "2", 2),
  poverty_line = 92.4,
  extreme_poverty_line = 52.07,
  line_source = "INEC published ENEMDU poverty and inequality report, December 2025.",
  tolerance_pp = 0.1,
  strict = FALSE,
  run_preflight = TRUE,
  ...
)

Arguments

data

A data frame containing ENEMDU-like microdata.

period

Benchmark period.

benchmark_set

Benchmark set identifier.

survey_type

ENEMDU survey type.

income_var

Household per-capita income variable.

area_var

Urban/rural domain variable.

ids

Primary sampling unit variable passed to enemdu_kpi_income_poverty().

strata

Survey strata variable passed to enemdu_kpi_income_poverty().

weight

Survey expansion factor variable passed to enemdu_kpi_income_poverty().

urban_values

Values in area_var interpreted as urban.

rural_values

Values in area_var interpreted as rural.

poverty_line

Explicit poverty line for the period.

extreme_poverty_line

Explicit extreme poverty line for the period.

line_source

Source note for the explicit poverty lines.

tolerance_pp

Comparison tolerance in percentage points.

strict

Logical. If TRUE, errors when benchmark comparison finds missing estimates or values outside tolerance.

run_preflight

Logical. If TRUE, run input preflight checks first.

...

Additional arguments passed to enemdu_kpi_income_poverty().

Value

A tibble with benchmark comparison rows and reproducibility metadata.

Details

This workflow does not derive poverty lines from CPI, does not commit microdata, and does not constitute official validation by INEC.

Examples

if (FALSE) { # \dontrun{
data <- tibble::tibble(
  idhogar = paste0("h", 1:4),
  hsize = rep(1L, 4),
  upm = 1:4,
  estrato = c(1, 1, 2, 2),
  fexp = rep(1, 4),
  area = c("1", "1", "2", "2"),
  ingtot_pc = c(80, 120, 40, 140)
)

enemdu_run_poverty_reproducibility(data, sample_n_min = 1)
} # }