Olaroti commited on
Commit
615d585
·
verified ·
1 Parent(s): 67a129f

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +103 -106
README.md CHANGED
@@ -1,149 +1,146 @@
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
- - 1K<n<10K
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
- - demographics
25
- - education
26
- - indicators
27
- - socioeconomics
28
- - sustainable-development
29
- - sustainable-development-goals-sdg
30
- - mus
31
- pretty_name: "Mauritius - Education Indicators"
32
- dataset_info:
33
- splits:
34
- - name: train
35
- num_examples: 4690
36
- - name: test
37
- num_examples: 1172
 
38
  ---
39
 
40
- # Mauritius - Education Indicators
41
-
42
- **Publisher:** UNESCO · **Source:** [HDX](https://data.humdata.org/dataset/unesco-data-for-mauritius) · **License:** `cc-by-igo` · **Updated:** 2026-03-02
43
 
44
- ---
45
 
46
- ## Abstract
 
 
 
47
 
48
- Education indicators for Mauritius.
49
 
50
- Contains data from the UNESCO Institute for Statistics [bulk data service](http://data.uis.unesco.org) covering the following categories: SDG 4 Global and Thematic (made 2026 February), Other Policy Relevant Indicators (made 2026 February), Demographic and Socio-economic (made 2026 February)
51
 
52
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-02. Geographic scope: **MUS**.
53
 
54
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
55
 
56
- ---
57
 
58
- ## Dataset Characteristics
59
 
60
- | | |
61
  |---|---|
62
- | **Domain** | Education |
63
- | **Unit of observation** | Country-level aggregates |
64
- | **Rows (total)** | 5,863 |
65
- | **Columns** | 6 (2 numeric, 4 categorical, 0 datetime) |
66
- | **Train split** | 4,690 rows |
67
- | **Test split** | 1,172 rows |
68
- | **Geographic scope** | MUS |
69
- | **Publisher** | UNESCO |
70
- | **HDX last updated** | 2026-03-02 |
71
-
72
- ---
73
-
74
- ## Variables
75
-
76
- **Geographic** `country_id` (MUS), `year` (range 1970.0–2025.0).
77
-
78
- **Outcome / Measurement** `value` (range 0.0–5118765.0).
79
-
80
- **Identifier / Metadata** — `indicator_id` (GER.5T8, GER.5T8.GPIA, GER.5T8.F), `esa_source` (HDX), `esa_processed` (2026-04-04).
81
-
82
- ---
83
-
84
- ## Quick Start
85
 
86
  ```python
87
  from datasets import load_dataset
88
 
89
- ds = load_dataset("electricsheepafrica/africa-unesco-data-for-mauritius")
90
- train = ds["train"].to_pandas()
91
- test = ds["test"].to_pandas()
92
 
93
- print(train.shape)
94
- train.head()
 
 
95
  ```
96
 
97
- ---
98
-
99
- ## Schema
100
 
101
- | Column | Type | Null % | Range / Sample Values |
102
- |---|---|---|---|
103
- | `indicator_id` | object | 0.0% | GER.5T8, GER.5T8.GPIA, GER.5T8.F |
104
- | `country_id` | object | 0.0% | MUS |
105
- | `year` | int64 | 0.0% | 1970.0 – 2025.0 (mean 2009.6988) |
106
- | `value` | float64 | 0.0% | 0.0 – 5118765.0 (mean 5969.3706) |
107
- | `esa_source` | object | 0.0% | HDX |
108
- | `esa_processed` | object | 0.0% | 2026-04-04 |
109
-
110
- ---
111
-
112
- ## Numeric Summary
113
-
114
- | Column | Min | Max | Mean | Median |
115
- |---|---|---|---|---|
116
- | `year` | 1970.0 | 2025.0 | 2009.6988 | 2012.0 |
117
- | `value` | 0.0 | 5118765.0 | 5969.3706 | 10.206 |
118
 
119
- ---
 
 
 
 
120
 
121
- ## Curation
122
 
123
- 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) with >80% missing values were removed: `magnitude`, `qualifier`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
 
 
 
124
 
125
- ---
126
 
127
- ## Limitations
 
 
 
 
128
 
129
- - Data originates from UNESCO and has not been independently validated by ESA.
130
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
131
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/unesco-data-for-mauritius) for the publisher's own methodology notes and caveats.
132
 
133
- ---
 
 
 
134
 
135
  ## Citation
136
 
137
  ```bibtex
138
- @dataset{hdx_africa_unesco_data_for_mauritius,
139
- title = {Mauritius - Education Indicators},
140
- author = {UNESCO},
141
- year = {2026},
142
- url = {https://data.humdata.org/dataset/unesco-data-for-mauritius},
143
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
144
  }
145
  ```
146
 
 
 
 
 
 
 
 
 
 
 
147
  ---
148
 
149
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
2
+ license: cc-by-4.0
 
 
 
3
  language:
4
  - en
 
 
 
 
 
 
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1K<n<10K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "economics-finance"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "demographics"
23
+ - "education"
24
+ - "indicators"
25
+ - "socioeconomics"
26
+ - "sustainable-development"
27
+ - "sustainable-development-goals-sdg"
28
+ - "mus"
29
+ - "economic"
30
+ pretty_name: "Mauritius - Education Indicators | Africa (original)"
31
  ---
32
 
33
+ # Mauritius - Education Indicators | Africa (original)
 
 
34
 
35
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** economics_finance - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
36
 
37
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
38
+ ![sector](https://img.shields.io/badge/sector-economics_finance-green)
39
+ ![downloads](https://img.shields.io/badge/HF_downloads-22-orange)
40
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-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
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
49
 
50
+ Dataset context from the existing Hugging Face card: Mauritius - Education Indicators Publisher: UNESCO · Source: HDX · License: cc-by-igo · Updated: 2026-03-02 Abstract Education indicators for Mauritius. Contains data from the UNESCO Institute for Statistics bulk data service covering the following categories: SDG 4 Global and Thematic (made 2026 February), Other Policy Relevant Indicators (made 2026 February), Demographic and Socio-economic (made 2026 February) Each row in this dataset represents country-level… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius.
51
 
52
+ ## Dataset Profile
53
 
54
+ | Field | Value |
55
  |---|---|
56
+ | Hugging Face repo | [`electricsheepafrica/africa-unesco-data-for-mauritius`](https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius) |
57
+ | Sector | economics_finance |
58
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, demographics, education, indicators, socioeconomics, sustainable-development, sustainable-development-goals-sdg, mus |
59
+ | Modalities | `tabular`, `text` |
60
+ | Formats | `parquet` |
61
+ | Size category | `1K<n<10K` |
62
+ | Countries | Mauritius |
63
+ | ISO3 coverage | `MUS` |
64
+ | Last modified on HF | `2026-04-04 14:25:54+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-unesco-data-for-mauritius")
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:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
111
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius](https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius)
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_unesco_data_for_mauritius_2026,
125
+ title = {Mauritius - Education Indicators | Africa (original)},
126
+ author = {original},
127
+ year = {2026},
128
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius},
129
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-unesco-data-for-mauritius}}
131
  }
132
  ```
133
 
134
+ ## License
135
+
136
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
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`.