explore-livelihood / README.md
ahalgh's picture
Explore Livelihood v1: six countries (KE, MW, NG, SO, UG, GT) with WorldPop 2020 population
8bf7a03 verified
|
Raw History Blame Contribute Delete
10.6 kB
metadata
pretty_name: >-
  Explore Livelihood, structured FEWS NET livelihood zone profiles (Kenya,
  Malawi, Nigeria, Somalia, Uganda, Guatemala)
license: cc-by-4.0
language:
  - en
tags:
  - food-security
  - livelihoods
  - household-economy-approach
  - fews-net
  - famine-early-warning
size_categories:
  - n<1K
configs:
  - config_name: zones
    default: true
    data_files: data/zones.parquet
  - config_name: wealth_groups
    data_files: data/wealth_groups.parquet
  - config_name: shares
    data_files: data/shares.parquet
  - config_name: documents
    data_files: data/documents.parquet
  - config_name: map_links
    data_files: data/map_links.parquet
  - config_name: map_zones
    data_files: data/map_zones.parquet
  - config_name: map_zone_groups
    data_files: data/map_zone_groups.parquet

Explore Livelihood: FEWS NET livelihood zone profiles, structured

Structured features extracted from 27 FEWS NET livelihood zone reports (profiles, descriptions, baselines and fact sheets, 2005–2024) for six countries: how households in each livelihood zone get their food and cash, by wealth group, plus seasonal calendars, hazards, coping strategies, markets and migration. 252 zone records, 613 wealth-group rows and 5,697 food / income / expenditure shares. Built 2026-11-20.

The source reports are PDFs published by the Famine Early Warning Systems Network (FEWS NET, fews.net). This dataset is a derived, machine-readable version of them and is not an official FEWS NET product.

Coverage

Country Reports Zone records Records with shares Current map zones with a profile
Guatemala 3 34 34 13
Kenya 1 24 24 24
Malawi 2 28 28 18
Nigeria 5 81 33 36
Somalia 14 42 42 16
Uganda 2 43 0 40

161 of the 252 zone records carry quantified food or income shares; the rest come from descriptive reports that profile a zone in words (crops, seasons, hazards, markets) without wealth-group percentages. 147 zones of the current FEWS NET livelihood zone maps link to at least one record (primary matches: code 91, name_older_map 42, approximate 9, name 5).

Tables

Config One row per Key columns
documents source report doc_id, country, doc_type, doc_date, url, language, reference_year
zones report × zone record_id, zone_code, zone_name, livelihood_system, crops, livestock, rainfall, month lists, hazards, coping, markets, fnids, shown_on_current_map
wealth_groups report × zone × wealth group group, group_label, household share, size, land, livestock, cash income, HEA thresholds, food_total, income_total, expenditure_total, quality_flags
shares report × zone × wealth group × category domain (food / income / expenditure), category, low, high, mid, evidence
map_links record × map zone fnid, map_code, map_version, match, match_note, is_primary
map_zones current map zone fnid, population_2020, area_km2, density_per_km2, pop_weighted_density, urban_share, primary_record_id
map_zone_groups current map zone × wealth group people_share, people_2020, food_purchase_pct, food_own_production_pct, income_labour_pct, income_remittances_pct

data/records.jsonl holds the full nested records as extracted (one JSON object per zone record).

Join shares and wealth_groups to zones on record_id (and group_index), and zones to documents on doc_id. A zone can appear in several reports (different years or report types); map_links.is_primary marks the record used for each current map zone (a hand-checked crosswalk match, else the record with a full wealth breakdown and shares, else the newest report).

Population

map_zones gives each zone of the current FEWS NET maps its 2020 population from WorldPop (1 km, UN-adjusted counts; the cells whose centre falls in the zone), its area, its density, its population-weighted density (the density of the cell the average resident lives in, which is not diluted by empty land) and urban_share, the share of residents in cells of 1,500 or more people per km² (a simple urban proxy).

Country Map zones Population 2020 (M) In zones with a profile (M) Split by wealth group (M)
Guatemala 13 17.9 17.9 17.9
Kenya 24 53.4 53.4 1.3
Malawi 19 18.8 15.7 15.7
Nigeria 36 205.5 205.5 54.9
Somalia 19 15.8 13.2 13.2
Uganda 42 45.4 39.7 0.0

map_zone_groups estimates how many people belong to each wealth group of each zone: the zone's population times the group's share of people, where a group's share of people is its share of households times its household size, normalised over the zone's groups (people_share_method says when household sizes were missing and households alone were used). It also repeats each group's key exposures from shares: food bought, food from own production, cash income from casual labour and from remittances (percent; the income columns are left empty when the group's income breakdown covers less than 80% of income). This is the table to answer "how many very poor people depend on markets for most of their food" in a zone or country.

Caveats: population is for 2020 while wealth breakdowns describe each report's reference year; household shares are zone-wide survey estimates applied uniformly; zones whose profile gives no wealth breakdown (all of Uganda's, most of Nigeria's 2018 descriptions) have population but no people-by-group rows.

Units and categories

  • Food shares are percent of minimum annual food energy needs (2,100 kcal per person per day); better-off groups can exceed 100 in total. Income shares are percent of annual cash income; expenditure shares percent of annual cash expenditure.
  • Food categories: own_crops, own_livestock, purchase, payment_in_kind, wild_food_fishing_hunting, food_aid, gifts_other. Income: crop_sales, livestock_sales, agricultural_labor, other_casual_labor, formal_employment, remittances, self_employment_trade, natural_resources, transfers, other. Expenditure: staple_food, non_staple_food, household_items, water, inputs, social_services, clothing, other.
  • Wealth groups: very poor, poor, middle, better off (or all where a report gives only zone-level figures). Five-group reports map lower and upper middle to two middle rows, labelled in group_label.
  • Months are 1–12. Cash amounts are per household per year in the zone's currency (ISO 4217, except SLS for the Somaliland shilling).

Evidence

Every share records how it was obtained:

evidence Shares
chart_visual 3,821
stated 1,243
chart_text 592
inferred 41
  • stated: written in the report's text or tables.
  • chart_text: printed as a data label on the report's chart.
  • chart_visual: measured from the chart. Vector charts were measured from the PDF drawing (band ±1 point); raster charts were read from the image (±1 to ±2.5 points). low/high carry the band.
  • inferred: quantified wording only ("about half" → 50).

How it was made

Reports were downloaded from fews.net and split into zone sections (page ranges). Each section was read by a Claude model following a fixed brief (scripts/livelihood_agent_brief.md in the source repository), which fills a typed schema (famine/livelihood.py). Values come only from the report, never from general knowledge. Stacked bar charts were measured from the PDF's vector geometry where possible (scripts/chart_bars.py). Every record passes schema validation. When a report's text and chart disagree, the text wins where it states that exact value, and the conflict is described in the zone's notes.

Cleaning applied in this release:

  • currency code normalised: 1
  • income share capped at 100: 3
  • month lists sorted / de-duplicated: 153

Known limitations

  • Livelihood baselines describe a reference year (often several years before the report date) and do not track change since.
  • Category mapping is a judgement where report categories mix (e.g. "self-employment" that is mostly firewood sales). Each record's notes says where this happened.
  • Chart readings carry measurement error (see low/high). Some reports contradict themselves between text, tables and charts, and some quote only a few items. wealth_groups.quality_flags marks totals that stray from 100: <domain>_incomplete when the shares cover less than the whole (below 90, or below 80 for food), <domain>_over when they add up to more than 110 (150 for food, where better-off groups legitimately exceed 100):
    • income_incomplete: 33 wealth groups
    • food_incomplete: 11 wealth groups
    • expenditure_incomplete: 7 wealth groups
    • income_over: 5 wealth groups
  • Guatemala's 2010 profiles chart only maize and bean sources, not total food, so their food shares are left empty and summarised in notes (documents.staple_only_food_charts).
  • Older zonings (e.g. Uganda 2010, Somalia 2009–2011) are linked to current map zones by name; map_links.match is name_older_map or approximate for these, with the reasoning in match_note.
  • Zone records extracted by a model may still contain errors. Check important values against the source PDF (documents.url, pages in zones.first_page/last_page).

Source and citation

Source reports: Famine Early Warning Systems Network (FEWS NET), https://fews.net. Cite FEWS NET as the source of the underlying data and this dataset for the structured extraction.

Population: WorldPop (www.worldpop.org), Global 2000-2020 1km UN-adjusted population counts, 2020, CC BY 4.0. Livelihood zone boundaries: FEWS NET livelihood zone maps (versions in map_zones.map_version).

Suggested attribution: "Livelihood zone data from the Famine Early Warning Systems Network (FEWS NET), https://fews.net, structured in the Explore Livelihood dataset; population from WorldPop (www.worldpop.org)."

License

Released under CC BY 4.0. Reuse requires attribution of the original sources, per FEWS NET's data use and attribution policy and WorldPop's CC BY 4.0 licence; pass that attribution on to anyone you share the data with. This dataset is not produced or endorsed by FEWS NET or WorldPop, and comes with no warranty.