Olaroti commited on
Commit
da41411
·
verified ·
1 Parent(s): 6f6a6b7

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +125 -67
README.md CHANGED
@@ -5,80 +5,103 @@ 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
  - economics
20
- pretty_name: "Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (Mauritius official open data)"
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
 
23
- # Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (Mauritius official open data)
24
 
25
- 8 observations - 1 Africa country - 2010-2017 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
26
 
27
  ![rows](https://img.shields.io/badge/rows-8-blue)
28
  ![countries](https://img.shields.io/badge/countries-1-green)
29
- ![years](https://img.shields.io/badge/years-2010-2017-orange)
30
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
31
- ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
32
 
33
  ## TL;DR
34
 
35
- This dataset contains **8 observations** of `Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas` data for
36
- **Mauritius**, spanning **2010-2017**, normalized from an official open
37
- data resource into ML-ready long-form Parquet.
38
 
39
- ## About the source
40
 
41
- - **Source:** [Average price of petroleum products and coal used as energy sources 2010 to 2019](https://data.govmu.org/dataset/average-price-petroleum-products-and-coal-used-energy-sources)
42
- - **Publisher:** MDPA
43
- - **Resource:** [Average-price-Rupees-of-petroleum-products-and-coal-used-as-energy-sources.csv](https://data.govmu.org/dataset/12e316b2-8703-4f39-8c12-b173afbaa7cb/resource/7621a953-14cf-43e5-8f8d-799c0562a194/download/average-price-rupees-of-petroleum-products-and-coal-used-as-energy-sources-2010-to-2019.csv)
44
- - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
45
- - **Original value column:** `LPG_Auto_Gas`
46
 
47
- ## Geographic coverage
48
 
49
- 1 Africa country:
50
 
51
- | Country | Rows | First year | Last year | Name |
52
- |---------|-----:|-----------:|----------:|------|
53
- | `MUS` | 8 | 2010 | 2017 | `Mauritius` |
 
 
54
 
55
- ## Indicators
56
 
57
- - `average-price-of-petroleum-products-and-coal-used-as-energy-sources-2010-68b93b22` - Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas
 
 
 
 
 
 
 
 
58
 
59
- ## Dimensions
60
 
61
- none
 
 
 
 
 
 
 
 
62
 
63
  ## Schema
64
 
65
  | Column | Type | Description | Example |
66
  |--------|------|-------------|---------|
67
- | `indicator_id` | `object` | Stable indicator slug. | `average-price-of-petroleum-products-and-coal-used-as-energy-sources-2010` |
68
- | `indicator_name` | `object` | Human-readable indicator name. | `Average price of petroleum products and coal used as energy sources 2010` |
69
- | `country_iso3` | `object` | ISO3 country code. | `MUS` |
70
- | `country_name` | `object` | Country name. | `Mauritius` |
71
- | `year` | `Int64` | Observation year. | `2010` |
72
- | `value` | `float64` | Numeric observation value. | `26.4` |
73
- | `unit` | `object` | Measurement unit, when available. | `source_units_unspecified` |
74
- | `source_provider` | `object` | Publishing organization. | `MDPA` |
75
- | `source_dataset` | `object` | Source package title. | `Average price of petroleum products and coal used as energy sources 2010` |
76
- | `source_resource` | `object` | Source resource title. | `Average-price-Rupees-of-petroleum-products-and-coal-used-as-energy-sourc` |
77
- | `source_package_id` | `object` | - | `12e316b2-8703-4f39-8c12-b173afbaa7cb` |
78
- | `source_resource_id` | `object` | - | `7621a953-14cf-43e5-8f8d-799c0562a194` |
79
- | `source_url` | `object` | Original resource URL. | `https://data.govmu.org/dataset/12e316b2-8703-4f39-8c12-b173afbaa7cb/reso` |
80
- | `license_id` | `object` | Source license identifier. | `CC-BY-SA-4.0` |
81
- | `retrieved_at` | `object` | UTC source retrieval timestamp. | `2026-07-16T18:12:36Z` |
82
 
83
  ## Usage
84
 
@@ -90,37 +113,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="average-price-of-petroleum-products-and-coal-used-as-energy-sources-2010-68b93b22")
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_average_price_of_petroleum_products_and_coal_used_as_energy_sour_68b93b_2017,
119
- title = {Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (Mauritius official open data)},
120
  author = {MDPA},
121
  year = {2017},
122
  url = {https://data.govmu.org/dataset/average-price-petroleum-products-and-coal-used-energy-sources},
123
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
124
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-average-price-of-petroleum-products-and-coal-used-as-energy-sour-68b93b22}}
125
  }
126
  ```
@@ -129,20 +193,14 @@ if dimension_cols:
129
 
130
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/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/12e316b2-8703-4f39-8c12-b173afbaa7cb/resource/7621a953-14cf-43e5-8f8d-799c0562a194/download/average-price-rupees-of-petroleum-products-and-coal-used-as-energy-sources-2010-to-2019.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
  - economics
19
+ - environment-and-natural-resources
20
+ - coal
21
+ - diesel
22
+ - gasolene
23
+ - kerosene
24
+ - lpg
25
+ - fuel-oil
26
+ configs:
27
+ - config_name: default
28
+ data_files:
29
+ - split: train
30
+ path: data/train-00000-of-00001.parquet
31
+ pretty_name: "Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (MDPA)"
32
  ---
33
 
34
+ # Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (MDPA)
35
 
36
+ **8 rows** - **1 Africa country/area** - **2010-2017** - **1 indicator** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
37
 
38
  ![rows](https://img.shields.io/badge/rows-8-blue)
39
  ![countries](https://img.shields.io/badge/countries-1-green)
40
+ ![period](https://img.shields.io/badge/period-2010--2017-orange)
41
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
42
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
43
 
44
  ## TL;DR
45
 
46
+ This dataset contains **8 rows** from **MDPA**, covering **Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
47
 
48
+ ## What This Dataset Measures
49
 
50
+ Economic datasets help analysts examine production, prices, public finance, trade flows, market conditions, and macroeconomic change.
 
 
 
 
51
 
52
+ Source-provided context: Dataset shows the Average retail price (Rupees) of petroleum products and wholesale price of coal used as energy sources from 2010 to 2019
53
 
54
+ ## How To Read This Dataset
55
 
56
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
57
+ - **Primary geography column:** `country_iso3`.
58
+ - **Best time column:** `year`.
59
+ - **Time coverage basis:** year.
60
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
61
 
62
+ ## Coverage
63
 
64
+ | Dimension | Value |
65
+ |---|---:|
66
+ | Rows | 8 |
67
+ | Countries/areas | 1 |
68
+ | First period | 2010 |
69
+ | Last period | 2017 |
70
+ | Indicators | 1 |
71
+ | Columns | 15 |
72
+ | Source format | CSV |
73
 
74
+ ## Geographic Coverage
75
 
76
+ Top areas shown below, sorted by row count when available:
77
+
78
+ | Area | Rows | First year | Last year | Name |
79
+ |------|-----:|-----------:|----------:|------|
80
+ | `MUS` | 8 | 2010 | 2017 | `Mauritius` |
81
+
82
+ ## Indicators, Variables, Or Resource Contents
83
+
84
+ - `average-price-of-petroleum-products-and-coal-used-as-energy-sources-2010-68b93b22` - Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas(source_units_unspecified)
85
 
86
  ## Schema
87
 
88
  | Column | Type | Description | Example |
89
  |--------|------|-------------|---------|
90
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `average-price-of-petroleum-products-and-coal-used-as-energy-sources-2...` |
91
+ | `indicator_name` | `string` | Human-readable indicator name. | `Average price of petroleum products and coal used as energy sources 2...` |
92
+ | `country_iso3` | `string` | ISO3 country or area code. | `MUS` |
93
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
94
+ | `year` | `int64` | Observation year. | `2010` |
95
+ | `value` | `double` | Numeric observation value. | `26.4` |
96
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
97
+ | `source_provider` | `string` | Publishing organization. | `MDPA` |
98
+ | `source_dataset` | `string` | Source dataset or package title. | `Average price of petroleum products and coal used as energy sources 2...` |
99
+ | `source_resource` | `string` | Source resource title, table name, or file name. | `Average-price-Rupees-of-petroleum-products-and-coal-used-as-energy-so...` |
100
+ | `source_package_id` | `string` | Source package identifier. | `12e316b2-8703-4f39-8c12-b173afbaa7cb` |
101
+ | `source_resource_id` | `string` | Source resource identifier. | `7621a953-14cf-43e5-8f8d-799c0562a194` |
102
+ | `source_url` | `string` | Original source URL or download URL. | `https://data.govmu.org/dataset/12e316b2-8703-4f39-8c12-b173afbaa7cb/r...` |
103
+ | `license_id` | `string` | Source license identifier. | `CC-BY-SA-4.0` |
104
+ | `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-16T18:12:36Z` |
105
 
106
  ## Usage
107
 
 
113
  print(df.head())
114
  ```
115
 
116
+ ### Inspect Columns
117
 
118
  ```python
119
+ print(df.info())
120
+ print(df.head())
121
  ```
122
 
123
+ ### Filter By Geography
124
 
125
  ```python
126
+ if "country_iso3" in df.columns:
127
+ sample = df[df["country_iso3"] == "MUS"]
128
  ```
129
 
130
+ ### Time-Series Pattern
131
 
132
  ```python
133
+ if "value" in df.columns and "year" in df.columns:
134
+ trend = df.sort_values("year")
135
+ ```
136
+
137
+ ### Pivot For Analysis
138
+
139
+ ```python
140
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
141
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
142
  print(matrix.tail())
143
  ```
144
 
145
+ ## Data Quality Notes
146
+
147
+ - Canonical time field: `year`.
148
+ - Missing values are preserved rather than silently imputed.
149
+ - Column names are standardized for machine use; source meanings are preserved where known.
150
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
151
+
152
+ ## Source And Provenance
153
+
154
+ - **Source:** [MDPA](https://data.govmu.org/dataset/average-price-petroleum-products-and-coal-used-energy-sources)
155
+ - **Publisher:** MDPA
156
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
157
+ - **Resource:** [Average-price-Rupees-of-petroleum-products-and-coal-used-as-energy-sources.csv](https://data.govmu.org/dataset/12e316b2-8703-4f39-8c12-b173afbaa7cb/resource/7621a953-14cf-43e5-8f8d-799c0562a194/download/average-price-rupees-of-petroleum-products-and-coal-used-as-energy-sources-2010-to-2019.csv)
158
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
159
+ - **Retrieved/generated:** `2026-07-16T18:12:40Z`
160
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-average-price-of-petroleum-products-and-coal-used-as-energy-sour-68b93b22](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-average-price-of-petroleum-products-and-coal-used-as-energy-sour-68b93b22)
161
+
162
+ ## Transformations Applied
163
+
164
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
165
+ - Added or preserved source provenance columns where available.
166
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
167
+ - Preserved source-reported values without analytical imputation.
168
+
169
+ ## Suggested Analyses
170
+
171
+ - Build time-series dashboards
172
+ - Compare economic indicators
173
+ - Join with population or sector data
174
+ - Build time-series views and period-over-period comparisons
175
+ - Pivot to geography x period or indicator x period matrices
176
+ - Check missingness before modeling
177
+ - Use `country_iso3` as the safest geography join key when present
178
+
179
  ## Citation
180
 
181
  ```bibtex
182
+ @misc{electric_sheep_africa_africa_mauritius_average_price_of_petroleum_products_and_coal_used_as_energy_sou_2017,
183
+ title = {Average price of petroleum products and coal used as energy sources 2010 to 2019 - LPG Auto Gas | Africa (MDPA)},
184
  author = {MDPA},
185
  year = {2017},
186
  url = {https://data.govmu.org/dataset/average-price-petroleum-products-and-coal-used-energy-sources},
187
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
188
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-average-price-of-petroleum-products-and-coal-used-as-energy-sour-68b93b22}}
189
  }
190
  ```
 
193
 
194
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
195
 
196
+ Original data is published by MDPA. Electric Sheep Africa
197
+ engineering standardizes the data for discovery, loading, and analysis on
198
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
199
 
200
+ ## About Electric Sheep Africa
 
 
 
 
201
 
202
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
203
 
204
  ---
205
 
206
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/average-price-petroleum-products-and-coal-used-energy-sources