Add ML-ready official indicator dataset
Browse files- README.md +137 -0
- data/train-00000-of-00001.parquet +3 -0
- metadata/source_snapshot.json +67 -0
README.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-regression
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- csv
|
| 14 |
+
- africa
|
| 15 |
+
- mauritius
|
| 16 |
+
- official-statistics
|
| 17 |
+
- open-data
|
| 18 |
+
- energy
|
| 19 |
+
pretty_name: "Sales of electricity by type of tariff | Africa (Mauritius official open data)"
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Sales of electricity by type of tariff | Africa (Mauritius official open data)
|
| 23 |
+
|
| 24 |
+
40 rows - 1 Africa country - 2017-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+

|
| 28 |
+

|
| 29 |
+

|
| 30 |
+

|
| 31 |
+
|
| 32 |
+
## TL;DR
|
| 33 |
+
|
| 34 |
+
This dataset packages one official CSV resource from **Mauritius** as
|
| 35 |
+
ML-ready Parquet. The CSV is the provenance boundary; all usable indicators or
|
| 36 |
+
tabular columns from the source file stay together in this repo.
|
| 37 |
+
|
| 38 |
+
## About the source
|
| 39 |
+
|
| 40 |
+
- **Source:** [Sales of electricity by type of tariff](https://data.govmu.org/dataset/sales-electricity-type-tariff)
|
| 41 |
+
- **Publisher:** MDPA
|
| 42 |
+
- **Resource:** [Sales-of-electricity-by-type-of-tariff-2017-2021.csv](https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/fcfec910-0b34-4505-a2a2-d2a0f184af41/download/sales-of-electricity-by-type-of-tariff-2017-2021.csv)
|
| 43 |
+
- **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 44 |
+
- **Packaging mode:** `indicator_long`
|
| 45 |
+
|
| 46 |
+
## Geographic coverage
|
| 47 |
+
|
| 48 |
+
1 Africa country:
|
| 49 |
+
|
| 50 |
+
| Country | Rows | First year | Last year | Name |
|
| 51 |
+
|---------|-----:|-----------:|----------:|------|
|
| 52 |
+
| `MUS` | 40 | 2017 | 2021 | `Mauritius` |
|
| 53 |
+
|
| 54 |
+
## Indicators or Resource Contents
|
| 55 |
+
|
| 56 |
+
- `sales-of-electricity-by-type-of-tariff-sales-87e5c027` - Sales of electricity by type of tariff - sales
|
| 57 |
+
- `sales-of-electricity-by-type-of-tariff-no-of-consumers-8d7fb54e` - Sales of electricity by type of tariff - no of consumers
|
| 58 |
+
|
| 59 |
+
## Schema
|
| 60 |
+
|
| 61 |
+
| Column | Type | Description | Example |
|
| 62 |
+
|--------|------|-------------|---------|
|
| 63 |
+
| `indicator_id` | `object` | Stable indicator identifier. | `sales-of-electricity-by-type-of-tariff-sales-87e5c027` |
|
| 64 |
+
| `indicator_name` | `object` | Human-readable indicator name. | `Sales of electricity by type of tariff - sales` |
|
| 65 |
+
| `country_iso3` | `object` | ISO3 country code. | `MUS` |
|
| 66 |
+
| `country_name` | `object` | Country name. | `Mauritius` |
|
| 67 |
+
| `year` | `Int64` | Observation year. | `2017` |
|
| 68 |
+
| `value` | `float64` | Numeric observation value. | `872.7` |
|
| 69 |
+
| `unit` | `object` | Measurement unit, when available. | `source_units_unspecified` |
|
| 70 |
+
| `dimension_type_of_tarrif` | `string` | Source dimension. | `Domestic` |
|
| 71 |
+
| `source_provider` | `object` | Publishing organization. | `MDPA` |
|
| 72 |
+
| `source_dataset` | `object` | Source package title. | `Sales of electricity by type of tariff` |
|
| 73 |
+
| `source_resource` | `object` | Source resource title. | `Sales-of-electricity-by-type-of-tariff-2017-2021.csv` |
|
| 74 |
+
| `source_package_id` | `object` | CKAN package UUID. | `89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7` |
|
| 75 |
+
| `source_resource_id` | `object` | CKAN resource UUID. | `fcfec910-0b34-4505-a2a2-d2a0f184af41` |
|
| 76 |
+
| `source_url` | `object` | Original CSV URL. | `https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/reso` |
|
| 77 |
+
| `license_id` | `object` | Source license identifier. | `CC-BY-SA-4.0` |
|
| 78 |
+
| `retrieved_at` | `object` | UTC retrieval timestamp. | `2026-07-16T19:23:24Z` |
|
| 79 |
+
|
| 80 |
+
## Usage
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
+
|
| 85 |
+
ds = load_dataset("electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-8e98e883")
|
| 86 |
+
df = ds["train"].to_pandas()
|
| 87 |
+
print(df.head())
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
### Filter to one country
|
| 91 |
+
|
| 92 |
+
```python
|
| 93 |
+
sample_country = df[df["country_iso3"] == "MUS"]
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
### Work with indicators
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
if "indicator_id" in df.columns:
|
| 100 |
+
print(df["indicator_id"].value_counts().head())
|
| 101 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Citation
|
| 105 |
+
|
| 106 |
+
```bibtex
|
| 107 |
+
@misc{electric_sheep_africa_africa_mauritius_sales_of_electricity_by_type_of_tariff_8e98e883_2021,
|
| 108 |
+
title = {Sales of electricity by type of tariff | Africa (Mauritius official open data)},
|
| 109 |
+
author = {MDPA},
|
| 110 |
+
year = {2021},
|
| 111 |
+
url = {https://data.govmu.org/dataset/sales-electricity-type-tariff},
|
| 112 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 113 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-8e98e883}}
|
| 114 |
+
}
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
## License
|
| 118 |
+
|
| 119 |
+
Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
| 120 |
+
|
| 121 |
+
Original data (c) MDPA. When using this dataset, please cite both the
|
| 122 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 123 |
+
|
| 124 |
+
## About Electric Sheep
|
| 125 |
+
|
| 126 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 127 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 128 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 129 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 130 |
+
to start working in seconds.
|
| 131 |
+
|
| 132 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
|
| 137 |
+
https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/fcfec910-0b34-4505-a2a2-d2a0f184af41/download/sales-of-electricity-by-type-of-tariff-2017-2021.csv
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa96fb6ea69582c062d41daa7d0f027a967d1176a6633080dd9932504abf6eb0
|
| 3 |
+
size 12424
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"indicator_id",
|
| 4 |
+
"indicator_name",
|
| 5 |
+
"country_iso3",
|
| 6 |
+
"country_name",
|
| 7 |
+
"year",
|
| 8 |
+
"value",
|
| 9 |
+
"unit",
|
| 10 |
+
"dimension_type_of_tarrif",
|
| 11 |
+
"source_provider",
|
| 12 |
+
"source_dataset",
|
| 13 |
+
"source_resource",
|
| 14 |
+
"source_package_id",
|
| 15 |
+
"source_resource_id",
|
| 16 |
+
"source_url",
|
| 17 |
+
"license_id",
|
| 18 |
+
"retrieved_at"
|
| 19 |
+
],
|
| 20 |
+
"generated_at": "2026-07-16T19:31:25Z",
|
| 21 |
+
"indicator_count": 2,
|
| 22 |
+
"mode": "indicator_long",
|
| 23 |
+
"repo_id": "electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-8e98e883",
|
| 24 |
+
"rows": 40,
|
| 25 |
+
"source": {
|
| 26 |
+
"api_base_url": "https://data.govmu.org",
|
| 27 |
+
"country_iso3": "MUS",
|
| 28 |
+
"country_name": "Mauritius",
|
| 29 |
+
"group_names": "environment-and-natural-resources",
|
| 30 |
+
"license_id": "CC-BY-SA-4.0",
|
| 31 |
+
"license_title": "CC-BY-SA-4.0",
|
| 32 |
+
"license_url": "",
|
| 33 |
+
"organization_id": "fba989d1-7b9a-4338-901c-978558936a9b",
|
| 34 |
+
"organization_name": "mdpa",
|
| 35 |
+
"organization_title": "MDPA",
|
| 36 |
+
"package_author": "",
|
| 37 |
+
"package_id": "89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7",
|
| 38 |
+
"package_maintainer": "Open Data Mauritius",
|
| 39 |
+
"package_metadata_created": "2024-09-30T12:44:18.643647",
|
| 40 |
+
"package_metadata_modified": "2026-04-14T17:55:58.829560",
|
| 41 |
+
"package_name": "sales-electricity-type-tariff",
|
| 42 |
+
"package_notes": "<p>Data shows electricity sold by type of tariff for the year 2017 to 2021</p>",
|
| 43 |
+
"package_page_url": "https://data.govmu.org/dataset/sales-electricity-type-tariff",
|
| 44 |
+
"package_private": "False",
|
| 45 |
+
"package_state": "active",
|
| 46 |
+
"package_title": "Sales of electricity by type of tariff",
|
| 47 |
+
"package_version": "",
|
| 48 |
+
"portal_url": "https://data.govmu.org",
|
| 49 |
+
"resource_created": "2024-09-30T12:44:19.224317",
|
| 50 |
+
"resource_datastore_active": "True",
|
| 51 |
+
"resource_description": "",
|
| 52 |
+
"resource_format": "CSV",
|
| 53 |
+
"resource_hash": "",
|
| 54 |
+
"resource_id": "fcfec910-0b34-4505-a2a2-d2a0f184af41",
|
| 55 |
+
"resource_last_modified": "2024-09-30T12:44:19.197694",
|
| 56 |
+
"resource_mimetype": "text/csv",
|
| 57 |
+
"resource_name": "Sales-of-electricity-by-type-of-tariff-2017-2021.csv",
|
| 58 |
+
"resource_position": "1",
|
| 59 |
+
"resource_size": "578",
|
| 60 |
+
"resource_state": "active",
|
| 61 |
+
"resource_url": "https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/fcfec910-0b34-4505-a2a2-d2a0f184af41/download/sales-of-electricity-by-type-of-tariff-2017-2021.csv",
|
| 62 |
+
"retrieved_at": "2026-07-16T17:57:00Z",
|
| 63 |
+
"tag_names": "Commercial; Domestic; ceb; gwh; industrial; tarrif"
|
| 64 |
+
},
|
| 65 |
+
"year_max": 2021,
|
| 66 |
+
"year_min": 2017
|
| 67 |
+
}
|