CollosaAI commited on
Commit
336c0fb
·
verified ·
1 Parent(s): b57be46

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - mauritius
16
+ - official-statistics
17
+ - open-data
18
+ - energy
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: data/train-00000-of-00001.parquet
24
+ pretty_name: "Sales of electricity by type of tariff | Africa (Mauritius official open data)"
25
+ ---
26
+
27
+ # Sales of electricity by type of tariff | Africa (Mauritius official open data)
28
+
29
+ 163 rows - 1 Africa country - 2017-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
+
31
+ ![rows](https://img.shields.io/badge/rows-163-blue)
32
+ ![countries](https://img.shields.io/badge/countries-1-green)
33
+ ![years](https://img.shields.io/badge/years-2017-2021-orange)
34
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
35
+ ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
36
+
37
+ ## TL;DR
38
+
39
+ This dataset packages one official `XLSX` resource from **Mauritius** as
40
+ ML-ready Parquet. The source file is the provenance boundary; all usable
41
+ indicators or tabular columns from the resource stay together in this repo.
42
+
43
+ ## About the source
44
+
45
+ - **Source:** [Sales of electricity by type of tariff](https://data.govmu.org/dataset/sales-electricity-type-tariff)
46
+ - **Publisher:** MDPA
47
+ - **Resource:** [Digest_Industrial_Stats_Yr21_281022_sourceFile.xlsx](https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/e754caf8-029f-4b07-bd14-9265052c8860/download/digest_industrial_stats_yr21_281022_sourcefile.xlsx)
48
+ - **Format:** `XLSX`
49
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
50
+ - **Packaging mode:** `tabular_resource`
51
+
52
+ ## Geographic coverage
53
+
54
+ 1 Africa country:
55
+
56
+ | Country | Rows | First year | Last year | Name |
57
+ |---------|-----:|-----------:|----------:|------|
58
+ | `MU` | 163 | 2017 | 2021 | `Mauritius` |
59
+
60
+ ## Indicators or Resource Contents
61
+
62
+ - This source file is packaged as a normalized tabular resource.
63
+
64
+ ## Schema
65
+
66
+ | Column | Type | Description | Example |
67
+ |--------|------|-------------|---------|
68
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `e754caf8-029f-4b07-bd14-9265052c8860:symbols-abbreviation-acronym:0` |
69
+ | `country_iso3` | `category` | ISO3 country code. | `MU` |
70
+ | `country_name` | `category` | Country name. | `Mauritius` |
71
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Symbols, Abbreviation & Acronym` |
72
+ | `column` | `string` | Source column. | `N.A : Not available` |
73
+ | `not_applicable_or_nil` | `string` | Source column. | `` |
74
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2017` |
75
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
76
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2017-2021` |
77
+ | `source_provider` | `category` | Publishing organization. | `MDPA` |
78
+ | `source_dataset` | `category` | Source package title. | `Sales of electricity by type of tariff` |
79
+ | `source_resource` | `category` | Source resource title. | `Digest_Industrial_Stats_Yr21_281022_sourceFile.xlsx` |
80
+ | `source_package_id` | `category` | CKAN package UUID. | `89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7` |
81
+ | `source_resource_id` | `category` | CKAN resource UUID. | `e754caf8-029f-4b07-bd14-9265052c8860` |
82
+ | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/reso` |
83
+ | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
84
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
85
+ | `d_1_mining_and_quarrying` | `string` | Source column. | `` |
86
+ | `the_activity_of_mining_and_quarrying_comprises_activitie` | `string` | Source column. | `` |
87
+ | `productivity_and_unit_labour_cost_indices` | `string` | Source column. | `` |
88
+ | `introduction` | `string` | Source column. | `` |
89
+ | `d_1_coverage` | `string` | Source column. | `` |
90
+ | `the_industrial_sector_according_to_the_international_rec` | `string` | Source column. | `` |
91
+ | `2017` | `string` | Source column. | `` |
92
+ | `d_872_698676` | `float64` | Source column. | `` |
93
+ | `d_420876` | `float64` | Source column. | `` |
94
+ | `d_951_9582607637849` | `float64` | Source column. | `` |
95
+ | `d_42761` | `float64` | Source column. | `` |
96
+ | `d_755_253732` | `float64` | Source column. | `` |
97
+ | `d_6353` | `float64` | Source column. | `` |
98
+ | `d_38_212101636206356` | `float64` | Source column. | `` |
99
+ | `d_676` | `float64` | Source column. | `` |
100
+ | `d_2618_122770399991` | `float64` | Source column. | `` |
101
+ | `d_470666` | `float64` | Source column. | `` |
102
+
103
+ ## Usage
104
+
105
+ ```python
106
+ from datasets import load_dataset
107
+
108
+ ds = load_dataset("electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-fc65bded")
109
+ df = ds["train"].to_pandas()
110
+ print(df.head())
111
+ ```
112
+
113
+ ### Filter to one country
114
+
115
+ ```python
116
+ sample_country = df[df["country_iso3"] == "MU"]
117
+ ```
118
+
119
+ ### Work with indicators
120
+
121
+ ```python
122
+ if "indicator_id" in df.columns:
123
+ print(df["indicator_id"].value_counts().head())
124
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
125
+ ```
126
+
127
+ ## Citation
128
+
129
+ ```bibtex
130
+ @misc{electric_sheep_africa_africa_mauritius_sales_of_electricity_by_type_of_tariff_fc65bded_2021,
131
+ title = {Sales of electricity by type of tariff | Africa (Mauritius official open data)},
132
+ author = {MDPA},
133
+ year = {2021},
134
+ url = {https://data.govmu.org/dataset/sales-electricity-type-tariff},
135
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
136
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-fc65bded}}
137
+ }
138
+ ```
139
+
140
+ ## License
141
+
142
+ Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
143
+
144
+ Original data (c) MDPA. When using this dataset, please cite both the
145
+ original source above and the Electric Sheep Africa repackaging.
146
+
147
+ ## About Electric Sheep
148
+
149
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
150
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
151
+ open sources, normalize the schemas, package as Parquet, and publish with
152
+ consistent dataset cards so researchers and developers can use `load_dataset()`
153
+ to start working in seconds.
154
+
155
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
156
+
157
+ ---
158
+
159
+ Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
160
+ https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/e754caf8-029f-4b07-bd14-9265052c8860/download/digest_industrial_stats_yr21_281022_sourcefile.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c35e72f3b67688bf4ea55caa8d8d3881a4ee47d009b7a5882e44b2206e5fcbf
3
+ size 34493
metadata/source_snapshot.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "column",
8
+ "not_applicable_or_nil",
9
+ "source_period_start_year",
10
+ "source_period_end_year",
11
+ "source_period_label",
12
+ "source_provider",
13
+ "source_dataset",
14
+ "source_resource",
15
+ "source_package_id",
16
+ "source_resource_id",
17
+ "source_url",
18
+ "license_id",
19
+ "retrieved_at",
20
+ "d_1_mining_and_quarrying",
21
+ "the_activity_of_mining_and_quarrying_comprises_activitie",
22
+ "productivity_and_unit_labour_cost_indices",
23
+ "introduction",
24
+ "d_1_coverage",
25
+ "the_industrial_sector_according_to_the_international_rec",
26
+ "2017",
27
+ "d_872_698676",
28
+ "d_420876",
29
+ "d_951_9582607637849",
30
+ "d_42761",
31
+ "d_755_253732",
32
+ "d_6353",
33
+ "d_38_212101636206356",
34
+ "d_676",
35
+ "d_2618_122770399991",
36
+ "d_470666"
37
+ ],
38
+ "generated_at": "2026-08-08T16:33:00Z",
39
+ "indicator_count": 0,
40
+ "mode": "tabular_resource",
41
+ "repo_id": "electricsheepafrica/africa-mauritius-sales-of-electricity-by-type-of-tariff-fc65bded",
42
+ "rows": 163,
43
+ "source": {
44
+ "api_base_url": "https://data.govmu.org",
45
+ "country_iso3": "MU",
46
+ "country_name": "Mauritius",
47
+ "group_names": "environment-and-natural-resources",
48
+ "license_id": "CC-BY-SA-4.0",
49
+ "license_title": "CC-BY-SA-4.0",
50
+ "license_url": "",
51
+ "organization_id": "fba989d1-7b9a-4338-901c-978558936a9b",
52
+ "organization_name": "mdpa",
53
+ "organization_title": "MDPA",
54
+ "package_author": "",
55
+ "package_id": "89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7",
56
+ "package_maintainer": "Open Data Mauritius",
57
+ "package_metadata_created": "2024-09-30T12:44:18.643647",
58
+ "package_metadata_modified": "2026-04-14T17:55:58.829560",
59
+ "package_name": "sales-electricity-type-tariff",
60
+ "package_notes": "<p>Data shows electricity sold by type of tariff for the year 2017 to 2021</p>",
61
+ "package_page_url": "https://data.govmu.org/dataset/sales-electricity-type-tariff",
62
+ "package_private": "False",
63
+ "package_state": "active",
64
+ "package_title": "Sales of electricity by type of tariff",
65
+ "package_version": "",
66
+ "portal_url": "https://data.govmu.org",
67
+ "resource_created": "2024-09-30T12:44:22.381351",
68
+ "resource_datastore_active": "True",
69
+ "resource_description": "",
70
+ "resource_format": "XLSX",
71
+ "resource_hash": "751ca96741b80af972deb0457cb31dc3",
72
+ "resource_id": "e754caf8-029f-4b07-bd14-9265052c8860",
73
+ "resource_last_modified": "2024-09-30T12:44:22.351465",
74
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
75
+ "resource_name": "Digest_Industrial_Stats_Yr21_281022_sourceFile.xlsx",
76
+ "resource_position": "3",
77
+ "resource_size": "41337",
78
+ "resource_state": "active",
79
+ "resource_url": "https://data.govmu.org/dataset/89d7ecdc-fff6-4dce-a4a0-7edcc597b5c7/resource/e754caf8-029f-4b07-bd14-9265052c8860/download/digest_industrial_stats_yr21_281022_sourcefile.xlsx",
80
+ "retrieved_at": "2026-08-08T16:23:36Z",
81
+ "tag_names": "Commercial; Domestic; ceb; gwh; industrial; tarrif"
82
+ },
83
+ "year_max": 2021,
84
+ "year_min": 2017
85
+ }