Datasets:
Add README.md
Browse files
README.md
CHANGED
|
@@ -1,36 +1,146 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: country_name
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: country_iso3
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: year
|
| 9 |
-
dtype: int64
|
| 10 |
-
- name: indicator_name
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: indicator_code
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: value
|
| 15 |
-
dtype: float64
|
| 16 |
-
- name: esa_source
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: esa_processed
|
| 19 |
-
dtype: string
|
| 20 |
splits:
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
num_bytes: 2423
|
| 26 |
-
num_examples: 20
|
| 27 |
-
download_size: 9996
|
| 28 |
-
dataset_size: 12291
|
| 29 |
-
configs:
|
| 30 |
-
- config_name: default
|
| 31 |
-
data_files:
|
| 32 |
-
- split: train
|
| 33 |
-
path: data/train-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/test-*
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-regression
|
| 17 |
+
task_ids: []
|
| 18 |
+
tags:
|
| 19 |
+
- africa
|
| 20 |
+
- humanitarian
|
| 21 |
+
- hdx
|
| 22 |
+
- electric-sheep-africa
|
| 23 |
+
- indicators
|
| 24 |
+
- poverty
|
| 25 |
+
- tza
|
| 26 |
+
pretty_name: "Tanzania - Poverty"
|
| 27 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
splits:
|
| 29 |
+
- name: train
|
| 30 |
+
num_examples: 79
|
| 31 |
+
- name: test
|
| 32 |
+
num_examples: 19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
---
|
| 34 |
+
|
| 35 |
+
# Tanzania - Poverty
|
| 36 |
+
|
| 37 |
+
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-poverty-indicators-for-tanzania) · **License:** `cc-by` · **Updated:** 2026-03-27
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## Abstract
|
| 42 |
+
|
| 43 |
+
Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-tanzania) on HDX.
|
| 44 |
+
|
| 45 |
+
For countries with an active poverty monitoring program, the World Bank—in collaboration with national institutions, other development agencies, and civil society—regularly conducts analytical work to assess the extent and causes of poverty and inequality, examine the impact of growth and public policy, and review household survey data and measurement methods. Data here includes poverty and inequality measures generated from analytical reports, from national poverty monitoring programs, and from the World Bank’s Development Research Group which has been producing internationally comparable and global poverty estimates and lines since 1990.
|
| 46 |
+
|
| 47 |
+
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **TZA**.
|
| 48 |
+
|
| 49 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Dataset Characteristics
|
| 54 |
+
|
| 55 |
+
| | |
|
| 56 |
+
|---|---|
|
| 57 |
+
| **Domain** | Poverty and economic vulnerability |
|
| 58 |
+
| **Unit of observation** | Country-level aggregates |
|
| 59 |
+
| **Rows (total)** | 99 |
|
| 60 |
+
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
|
| 61 |
+
| **Train split** | 79 rows |
|
| 62 |
+
| **Test split** | 19 rows |
|
| 63 |
+
| **Geographic scope** | TZA |
|
| 64 |
+
| **Publisher** | World Bank Group |
|
| 65 |
+
| **HDX last updated** | 2026-03-27 |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## Variables
|
| 70 |
+
|
| 71 |
+
**Geographic** — `country_name` (Tanzania), `country_iso3` (TZA), `year` (range 1991.0–2022.0).
|
| 72 |
+
|
| 73 |
+
**Outcome / Measurement** — `value` (range -0.15–99.4).
|
| 74 |
+
|
| 75 |
+
**Identifier / Metadata** — `indicator_name` (Population living in slums (% of urban population), Poverty headcount ratio at national poverty lines (% of population), Poverty headcount ratio at $3.00 a day (2021 PPP) (% of population)), `indicator_code` (EN.POP.SLUM.UR.ZS, SI.POV.NAHC, SI.POV.DDAY), `esa_source` (HDX), `esa_processed` (2026-04-12).
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Quick Start
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
|
| 84 |
+
ds = load_dataset("electricsheepafrica/africa-world-bank-poverty-indicators-for-tanzania")
|
| 85 |
+
train = ds["train"].to_pandas()
|
| 86 |
+
test = ds["test"].to_pandas()
|
| 87 |
+
|
| 88 |
+
print(train.shape)
|
| 89 |
+
train.head()
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## Schema
|
| 95 |
+
|
| 96 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 97 |
+
|---|---|---|---|
|
| 98 |
+
| `country_name` | object | 0.0% | Tanzania |
|
| 99 |
+
| `country_iso3` | object | 0.0% | TZA |
|
| 100 |
+
| `year` | int64 | 0.0% | 1991.0 – 2022.0 (mean 2006.8182) |
|
| 101 |
+
| `indicator_name` | object | 0.0% | Population living in slums (% of urban population), Poverty headcount ratio at national poverty lines (% of population), Poverty headcount ratio at $3.00 a day (2021 PPP) (% of population) |
|
| 102 |
+
| `indicator_code` | object | 0.0% | EN.POP.SLUM.UR.ZS, SI.POV.NAHC, SI.POV.DDAY |
|
| 103 |
+
| `value` | float64 | 0.0% | -0.15 – 99.4 (mean 37.5232) |
|
| 104 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 105 |
+
| `esa_processed` | object | 0.0% | 2026-04-12 |
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
|
| 109 |
+
## Numeric Summary
|
| 110 |
+
|
| 111 |
+
| Column | Min | Max | Mean | Median |
|
| 112 |
+
|---|---|---|---|---|
|
| 113 |
+
| `year` | 1991.0 | 2022.0 | 2006.8182 | 2007.0 |
|
| 114 |
+
| `value` | -0.15 | 99.4 | 37.5232 | 33.1 |
|
| 115 |
+
|
| 116 |
+
---
|
| 117 |
+
|
| 118 |
+
## Curation
|
| 119 |
+
|
| 120 |
+
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Limitations
|
| 125 |
+
|
| 126 |
+
- Data originates from World Bank Group and has not been independently validated by ESA.
|
| 127 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 128 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-poverty-indicators-for-tanzania) for the publisher's own methodology notes and caveats.
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Citation
|
| 133 |
+
|
| 134 |
+
```bibtex
|
| 135 |
+
@dataset{hdx_africa_world_bank_poverty_indicators_for_tanzania,
|
| 136 |
+
title = {Tanzania - Poverty},
|
| 137 |
+
author = {World Bank Group},
|
| 138 |
+
year = {2026},
|
| 139 |
+
url = {https://data.humdata.org/dataset/world-bank-poverty-indicators-for-tanzania},
|
| 140 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 141 |
+
}
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|