Skip to contents

Retrieves one auditable poverty-line row for a period and line type. In strict mode, the function refuses pending, missing, non-positive, or non-traceable poverty lines.

Usage

enemdu_get_poverty_line(
  period,
  line_type = c("poverty", "extreme_poverty"),
  registry = enemdu_poverty_line_registry(),
  mode = c("strict", "allow_pending")
)

Arguments

period

Period identifier, for example "2024-12".

line_type

One of "poverty" or "extreme_poverty".

registry

Poverty-line registry. Defaults to the package registry.

mode

One of "strict" or "allow_pending".

Value

A one-row tibble with the resolved poverty line.