Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,52 +1,164 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: classif1.label
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: time
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: obs_value
|
| 27 |
-
dtype: float64
|
| 28 |
-
- name: obs_status
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: obs_status.label
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: note_classif
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: note_classif.label
|
| 35 |
-
dtype: string
|
| 36 |
-
splits:
|
| 37 |
-
- name: train
|
| 38 |
-
num_bytes: 472516
|
| 39 |
-
num_examples: 1315
|
| 40 |
-
- name: test
|
| 41 |
-
num_bytes: 116698
|
| 42 |
-
num_examples: 329
|
| 43 |
-
download_size: 31140
|
| 44 |
-
dataset_size: 589214
|
| 45 |
-
configs:
|
| 46 |
-
- config_name: default
|
| 47 |
-
data_files:
|
| 48 |
-
- split: train
|
| 49 |
-
path: data/train-*
|
| 50 |
-
- split: test
|
| 51 |
-
path: data/test-*
|
| 52 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- tabular-regression
|
| 8 |
+
- time-series-forecasting
|
| 9 |
+
multilinguality: monolingual
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
tags:
|
| 13 |
+
- tabular
|
| 14 |
+
- africa
|
| 15 |
+
- ilostat
|
| 16 |
+
- social-protection
|
| 17 |
+
- ilo
|
| 18 |
+
- labour
|
| 19 |
+
- employment
|
| 20 |
+
pretty_name: "SDG indicator 1.3.1 - Proportion of population covered by social protection floors/systems | Africa (ILOSTAT)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
+
|
| 23 |
+
# SDG indicator 1.3.1 - Proportion of population covered by social protection floors/systems | Africa (ILOSTAT)
|
| 24 |
+
|
| 25 |
+
🌍 **1,644 observations** · **54 Africa countries** · **2000–2024** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 26 |
+
|
| 27 |
+
    
|
| 28 |
+
|
| 29 |
+
## TL;DR
|
| 30 |
+
|
| 31 |
+
This dataset contains **1,644 observations** of `Social protection` data across **54 Africa countries**, spanning **2000–2024**, covering **1 distinct indicators**.
|
| 32 |
+
|
| 33 |
+
## About the source
|
| 34 |
+
|
| 35 |
+
**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.
|
| 36 |
+
|
| 37 |
+
- **Source:** [ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=SDG_0131_SEX_SOC_RT)
|
| 38 |
+
- **Publisher:** International Labour Organization (ILO)
|
| 39 |
+
- **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 40 |
+
- **Topic:** Social protection
|
| 41 |
+
|
| 42 |
+
## Methodology
|
| 43 |
+
|
| 44 |
+
Data pulled directly from the ILOSTAT REST API at `https://rplumber.ilo.org/data/indicator?id=SDG_0131_SEX_SOC_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.
|
| 45 |
+
|
| 46 |
+
## Geographic coverage
|
| 47 |
+
|
| 48 |
+
54 Africa countries · top rows shown below, sorted by row count:
|
| 49 |
+
|
| 50 |
+
| Country | Rows | First year | Last year |
|
| 51 |
+
|---------|-----:|-----------:|----------:|
|
| 52 |
+
| `CPV` | 130 | 2000 | 2023 |
|
| 53 |
+
| `MRT` | 75 | 2000 | 2024 |
|
| 54 |
+
| `ETH` | 55 | 2002 | 2024 |
|
| 55 |
+
| `EGY` | 54 | 2014 | 2022 |
|
| 56 |
+
| `MOZ` | 54 | 2000 | 2022 |
|
| 57 |
+
| `NGA` | 54 | 2015 | 2022 |
|
| 58 |
+
| `RWA` | 43 | 2000 | 2023 |
|
| 59 |
+
| `SSD` | 40 | 2019 | 2023 |
|
| 60 |
+
| `STP` | 40 | 2000 | 2022 |
|
| 61 |
+
| `MLI` | 40 | 2000 | 2022 |
|
| 62 |
+
| `GHA` | 40 | 2000 | 2023 |
|
| 63 |
+
| `CMR` | 40 | 2000 | 2022 |
|
| 64 |
+
| `BFA` | 39 | 2000 | 2022 |
|
| 65 |
+
| `KEN` | 38 | 2000 | 2022 |
|
| 66 |
+
| `BWA` | 37 | 2000 | 2022 |
|
| 67 |
+
| ... | _39 more countries_ | | |
|
| 68 |
+
|
| 69 |
+
## Indicators (sample)
|
| 70 |
+
|
| 71 |
+
- `SDG_0131_SEX_SOC_RT` — SDG indicator 1.3.1 - Proportion of population covered by social protection floors/systems by sex and function (%)
|
| 72 |
+
|
| 73 |
+
## Schema
|
| 74 |
+
|
| 75 |
+
| Column | Type | Description | Example |
|
| 76 |
+
|--------|------|-------------|---------|
|
| 77 |
+
| `ref_area` | `string` | ISO 3166-1 alpha-3 country code | `AGO` |
|
| 78 |
+
| `ref_area.label` | `string` | Country name in English | `Angola` |
|
| 79 |
+
| `source` | `string` | ILOSTAT source code (e.g. labour force survey) | `XA:6579` |
|
| 80 |
+
| `source.label` | `string` | Source name in English | `ILO - Social Security Inquiry Database` |
|
| 81 |
+
| `indicator` | `string` | ILOSTAT indicator code | `SDG_0131_SEX_SOC_RT` |
|
| 82 |
+
| `indicator.label` | `string` | Indicator name in English | `SDG indicator 1.3.1 - Proportion of p…` |
|
| 83 |
+
| `sex` | `string` | Disaggregation by sex (SEX_T = total, SEX_M = male, SEX_F = female) | `SEX_T` |
|
| 84 |
+
| `sex.label` | `string` | — | `Total` |
|
| 85 |
+
| `classif1` | `string` | First classification variable (age, education, status, etc.) | `SOC_CONTIG_TOTAL` |
|
| 86 |
+
| `classif1.label` | `string` | — | `Function: Population covered by at le…` |
|
| 87 |
+
| `time` | `int64` | Observation year | `2022` |
|
| 88 |
+
| `obs_value` | `float64` | Observed indicator value (unit varies — see indicator definition) | `8.7` |
|
| 89 |
+
| `obs_status` | `string` | Observation status flag (e.g. provisional, unreliable) | `—` |
|
| 90 |
+
| `obs_status.label` | `string` | — | `—` |
|
| 91 |
+
| `note_classif` | `string` | — | `C15:6331` |
|
| 92 |
+
| `note_classif.label` | `string` | — | `Social security coverage: National es…` |
|
| 93 |
+
|
| 94 |
+
## Disaggregation dimensions
|
| 95 |
+
|
| 96 |
+
The following columns provide disaggregation dimensions:
|
| 97 |
+
- **`sex`** (3 unique values): `SEX_T`, `SEX_M`, `SEX_F`
|
| 98 |
+
|
| 99 |
+
## Data quality & caveats
|
| 100 |
+
|
| 101 |
+
- Data is annual frequency. Some indicators also publish monthly or quarterly series — those are not included here.
|
| 102 |
+
- When an indicator has multiple sources for the same country×year, the ILO-selected 'best source' is used.
|
| 103 |
+
- Disaggregation columns (`sex`, `classif1`, `classif2`) are non-null only when the indicator publishes that breakdown.
|
| 104 |
+
|
| 105 |
+
## Usage
|
| 106 |
+
|
| 107 |
+
```python
|
| 108 |
+
from datasets import load_dataset
|
| 109 |
+
|
| 110 |
+
ds = load_dataset("electricsheepafrica/africa-ilo-sdg-0131-sex-soc-rt-sdg-indicator-1-3-1-proportion-of-population-cover")
|
| 111 |
+
df = ds["train"].to_pandas()
|
| 112 |
+
print(df.head())
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
### Filter to one country
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
kenya = df[df["ref_area"] == "KEN"]
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
### Time-series for a single indicator
|
| 122 |
+
|
| 123 |
+
```python
|
| 124 |
+
sample = (df[df["indicator"] == "SDG_0131_SEX_SOC_RT"]
|
| 125 |
+
.sort_values("time"))
|
| 126 |
+
sample.plot(x="time", y="obs_value", title="SDG_0131_SEX_SOC_RT")
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
### Pivot to country × year matrix
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
matrix = (df[df["indicator"] == "SDG_0131_SEX_SOC_RT"]
|
| 133 |
+
.pivot_table(index="time", columns="ref_area", values="obs_value"))
|
| 134 |
+
print(matrix.tail())
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
## Citation
|
| 138 |
+
|
| 139 |
+
```bibtex
|
| 140 |
+
@misc{africa_ilo_sdg_0131_sex_soc_rt_sdg_indicator_1_3_1_proportion_of_population_cover_2024,
|
| 141 |
+
title = {SDG indicator 1.3.1 - Proportion of population covered by social protection floors/systems | Africa (ILOSTAT)},
|
| 142 |
+
author = {International Labour Organization (ILO)},
|
| 143 |
+
year = {2024},
|
| 144 |
+
url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=SDG_0131_SEX_SOC_RT},
|
| 145 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 146 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-sdg-0131-sex-soc-rt-sdg-indicator-1-3-1-proportion-of-population-cover}}
|
| 147 |
+
}
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
## License
|
| 151 |
+
|
| 152 |
+
Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 153 |
+
|
| 154 |
+
Original data © International Labour Organization (ILO). When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
|
| 155 |
+
|
| 156 |
+
## About Electric Sheep
|
| 157 |
+
|
| 158 |
+
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.
|
| 159 |
+
|
| 160 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 161 |
+
|
| 162 |
+
---
|
| 163 |
+
|
| 164 |
+
_Provenance: ingested 2026-05-26 via the Electric Sheep pipeline. Source URL: https://www.ilo.org/shinyapps/bulkexplorer/?id=SDG_0131_SEX_SOC_RT_
|