Olaroti commited on
Commit
7ccaf8d
·
verified ·
1 Parent(s): 23c5741

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +103 -123
README.md CHANGED
@@ -1,166 +1,146 @@
1
  ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
  language:
7
  - en
8
- license: other
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
- - other
19
- task_ids: []
 
20
  tags:
21
- - africa
22
- - humanitarian
23
- - hdx
24
- - electric-sheep-africa
25
- - development
26
- - education
27
- - health
28
- - indicators
29
- - mortality
30
- - nutrition
31
- - poverty
32
- - socioeconomics
33
- - nam
34
- pretty_name: "Namibia Multidimensional Poverty Index"
35
- dataset_info:
36
- splits:
37
- - name: train
38
- num_examples: 11
39
- - name: test
40
- num_examples: 2
41
  ---
42
 
43
- # Namibia Multidimensional Poverty Index
44
-
45
- **Publisher:** Oxford Poverty & Human Development Initiative · **Source:** [HDX](https://data.humdata.org/dataset/namibia-mpi) · **License:** `other-pd-nr` · **Updated:** 2026-03-05
46
 
47
- ---
48
 
49
- ## Abstract
 
 
 
50
 
51
- The global Multidimensional Poverty Index provides the only comprehensive measure available for non-income poverty, which has become a critical underpinning of the SDGs. The global Multidimensional Poverty Index (MPI) measures multidimensional poverty in over 100 developing countries, using internationally comparable datasets and is updated annually. The measure captures the acute deprivations that each person faces at the same time using information from 10 indicators, which are grouped into three equally weighted dimensions: health, education, and living standards. Critically, the MPI comprises variables that are already reported under the Demographic Health Surveys (DHS), the Multi-Indicator Cluster Surveys (MICS) and in some cases, national surveys.
52
 
53
- The subnational multidimensional poverty data from the [data tables](https://ophi.org.uk/global-mpi-archive) are published by the Oxford Poverty and Human Development Initiative (OPHI), University of Oxford. For the details of the global MPI methodology, please see the latest Methodological Notes [found here](https://ophi.org.uk/publications-table?title=&field_authors_value=&field_publication_type_target_id=11&publication_year_filter=All&field_keywords_value=&field_country_target_id=All&field_region_target_id=All).
54
 
55
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-05. Geographic scope: **NAM**.
56
 
57
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
58
 
59
- ---
60
 
61
- ## Dataset Characteristics
62
 
63
- | | |
64
  |---|---|
65
- | **Domain** | Public health |
66
- | **Unit of observation** | Country-level aggregates |
67
- | **Rows (total)** | 14 |
68
- | **Columns** | 13 (5 numeric, 6 categorical, 0 datetime) |
69
- | **Train split** | 11 rows |
70
- | **Test split** | 2 rows |
71
- | **Geographic scope** | NAM |
72
- | **Publisher** | Oxford Poverty & Human Development Initiative |
73
- | **HDX last updated** | 2026-03-05 |
74
-
75
- ---
76
-
77
- ## Variables
78
-
79
- **Geographic** — `country_iso3` (NAM), `admin_1_pcode` (NA01, NA02, NA03), `admin_1_name` (Zambezi, Erongo, Hardap), `intensity_of_deprivation` (range 38.4089–49.9575), `vulnerable_to_poverty` (range 11.9064–33.1402) and 2 others.
80
-
81
- **Temporal** — `start_date`, `end_date`.
82
-
83
- **Outcome / Measurement** — `headcount_ratio` (range 11.1518–72.8493).
84
-
85
- **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04).
86
-
87
- **Other** — `mpi` (range 0.0432–0.3508).
88
-
89
- ---
90
-
91
- ## Quick Start
92
 
93
  ```python
94
  from datasets import load_dataset
95
 
96
- ds = load_dataset("electricsheepafrica/africa-namibia-mpi")
97
- train = ds["train"].to_pandas()
98
- test = ds["test"].to_pandas()
99
 
100
- print(train.shape)
101
- train.head()
 
 
102
  ```
103
 
104
- ---
105
 
106
- ## Schema
107
-
108
- | Column | Type | Null % | Range / Sample Values |
109
- |---|---|---|---|
110
- | `country_iso3` | object | 0.0% | NAM |
111
- | `admin_1_pcode` | object | 7.1% | NA01, NA02, NA03 |
112
- | `admin_1_name` | object | 7.1% | Zambezi, Erongo, Hardap |
113
- | `mpi` | float64 | 0.0% | 0.0432 – 0.3508 (mean 0.1817) |
114
- | `headcount_ratio` | float64 | 0.0% | 11.1518 – 72.8493 (mean 39.913) |
115
- | `intensity_of_deprivation` | float64 | 0.0% | 38.4089 – 49.9575 (mean 44.248) |
116
- | `vulnerable_to_poverty` | float64 | 0.0% | 11.9064 – 33.1402 (mean 20.2978) |
117
- | `in_severe_poverty` | float64 | 0.0% | 0.3509 – 34.943 (mean 13.1534) |
118
- | `survey` | object | 0.0% | DHS |
119
- | `start_date` | datetime64[ns, UTC] | 0.0% | |
120
- | `end_date` | datetime64[ns, UTC] | 0.0% | |
121
- | `esa_source` | object | 0.0% | HDX |
122
- | `esa_processed` | object | 0.0% | 2026-04-04 |
123
-
124
- ---
125
-
126
- ## Numeric Summary
127
-
128
- | Column | Min | Max | Mean | Median |
129
- |---|---|---|---|---|
130
- | `mpi` | 0.0432 | 0.3508 | 0.1817 | 0.1907 |
131
- | `headcount_ratio` | 11.1518 | 72.8493 | 39.913 | 42.7672 |
132
- | `intensity_of_deprivation` | 38.4089 | 49.9575 | 44.248 | 44.4403 |
133
- | `vulnerable_to_poverty` | 11.9064 | 33.1402 | 20.2978 | 20.6386 |
134
- | `in_severe_poverty` | 0.3509 | 34.943 | 13.1534 | 11.762 |
135
 
136
- ---
 
 
 
 
137
 
138
- ## Curation
139
 
140
- 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`. 2 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
 
 
 
141
 
142
- ---
143
 
144
- ## Limitations
 
 
 
 
145
 
146
- - Data originates from Oxford Poverty & Human Development Initiative and has not been independently validated by ESA.
147
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
148
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/namibia-mpi) for the publisher's own methodology notes and caveats.
149
 
150
- ---
 
 
 
151
 
152
  ## Citation
153
 
154
  ```bibtex
155
- @dataset{hdx_africa_namibia_mpi,
156
- title = {Namibia Multidimensional Poverty Index},
157
- author = {Oxford Poverty & Human Development Initiative},
158
- year = {2026},
159
- url = {https://data.humdata.org/dataset/namibia-mpi},
160
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
161
  }
162
  ```
163
 
 
 
 
 
 
 
 
 
 
 
164
  ---
165
 
166
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
2
+ license: other
 
 
 
3
  language:
4
  - en
 
 
 
 
 
 
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "health"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "development"
23
+ - "education"
24
+ - "indicators"
25
+ - "mortality"
26
+ - "nutrition"
27
+ - "poverty"
28
+ - "socioeconomics"
29
+ - "nam"
30
+ pretty_name: "Namibia Multidimensional Poverty Index | Africa (original)"
 
31
  ---
32
 
33
+ # Namibia Multidimensional Poverty Index | Africa (original)
 
 
34
 
35
+ **Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** health - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
36
 
37
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
38
+ ![sector](https://img.shields.io/badge/sector-health-green)
39
+ ![downloads](https://img.shields.io/badge/HF_downloads-32-orange)
40
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
41
 
42
+ ## TL;DR
43
 
44
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
45
 
46
+ ## What This Dataset Covers
47
 
48
+ Health datasets help researchers examine disease burden, service delivery, risk factors, outcomes, and public-health program performance.
49
 
50
+ Dataset context from the existing Hugging Face card: Namibia Multidimensional Poverty Index Publisher: Oxford Poverty & Human Development Initiative · Source: HDX · License: other-pd-nr · Updated: 2026-03-05 Abstract The global Multidimensional Poverty Index provides the only comprehensive measure available for non-income poverty, which has become a critical underpinning of the SDGs. The global Multidimensional Poverty Index (MPI) measures multidimensional poverty in over 100 developing countries, using internationally… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi.
51
 
52
+ ## Dataset Profile
53
 
54
+ | Field | Value |
55
  |---|---|
56
+ | Hugging Face repo | [`electricsheepafrica/africa-namibia-mpi`](https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi) |
57
+ | Sector | health |
58
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, development, education, health, indicators, mortality, nutrition, poverty, socioeconomics, nam |
59
+ | Modalities | `tabular`, `text` |
60
+ | Formats | `parquet` |
61
+ | Size category | `n<1K` |
62
+ | Countries | Namibia |
63
+ | ISO3 coverage | `NAM` |
64
+ | Last modified on HF | `2026-04-04 13:48:29+00:00` |
65
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
66
+
67
+ ## How To Read This Dataset
68
+
69
+ - Start from the repository files and the dataset viewer when available.
70
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
71
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
72
+ - Preserve missing values until you have a defensible imputation rule.
73
+
74
+ ## Usage
 
 
 
 
 
 
 
 
75
 
76
  ```python
77
  from datasets import load_dataset
78
 
79
+ ds = load_dataset("electricsheepafrica/africa-namibia-mpi")
80
+ print(ds)
 
81
 
82
+ split_name = next(iter(ds))
83
+ table = ds[split_name]
84
+ print(table.features)
85
+ print(table[:3])
86
  ```
87
 
88
+ ### Convert To Pandas When Tabular
89
 
90
+ ```python
91
+ from datasets import Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
+ first_split = ds[next(iter(ds))]
94
+ if isinstance(first_split, Dataset):
95
+ df = first_split.to_pandas()
96
+ print(df.head())
97
+ ```
98
 
99
+ ## Data Quality Notes
100
 
101
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
102
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
103
+ - Metadata gaps from the inventory: upstream_publisher.
104
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
105
 
106
+ ## Source And Provenance
107
 
108
+ - **Source context:** original
109
+ - **Publisher/source attribution:** original
110
+ - **License:** Source-specific or other license
111
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi](https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi)
112
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
113
 
114
+ ## Suggested Analyses
 
 
115
 
116
+ - Inspect schema and missingness before modeling.
117
+ - Profile variables by geography, time, and subgroup columns where present.
118
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
119
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
120
 
121
  ## Citation
122
 
123
  ```bibtex
124
+ @misc{electric_sheep_africa_africa_namibia_mpi_2026,
125
+ title = {Namibia Multidimensional Poverty Index | Africa (original)},
126
+ author = {original},
127
+ year = {2026},
128
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi},
129
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-namibia-mpi}}
131
  }
132
  ```
133
 
134
+ ## License
135
+
136
+ Released under Source-specific or other license.
137
+
138
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
139
+
140
+ ## About Electric Sheep Africa
141
+
142
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
143
+
144
  ---
145
 
146
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.