Olaroti commited on
Commit
09b71e3
·
verified ·
1 Parent(s): 3aa9f8f

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +123 -67
README.md CHANGED
@@ -5,80 +5,101 @@ language:
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
- multilinguality: monolingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
  - tabular
13
  - africa
14
- - mauritius
15
- - official-statistics
16
  - open-data
17
- - time-series
 
 
18
  - energy
19
- - education
20
- pretty_name: "Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (Mauritius official open data)"
 
 
 
 
 
 
 
 
 
21
  ---
22
 
23
- # Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (Mauritius official open data)
24
 
25
- 7 observations - 1 Africa country - 2018-2024 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
26
 
27
  ![rows](https://img.shields.io/badge/rows-7-blue)
28
  ![countries](https://img.shields.io/badge/countries-1-green)
29
- ![years](https://img.shields.io/badge/years-2018-2024-orange)
30
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
31
- ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
32
 
33
  ## TL;DR
34
 
35
- This dataset contains **7 observations** of `Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement` data for
36
- **Mauritius**, spanning **2018-2024**, normalized from an official open
37
- data resource into ML-ready long-form Parquet.
38
 
39
- ## About the source
40
 
41
- - **Source:** [Main Energy indicators, Republic of Mauritius, 2018-2024](https://data.govmu.org/dataset/main-energy-indicators-republic-of-mauritius-2018-2024)
42
- - **Publisher:** MDPA
43
- - **Resource:** [main_energy_indicators-republic-of-mauritius-2018-2024v.csv](https://data.govmu.org/dataset/e398d0b3-75e4-424c-89cb-cb2caa281e94/resource/0f445a42-d734-4293-a8ff-724efff02c29/download/main_energy_indicators-republic-of-mauritius-2018-2024v.csv)
44
- - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
45
- - **Original value column:** `Percentage_of_renewables_from_total_primary_energy_requirement`
46
 
47
- ## Geographic coverage
48
 
49
- 1 Africa country:
50
 
51
- | Country | Rows | First year | Last year | Name |
52
- |---------|-----:|-----------:|----------:|------|
53
- | `MUS` | 7 | 2018 | 2024 | `Mauritius` |
 
 
54
 
55
- ## Indicators
56
 
57
- - `main-energy-indicators-republic-of-mauritius-2018-2024-percentage-of-ren-472cf85f` - Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement
 
 
 
 
 
 
 
 
58
 
59
- ## Dimensions
60
 
61
- none
 
 
 
 
 
 
 
 
62
 
63
  ## Schema
64
 
65
  | Column | Type | Description | Example |
66
  |--------|------|-------------|---------|
67
- | `indicator_id` | `object` | Stable indicator slug. | `main-energy-indicators-republic-of-mauritius-2018-2024-percentage-of-ren` |
68
- | `indicator_name` | `object` | Human-readable indicator name. | `Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of` |
69
- | `country_iso3` | `object` | ISO3 country code. | `MUS` |
70
- | `country_name` | `object` | Country name. | `Mauritius` |
71
- | `year` | `Int64` | Observation year. | `2018` |
72
- | `value` | `float64` | Numeric observation value. | `12.9` |
73
- | `unit` | `object` | Measurement unit, when available. | `source_units_unspecified` |
74
- | `source_provider` | `object` | Publishing organization. | `MDPA` |
75
- | `source_dataset` | `object` | Source package title. | `Main Energy indicators, Republic of Mauritius, 2018-2024` |
76
- | `source_resource` | `object` | Source resource title. | `main_energy_indicators-republic-of-mauritius-2018-2024v.csv` |
77
- | `source_package_id` | `object` | - | `e398d0b3-75e4-424c-89cb-cb2caa281e94` |
78
- | `source_resource_id` | `object` | - | `0f445a42-d734-4293-a8ff-724efff02c29` |
79
- | `source_url` | `object` | Original resource URL. | `https://data.govmu.org/dataset/e398d0b3-75e4-424c-89cb-cb2caa281e94/reso` |
80
- | `license_id` | `object` | Source license identifier. | `cc-by` |
81
- | `retrieved_at` | `object` | UTC source retrieval timestamp. | `2026-07-16T18:12:36Z` |
82
 
83
  ## Usage
84
 
@@ -90,37 +111,78 @@ df = ds["train"].to_pandas()
90
  print(df.head())
91
  ```
92
 
93
- ### Filter to one country
94
 
95
  ```python
96
- sample_country = df[df["country_iso3"] == "MUS"]
 
97
  ```
98
 
99
- ### Time-series
100
 
101
  ```python
102
- sample = df.sort_values("year")
103
- sample.plot(x="year", y="value", title="main-energy-indicators-republic-of-mauritius-2018-2024-percentage-of-ren-472cf85f")
104
  ```
105
 
106
- ### Pivot by dimensions
107
 
108
  ```python
109
- dimension_cols = [c for c in df.columns if c.startswith("dimension_")]
110
- if dimension_cols:
111
- matrix = df.pivot_table(index="year", columns=dimension_cols, values="value")
 
 
 
 
 
 
112
  print(matrix.tail())
113
  ```
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  ## Citation
116
 
117
  ```bibtex
118
- @misc{electric_sheep_africa_africa_mauritius_main_energy_indicators_republic_of_mauritius_2018_2024_percentag_472cf8_2024,
119
- title = {Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (Mauritius official open data)},
120
  author = {MDPA},
121
  year = {2024},
122
  url = {https://data.govmu.org/dataset/main-energy-indicators-republic-of-mauritius-2018-2024},
123
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
124
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-main-energy-indicators-republic-of-mauritius-2018-2024-percentag-472cf85f}}
125
  }
126
  ```
@@ -129,20 +191,14 @@ if dimension_cols:
129
 
130
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
131
 
132
- Original data (c) MDPA. When using this dataset, please cite both the
133
- original source above and the Electric Sheep Africa repackaging.
134
-
135
- ## About Electric Sheep
136
 
137
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
138
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
139
- open sources, normalize the schemas, package as Parquet, and publish with
140
- consistent dataset cards so researchers and developers can use `load_dataset()`
141
- to start working in seconds.
142
 
143
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
144
 
145
  ---
146
 
147
- Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
148
- https://data.govmu.org/dataset/e398d0b3-75e4-424c-89cb-cb2caa281e94/resource/0f445a42-d734-4293-a8ff-724efff02c29/download/main_energy_indicators-republic-of-mauritius-2018-2024v.csv
 
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
  - tabular
13
  - africa
 
 
14
  - open-data
15
+ - official-statistics
16
+ - mauritius
17
+ - mdpa
18
  - energy
19
+ - environment-and-natural-resources
20
+ - consumption
21
+ - electricity
22
+ - generated
23
+ - renewable-energy
24
+ configs:
25
+ - config_name: default
26
+ data_files:
27
+ - split: train
28
+ path: data/train-00000-of-00001.parquet
29
+ pretty_name: "Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (MDPA)"
30
  ---
31
 
32
+ # Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (MDPA)
33
 
34
+ **7 rows** - **1 Africa country/area** - **2018-2024** - **1 indicator** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
35
 
36
  ![rows](https://img.shields.io/badge/rows-7-blue)
37
  ![countries](https://img.shields.io/badge/countries-1-green)
38
+ ![period](https://img.shields.io/badge/period-2018--2024-orange)
39
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
40
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
41
 
42
  ## TL;DR
43
 
44
+ This dataset contains **7 rows** from **MDPA**, covering **Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
45
 
46
+ ## What This Dataset Measures
47
 
48
+ Energy datasets help analysts study supply, demand, prices, generation, access, and the infrastructure behind economic activity.
 
 
 
 
49
 
50
+ Source-provided context: Dataset shows the main Energy indicators, Republic of Mauritius, 2018 to 2024
51
 
52
+ ## How To Read This Dataset
53
 
54
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
55
+ - **Primary geography column:** `country_iso3`.
56
+ - **Best time column:** `year`.
57
+ - **Time coverage basis:** year.
58
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
59
 
60
+ ## Coverage
61
 
62
+ | Dimension | Value |
63
+ |---|---:|
64
+ | Rows | 7 |
65
+ | Countries/areas | 1 |
66
+ | First period | 2018 |
67
+ | Last period | 2024 |
68
+ | Indicators | 1 |
69
+ | Columns | 15 |
70
+ | Source format | CSV |
71
 
72
+ ## Geographic Coverage
73
 
74
+ Top areas shown below, sorted by row count when available:
75
+
76
+ | Area | Rows | First year | Last year | Name |
77
+ |------|-----:|-----------:|----------:|------|
78
+ | `MUS` | 7 | 2018 | 2024 | `Mauritius` |
79
+
80
+ ## Indicators, Variables, Or Resource Contents
81
+
82
+ - `main-energy-indicators-republic-of-mauritius-2018-2024-percentage-of-ren-472cf85f` - Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement(source_units_unspecified)
83
 
84
  ## Schema
85
 
86
  | Column | Type | Description | Example |
87
  |--------|------|-------------|---------|
88
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `main-energy-indicators-republic-of-mauritius-2018-2024-percentage-of-...` |
89
+ | `indicator_name` | `string` | Human-readable indicator name. | `Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage...` |
90
+ | `country_iso3` | `string` | ISO3 country or area code. | `MUS` |
91
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
92
+ | `year` | `int64` | Observation year. | `2018` |
93
+ | `value` | `double` | Numeric observation value. | `12.9` |
94
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
95
+ | `source_provider` | `string` | Publishing organization. | `MDPA` |
96
+ | `source_dataset` | `string` | Source dataset or package title. | `Main Energy indicators, Republic of Mauritius, 2018-2024` |
97
+ | `source_resource` | `string` | Source resource title, table name, or file name. | `main_energy_indicators-republic-of-mauritius-2018-2024v.csv` |
98
+ | `source_package_id` | `string` | Source package identifier. | `e398d0b3-75e4-424c-89cb-cb2caa281e94` |
99
+ | `source_resource_id` | `string` | Source resource identifier. | `0f445a42-d734-4293-a8ff-724efff02c29` |
100
+ | `source_url` | `string` | Original source URL or download URL. | `https://data.govmu.org/dataset/e398d0b3-75e4-424c-89cb-cb2caa281e94/r...` |
101
+ | `license_id` | `string` | Source license identifier. | `cc-by` |
102
+ | `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-16T18:12:36Z` |
103
 
104
  ## Usage
105
 
 
111
  print(df.head())
112
  ```
113
 
114
+ ### Inspect Columns
115
 
116
  ```python
117
+ print(df.info())
118
+ print(df.head())
119
  ```
120
 
121
+ ### Filter By Geography
122
 
123
  ```python
124
+ if "country_iso3" in df.columns:
125
+ sample = df[df["country_iso3"] == "MUS"]
126
  ```
127
 
128
+ ### Time-Series Pattern
129
 
130
  ```python
131
+ if "value" in df.columns and "year" in df.columns:
132
+ trend = df.sort_values("year")
133
+ ```
134
+
135
+ ### Pivot For Analysis
136
+
137
+ ```python
138
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
139
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
140
  print(matrix.tail())
141
  ```
142
 
143
+ ## Data Quality Notes
144
+
145
+ - Canonical time field: `year`.
146
+ - Missing values are preserved rather than silently imputed.
147
+ - Column names are standardized for machine use; source meanings are preserved where known.
148
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
149
+
150
+ ## Source And Provenance
151
+
152
+ - **Source:** [MDPA](https://data.govmu.org/dataset/main-energy-indicators-republic-of-mauritius-2018-2024)
153
+ - **Publisher:** MDPA
154
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
155
+ - **Resource:** [main_energy_indicators-republic-of-mauritius-2018-2024v.csv](https://data.govmu.org/dataset/e398d0b3-75e4-424c-89cb-cb2caa281e94/resource/0f445a42-d734-4293-a8ff-724efff02c29/download/main_energy_indicators-republic-of-mauritius-2018-2024v.csv)
156
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
157
+ - **Retrieved/generated:** `2026-07-16T18:12:45Z`
158
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-main-energy-indicators-republic-of-mauritius-2018-2024-percentag-472cf85f](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-main-energy-indicators-republic-of-mauritius-2018-2024-percentag-472cf85f)
159
+
160
+ ## Transformations Applied
161
+
162
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
163
+ - Added or preserved source provenance columns where available.
164
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
165
+ - Preserved source-reported values without analytical imputation.
166
+
167
+ ## Suggested Analyses
168
+
169
+ - Track supply or price trends
170
+ - Compare energy sources
171
+ - Join with population, industry, or emissions data
172
+ - Build time-series views and period-over-period comparisons
173
+ - Pivot to geography x period or indicator x period matrices
174
+ - Check missingness before modeling
175
+ - Use `country_iso3` as the safest geography join key when present
176
+
177
  ## Citation
178
 
179
  ```bibtex
180
+ @misc{electric_sheep_africa_africa_mauritius_main_energy_indicators_republic_of_mauritius_2018_2024_percenta_2024,
181
+ title = {Main Energy indicators, Republic of Mauritius, 2018-2024 - Percentage of renewables from total primary energy requirement | Africa (MDPA)},
182
  author = {MDPA},
183
  year = {2024},
184
  url = {https://data.govmu.org/dataset/main-energy-indicators-republic-of-mauritius-2018-2024},
185
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
186
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-main-energy-indicators-republic-of-mauritius-2018-2024-percentag-472cf85f}}
187
  }
188
  ```
 
191
 
192
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
193
 
194
+ Original data is published by MDPA. Electric Sheep Africa
195
+ engineering standardizes the data for discovery, loading, and analysis on
196
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
197
 
198
+ ## About Electric Sheep Africa
 
 
 
 
199
 
200
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
201
 
202
  ---
203
 
204
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/main-energy-indicators-republic-of-mauritius-2018-2024