Kossisoroyce commited on
Commit
c042417
·
verified ·
1 Parent(s): 0b72e59

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -32
README.md CHANGED
@@ -1,36 +1,147 @@
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
- - name: train
22
- num_bytes: 65515
23
- num_examples: 513
24
- - name: test
25
- num_bytes: 16676
26
- num_examples: 129
27
- download_size: 16241
28
- dataset_size: 82191
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-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - development
25
+ - indicators
26
+ - moz
27
+ pretty_name: "Mozambique - Urban Development"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 513
32
+ - name: test
33
+ num_examples: 128
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Mozambique - Urban Development
37
+
38
+ **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-urban-development-indicators-for-mozambique) · **License:** `cc-by` · **Updated:** 2026-03-27
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ 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-mozambique) on HDX.
45
+
46
+ Cities can be tremendously efficient. It is easier to provide water and sanitation to people living closer together, while access to health, education, and other social and cultural services is also much more readily available. However, as cities grow, the cost of meeting basic needs increases, as does the strain on the environment and natural resources. Data on urbanization, traffic and congestion, and air pollution are from the United Nations Population Division, World Health Organization, International Road Federation, World Resources Institute, and other sources.
47
+
48
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **MOZ**.
49
+
50
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
51
+
52
+ ---
53
+
54
+ ## Dataset Characteristics
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Domain** | Public health |
59
+ | **Unit of observation** | Country-level aggregates |
60
+ | **Rows (total)** | 642 |
61
+ | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
62
+ | **Train split** | 513 rows |
63
+ | **Test split** | 128 rows |
64
+ | **Geographic scope** | MOZ |
65
+ | **Publisher** | World Bank Group |
66
+ | **HDX last updated** | 2026-03-27 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country_name` (Mozambique), `country_iso3` (MOZ), `year` (range 1960.0–2025.0).
73
+
74
+ **Outcome / Measurement** — `value` (range 0.0103–12617472.0).
75
+
76
+ **Identifier / Metadata** — `indicator_name` (Population in the largest city (% of urban population), Population in largest city, Population in urban agglomerations of more than 1 million), `indicator_code` (EN.URB.LCTY.UR.ZS, EN.URB.LCTY, EN.URB.MCTY), `esa_source` (HDX), `esa_processed` (2026-04-12).
77
+
78
+ ---
79
+
80
+ ## Quick Start
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("electricsheepafrica/africa-world-bank-urban-development-indicators-for-mozambique")
86
+ train = ds["train"].to_pandas()
87
+ test = ds["test"].to_pandas()
88
+
89
+ print(train.shape)
90
+ train.head()
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Schema
96
+
97
+ | Column | Type | Null % | Range / Sample Values |
98
+ |---|---|---|---|
99
+ | `country_name` | object | 0.0% | Mozambique |
100
+ | `country_iso3` | object | 0.0% | MOZ |
101
+ | `year` | int64 | 0.0% | 1960.0 – 2025.0 (mean 1995.1978) |
102
+ | `indicator_name` | object | 0.0% | Population in the largest city (% of urban population), Population in largest city, Population in urban agglomerations of more than 1 million |
103
+ | `indicator_code` | object | 0.0% | EN.URB.LCTY.UR.ZS, EN.URB.LCTY, EN.URB.MCTY |
104
+ | `value` | float64 | 0.0% | 0.0103 – 12617472.0 (mean 662059.4702) |
105
+ | `esa_source` | object | 0.0% | HDX |
106
+ | `esa_processed` | object | 0.0% | 2026-04-12 |
107
+
108
+ ---
109
+
110
+ ## Numeric Summary
111
+
112
+ | Column | Min | Max | Mean | Median |
113
+ |---|---|---|---|---|
114
+ | `year` | 1960.0 | 2025.0 | 1995.1978 | 1998.0 |
115
+ | `value` | 0.0103 | 12617472.0 | 662059.4702 | 30.137 |
116
+
117
+ ---
118
+
119
+ ## Curation
120
+
121
+ 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.
122
+
123
+ ---
124
+
125
+ ## Limitations
126
+
127
+ - Data originates from World Bank Group and has not been independently validated by ESA.
128
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
129
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-urban-development-indicators-for-mozambique) for the publisher's own methodology notes and caveats.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ ```bibtex
136
+ @dataset{hdx_africa_world_bank_urban_development_indicators_for_mozambique,
137
+ title = {Mozambique - Urban Development},
138
+ author = {World Bank Group},
139
+ year = {2026},
140
+ url = {https://data.humdata.org/dataset/world-bank-urban-development-indicators-for-mozambique},
141
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
142
+ }
143
+ ```
144
+
145
+ ---
146
+
147
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*