electricsheepafrica/africa-ilo-pop-xwap-sex-geo-lms-nb-working-age-population-by-sex-rural-urban-areas-an
收藏资源简介:
--- license: cc-by-4.0 language: - en task_categories: - tabular-classification - tabular-regression - time-series-forecasting multilinguality: monolingual size_categories: - 1K<n<10K tags: - tabular - africa - ilostat - population - ilo - labour - employment pretty_name: "Working-age population by sex, rural / urban areas and labour market status (thousands) | Africa (ILOSTAT)" --- # Working-age population by sex, rural / urban areas and labour market status (thousands) | Africa (ILOSTAT) 🌍 **8,788 observations** · **45 Africa countries** · **1994–2025** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*      ## TL;DR This dataset contains **8,788 observations** of `Population` data across **45 Africa countries**, spanning **1994–2025**, covering **1 distinct indicators**. ## About the source **ILOSTAT** is the ILO's central statistics database, the leading global source for labour statistics. It compiles indicators across employment, unemployment, wages, working time, child labour, informal economy, social protection, occupational injuries, and SDG decent work targets — drawing on national labour force surveys, household income surveys, establishment surveys, and administrative records. Coverage spans 200+ economies, with the ILO's Department of Statistics responsible for harmonisation. - **Source:** [ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_GEO_LMS_NB) - **Publisher:** International Labour Organization (ILO) - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/) - **Topic:** Population ## Methodology Data pulled directly from the ILOSTAT REST API at `https://rplumber.ilo.org/data/indicator?id=POP_XWAP_SEX_GEO_LMS_NB` and filtered to Africa ISO3 country codes. ILOSTAT harmonises raw survey microdata using ICLS (International Conference of Labour Statisticians) definitions; sources are flagged in the `source.label` column for traceability. ## Geographic coverage 45 Africa countries · top rows shown below, sorted by row count: | Country | Rows | First year | Last year | |---------|-----:|-----------:|----------:| | `ZAF` | 624 | 2008 | 2024 | | `EGY` | 612 | 2008 | 2024 | | `TUN` | 576 | 2006 | 2023 | | `AGO` | 407 | 2004 | 2025 | | `MLI` | 396 | 2013 | 2024 | | `GHA` | 360 | 2000 | 2024 | | `RWA` | 360 | 2014 | 2025 | | `ZMB` | 336 | 2015 | 2024 | | `SEN` | 288 | 2011 | 2024 | | `NAM` | 252 | 1994 | 2018 | | `UGA` | 252 | 2010 | 2021 | | `NGA` | 252 | 2011 | 2024 | | `ZWE` | 252 | 2011 | 2024 | | `TZA` | 251 | 2001 | 2020 | | `KEN` | 216 | 1999 | 2022 | | ... | _30 more countries_ | | | ## Indicators (sample) - `POP_XWAP_SEX_GEO_LMS_NB` — Working-age population by sex, rural / urban areas and labour market status (thousands) ## Schema | Column | Type | Description | Example | |--------|------|-------------|---------| | `ref_area` | `string` | ISO 3166-1 alpha-3 country code | `AGO` | | `ref_area.label` | `string` | Country name in English | `Angola` | | `source` | `string` | ILOSTAT source code (e.g. labour force survey) | `BA:13951` | | `source.label` | `string` | Source name in English | `LFS - Employment Survey` | | `indicator` | `string` | ILOSTAT indicator code | `POP_XWAP_SEX_GEO_LMS_NB` | | `indicator.label` | `string` | Indicator name in English | `Working-age population by sex, rural …` | | `sex` | `string` | Disaggregation by sex (SEX_T = total, SEX_M = male, SEX_F = female) | `SEX_T` | | `sex.label` | `string` | — | `Total` | | `classif1` | `string` | First classification variable (age, education, status, etc.) | `GEO_COV_NAT` | | `classif1.label` | `string` | — | `Area type: National` | | `classif2` | `string` | Second classification variable where applicable | `LMS_STATUS_TOTAL` | | `classif2.label` | `string` | — | `Labour market status: Total` | | `time` | `int64` | Observation year | `2025` | | `obs_value` | `float64` | Observed indicator value (unit varies — see indicator definition) | `20993.124` | | `obs_status` | `string` | Observation status flag (e.g. provisional, unreliable) | `U` | | `obs_status.label` | `string` | — | `Unreliable` | | `note_classif` | `float64` | — | `—` | | `note_classif.label` | `float64` | — | `—` | | `note_indicator` | `string` | — | `I11:264` | | `note_indicator.label` | `string` | — | `Break in series: Methodology revised` | | `note_source` | `string` | — | `R1:3513` | | `note_source.label` | `string` | — | `Repository: ILO-STATISTICS - Micro da…` | ## Disaggregation dimensions The following columns provide disaggregation dimensions: - **`sex`** (3 unique values): `SEX_T`, `SEX_M`, `SEX_F` ## Data quality & caveats - Data is annual frequency. Some indicators also publish monthly or quarterly series — those are not included here. - When an indicator has multiple sources for the same country×year, the ILO-selected 'best source' is used. - Disaggregation columns (`sex`, `classif1`, `classif2`) are non-null only when the indicator publishes that breakdown. ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ilo-pop-xwap-sex-geo-lms-nb-working-age-population-by-sex-rural-urban-areas-an") df = ds["train"].to_pandas() print(df.head()) ``` ### Filter to one country ```python kenya = df[df["ref_area"] == "KEN"] ``` ### Time-series for a single indicator ```python sample = (df[df["indicator"] == "POP_XWAP_SEX_GEO_LMS_NB"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="POP_XWAP_SEX_GEO_LMS_NB") ``` ### Pivot to country × year matrix ```python matrix = (df[df["indicator"] == "POP_XWAP_SEX_GEO_LMS_NB"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ``` ## Citation ```bibtex @misc{africa_ilo_pop_xwap_sex_geo_lms_nb_working_age_population_by_sex_rural_urban_areas_an_2025, title = {Working-age population by sex, rural / urban areas and labour market status (thousands) | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_GEO_LMS_NB}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-pop-xwap-sex-geo-lms-nb-working-age-population-by-sex-rural-urban-areas-an}} } ``` ## License Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/). Original data © International Labour Organization (ILO). When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging. ## About Electric Sheep Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on HuggingFace. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use `load_dataset()` to start working in seconds. Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica) --- _Provenance: ingested 2026-05-26 via the Electric Sheep pipeline. Source URL: https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_GEO_LMS_NB_
This dataset contains working-age population statistics for African countries from the International Labour Organization (ILO) ILOSTAT database. It comprises 8,788 observations across 45 African countries spanning the years 1994 to 2025. The core indicator is POP_XWAP_SEX_GEO_LMS_NB, which represents the working-age population (in thousands) disaggregated by sex (total, male, female), rural/urban area type (e.g., national, urban, rural), and labour market status (e.g., total, employed, unemployed). Data is provided at annual frequency and includes columns for country code, country name, data source, indicator code, sex classification, geographic classification, labour market status classification, observation year, observed value, observation status flags, and relevant notes. The dataset has been repackaged by Electric Sheep Africa as part of a unified, ML-ready data layer for Africa.




