electricsheepafrica/africa-ilo-sdg-b831-sex-eco-rt-sdg-indicator-8-3-1-proportion-of-informal-employm
收藏资源简介:
--- 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 - informal-economy - ilo - labour - employment pretty_name: "SDG indicator 8.3.1 - Proportion of informal employment in total employment by sex and eco | Africa (ILOSTAT)" --- # SDG indicator 8.3.1 - Proportion of informal employment in total employment by sex and eco | Africa (ILOSTAT) 🌍 **2,375 observations** · **23 Africa countries** · **2016–2025** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*      ## TL;DR This dataset contains **2,375 observations** of `Informal economy` data across **23 Africa countries**, spanning **2016–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=SDG_B831_SEX_ECO_RT) - **Publisher:** International Labour Organization (ILO) - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/) - **Topic:** Informal economy ## Methodology Data pulled directly from the ILOSTAT REST API at `https://rplumber.ilo.org/data/indicator?id=SDG_B831_SEX_ECO_RT` 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 23 Africa countries · top rows shown below, sorted by row count: | Country | Rows | First year | Last year | |---------|-----:|-----------:|----------:| | `RWA` | 324 | 2017 | 2025 | | `ZMB` | 285 | 2017 | 2024 | | `AGO` | 264 | 2019 | 2025 | | `BWA` | 246 | 2019 | 2024 | | `ZWE` | 202 | 2019 | 2024 | | `UGA` | 118 | 2017 | 2021 | | `GMB` | 112 | 2018 | 2025 | | `SWZ` | 80 | 2021 | 2023 | | `TZA` | 80 | 2020 | 2024 | | `SYC` | 76 | 2023 | 2024 | | `CIV` | 76 | 2016 | 2019 | | `LSO` | 72 | 2019 | 2024 | | `MDG` | 42 | 2022 | 2022 | | `COM` | 42 | 2021 | 2021 | | `EGY` | 42 | 2024 | 2024 | | ... | _8 more countries_ | | | ## Indicators (sample) - `SDG_B831_SEX_ECO_RT` — SDG indicator 8.3.1 - Proportion of informal employment in total employment by sex and economic activity -- 19th ICLS (%) ## 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 | `SDG_B831_SEX_ECO_RT` | | `indicator.label` | `string` | Indicator name in English | `SDG indicator 8.3.1 - Proportion of i…` | | `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.) | `ECO_SECTOR_TOTAL` | | `classif1.label` | `string` | — | `Economic activity (Broad sector): Total` | | `time` | `int64` | Observation year | `2025` | | `obs_value` | `float64` | Observed indicator value (unit varies — see indicator definition) | `94.09` | | `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-sdg-b831-sex-eco-rt-sdg-indicator-8-3-1-proportion-of-informal-employm") 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"] == "SDG_B831_SEX_ECO_RT"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="SDG_B831_SEX_ECO_RT") ``` ### Pivot to country × year matrix ```python matrix = (df[df["indicator"] == "SDG_B831_SEX_ECO_RT"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ``` ## Citation ```bibtex @misc{africa_ilo_sdg_b831_sex_eco_rt_sdg_indicator_8_3_1_proportion_of_informal_employm_2025, title = {SDG indicator 8.3.1 - Proportion of informal employment in total employment by sex and eco | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=SDG_B831_SEX_ECO_RT}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-sdg-b831-sex-eco-rt-sdg-indicator-8-3-1-proportion-of-informal-employm}} } ``` ## 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=SDG_B831_SEX_ECO_RT_
This dataset contains informal employment data for 23 African countries from 2016 to 2025, specifically focusing on the United Nations Sustainable Development Goal (SDG) indicator 8.3.1, which measures the proportion of informal employment in total employment by sex and economic activity. It includes 2,375 observations covering one core indicator (SDG_B831_SEX_ECO_RT). The data is sourced from the International Labour Organization (ILO) ILOSTAT database, retrieved via its REST API and filtered to include only African countries. The dataset is organized in tabular format with columns such as country code (ref_area), country name (ref_area.label), data source (source.label), indicator code (indicator), sex disaggregation (sex), year (time), observed value (obs_value), and others, enabling detailed analysis by country, year, and sex. The data is harmonized by ILO using International Conference of Labour Statisticians (ICLS) definitions and includes quality flags (e.g., unreliable data). It is suitable for machine learning tasks like tabular classification, regression, and time-series forecasting, providing a structured and accessible resource for studying Africas labor market and informal economy.




