Olaroti commited on
Commit
e9e3b7a
·
verified ·
1 Parent(s): 3ba5651

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +103 -124
README.md CHANGED
@@ -1,167 +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
- - caf
34
- pretty_name: "Central African Republic Multidimensional Poverty Index"
35
- dataset_info:
36
- splits:
37
- - name: train
38
- num_examples: 6
39
- - name: test
40
- num_examples: 1
41
  ---
42
 
43
- # Central African Republic Multidimensional Poverty Index
44
-
45
- **Publisher:** Oxford Poverty & Human Development Initiative · **Source:** [HDX](https://data.humdata.org/dataset/central-african-republic-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: **CAF**.
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)** | 8 |
68
- | **Columns** | 13 (5 numeric, 6 categorical, 0 datetime) |
69
- | **Train split** | 6 rows |
70
- | **Test split** | 1 rows |
71
- | **Geographic scope** | CAF |
72
- | **Publisher** | Oxford Poverty & Human Development Initiative |
73
- | **HDX last updated** | 2026-03-05 |
74
-
75
- ---
76
-
77
- ## Variables
78
-
79
- **Geographic** `country_iso3` (CAF), `admin_1_pcode` (CF31, CF71), `admin_1_name` (Bamingui-Bangoran, Haute-Kotto, Vakaga, Basse-Kotto, Mbomou, Haut-Mbomou, Kémo, Nana-Grébizi, Ouaka), `intensity_of_deprivation` (range 41.9494–60.0572), `vulnerable_to_poverty` (range 5.9258–31.1164) and 2 others.
80
-
81
- **Temporal** `start_date`, `end_date`.
82
-
83
- **Outcome / Measurement** — `headcount_ratio` (range 33.8275–93.5346).
84
-
85
- **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04).
86
-
87
- **Other** — `mpi` (range 0.1419–0.5588).
88
-
89
- ---
90
-
91
- ## Quick Start
92
 
93
  ```python
94
  from datasets import load_dataset
95
 
96
- ds = load_dataset("electricsheepafrica/africa-central-african-republic-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% | CAF |
111
- | `admin_1_pcode` | object | 75.0% | CF31, CF71 |
112
- | `admin_1_name` | object | 12.5% | Bamingui-Bangoran, Haute-Kotto, Vakaga, Basse-Kotto, Mbomou, Haut-Mbomou, Kémo, Nana-Grébizi, Ouaka |
113
- | `mpi` | float64 | 0.0% | 0.1419 – 0.5588 (mean 0.4548) |
114
- | `headcount_ratio` | float64 | 0.0% | 33.8275 – 93.5346 (mean 79.8217) |
115
- | `intensity_of_deprivation` | float64 | 0.0% | 41.9494 – 60.0572 (mean 55.7273) |
116
- | `vulnerable_to_poverty` | float64 | 0.0% | 5.9258 – 31.1164 (mean 13.3009) |
117
- | `in_severe_poverty` | float64 | 0.0% | 6.9419 – 73.2162 (mean 54.5578) |
118
- | `survey` | object | 0.0% | MICS |
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.1419 | 0.5588 | 0.4548 | 0.4972 |
131
- | `headcount_ratio` | 33.8275 | 93.5346 | 79.8217 | 87.4816 |
132
- | `intensity_of_deprivation` | 41.9494 | 60.0572 | 55.7273 | 57.6287 |
133
- | `vulnerable_to_poverty` | 5.9258 | 31.1164 | 13.3009 | 11.4353 |
134
- | `in_severe_poverty` | 6.9419 | 73.2162 | 54.5578 | 60.4673 |
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
- - The following columns have >20% missing values and should be treated with caution in modelling: `admin_1_pcode`.
149
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/central-african-republic-mpi) for the publisher's own methodology notes and caveats.
150
 
151
- ---
 
 
 
152
 
153
  ## Citation
154
 
155
  ```bibtex
156
- @dataset{hdx_africa_central_african_republic_mpi,
157
- title = {Central African Republic Multidimensional Poverty Index},
158
- author = {Oxford Poverty & Human Development Initiative},
159
- year = {2026},
160
- url = {https://data.humdata.org/dataset/central-african-republic-mpi},
161
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
162
  }
163
  ```
164
 
 
 
 
 
 
 
 
 
 
 
165
  ---
166
 
167
- *[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
+ - "caf"
30
+ pretty_name: "Central African Republic Multidimensional Poverty Index | Africa (original)"
 
31
  ---
32
 
33
+ # Central African Republic 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-24-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: Central African Republic 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… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-central-african-republic-mpi.
51
 
52
+ ## Dataset Profile
53
 
54
+ | Field | Value |
55
  |---|---|
56
+ | Hugging Face repo | [`electricsheepafrica/africa-central-african-republic-mpi`](https://huggingface.co/datasets/electricsheepafrica/africa-central-african-republic-mpi) |
57
+ | Sector | health |
58
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, development, education, health, indicators, mortality, nutrition, poverty, socioeconomics, caf |
59
+ | Modalities | `tabular`, `text` |
60
+ | Formats | `parquet` |
61
+ | Size category | `n<1K` |
62
+ | Countries | Central African Republic |
63
+ | ISO3 coverage | `CAF` |
64
+ | Last modified on HF | `2026-04-04 13:44:13+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-central-african-republic-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-central-african-republic-mpi](https://huggingface.co/datasets/electricsheepafrica/africa-central-african-republic-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_central_african_republic_mpi_2026,
125
+ title = {Central African Republic Multidimensional Poverty Index | Africa (original)},
126
+ author = {original},
127
+ year = {2026},
128
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-central-african-republic-mpi},
129
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-central-african-republic-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`.