Kossiesa's picture
Add ML-ready official indicator dataset
af3b56c verified
|
Raw
History Blame
5.61 kB
---
license: cc-by-sa-4.0
language:
- en
task_categories:
- tabular-regression
- time-series-forecasting
multilinguality: monolingual
size_categories:
- n<1K
tags:
- tabular
- csv
- africa
- mauritius
- official-statistics
- open-data
- energy
pretty_name: "Sales of electricity by type of tariff | Africa (Mauritius official open data)"
---
# Sales of electricity by type of tariff | Africa (Mauritius official open data)
40 rows - 1 Africa country - 2017-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
![rows](https://img.shields.io/badge/rows-40-blue)
![countries](https://img.shields.io/badge/countries-1-green)
![years](https://img.shields.io/badge/years-2017-2021-orange)
![indicators](https://img.shields.io/badge/indicators-2-purple)
![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
## TL;DR
This dataset packages one official CSV resource from **Mauritius** as
ML-ready Parquet. The CSV is the provenance boundary; all usable indicators or
tabular columns from the source file stay together in this repo.
## About the source
- **Source:** [Sales of electricity by type of tariff](https://data.govmu.org/dataset/sales-electricity-type-tariff)
- **Publisher:** MDPA
- **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)
- **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
- **Packaging mode:** `indicator_long`
## Geographic coverage
1 Africa country:
| Country | Rows | First year | Last year | Name |
|---------|-----:|-----------:|----------:|------|
| `MUS` | 40 | 2017 | 2021 | `Mauritius` |
## Indicators or Resource Contents
- `sales-of-electricity-by-type-of-tariff-sales-87e5c027` - Sales of electricity by type of tariff - sales
- `sales-of-electricity-by-type-of-tariff-no-of-consumers-8d7fb54e` - Sales of electricity by type of tariff - no of consumers
## Schema
| Column | Type | Description | Example |
|--------|------|-------------|---------|
| `indicator_id` | `object` | Stable indicator identifier. | `sales-of-electricity-by-type-of-tariff-sales-87e5c027` |
| `indicator_name` | `object` | Human-readable indicator name. | `Sales of electricity by type of tariff - sales` |
| `country_iso3` | `object` | ISO3 country code. | `MUS` |
| `country_name` | `object` | Country name. | `Mauritius` |
| `year` | `Int64` | Observation year. | `2017` |
| `value` | `float64` | Numeric observation value. | `872.7` |
| `unit` | `object` | Measurement unit, when available. | `source_units_unspecified` |
| `dimension_type_of_tarrif` | `string` | Source dimension. | `Domestic` |
| `source_provider` | `object` | Publishing organization. | `MDPA` |
| `source_dataset` | `object` | Source package title. | `Sales of electricity by type of tariff` |
| `source_resource` | `object` | Source resource title. | `Sales-of-electricity-by-type-of-tariff-2017-2021.csv` |
| `source_package_id` | `object` | CKAN package UUID. | `89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7` |
| `source_resource_id` | `object` | CKAN resource UUID. | `fcfec910-0b34-4505-a2a2-d2a0f184af41` |
| `source_url` | `object` | Original CSV URL. | `https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/reso` |
| `license_id` | `object` | Source license identifier. | `CC-BY-SA-4.0` |
| `retrieved_at` | `object` | UTC retrieval timestamp. | `2026-07-16T19:23:24Z` |
## Usage
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-8e98e883")
df = ds["train"].to_pandas()
print(df.head())
```
### Filter to one country
```python
sample_country = df[df["country_iso3"] == "MUS"]
```
### Work with indicators
```python
if "indicator_id" in df.columns:
print(df["indicator_id"].value_counts().head())
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
```
## Citation
```bibtex
@misc{electric_sheep_africa_africa_mauritius_sales_of_electricity_by_type_of_tariff_8e98e883_2021,
title = {Sales of electricity by type of tariff | Africa (Mauritius official open data)},
author = {MDPA},
year = {2021},
url = {https://data.govmu.org/dataset/sales-electricity-type-tariff},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-8e98e883}}
}
```
## License
Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
Original data (c) MDPA. When using this dataset, please cite both the
original source above and the Electric Sheep Africa repackaging.
## About Electric Sheep
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
open sources, normalize the schemas, package as Parquet, and publish with
consistent dataset cards so researchers and developers can use `load_dataset()`
to start working in seconds.
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
---
Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source 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