Olaroti commited on
Commit
db026db
·
verified ·
1 Parent(s): 11cb114

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +136 -72
README.md CHANGED
@@ -5,89 +5,111 @@ language:
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
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/train-00000-of-00001.parquet
23
- pretty_name: "Budget Data Ministry of Technology, Communication and Innovation | Africa (Mauritius official open data)"
24
  ---
25
 
26
- # Budget Data Ministry of Technology, Communication and Innovation | Africa (Mauritius official open data)
27
 
28
- 236 rows - 1 Africa country - 2017 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-236-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-2017-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
- ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
35
 
36
  ## TL;DR
37
 
38
- This dataset packages one official `XLSX` resource from **Mauritius** as
39
- ML-ready Parquet. The source file is the provenance boundary; all usable
40
- indicators or tabular columns from the resource stay together in this repo.
41
 
42
- ## About the source
43
 
44
- - **Source:** [Budget Data Ministry of Technology, Communication and Innovation](https://data.govmu.org/dataset/budget-data-ministry-technology-communication-and-innovation)
45
- - **Publisher:** MDPA
46
- - **Resource:** [SOURCE_Budget_Data_MTCI_2017_18_0.xlsx](https://data.govmu.org/dataset/15b1c856-4065-4d61-a838-2bbc4e03c2b7/resource/d333faef-d9ab-40c6-bab7-ff26c8fa49eb/download/source_budget_data_mtci_2017_18_0.xlsx)
47
- - **Format:** `XLSX`
48
- - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
49
- - **Packaging mode:** `tabular_resource`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- ## Geographic coverage
52
 
53
- 1 Africa country:
54
 
55
- | Country | Rows | First year | Last year | Name |
56
- |---------|-----:|-----------:|----------:|------|
57
  | `MU` | 236 | 2017 | 2017 | `Mauritius` |
58
 
59
- ## Indicators or Resource Contents
60
 
61
- - This source file is packaged as a normalized tabular resource.
62
 
63
  ## Schema
64
 
65
  | Column | Type | Description | Example |
66
  |--------|------|-------------|---------|
67
- | `source_record_id` | `string` | Stable row identifier for tabular resources. | `d333faef-d9ab-40c6-bab7-ff26c8fa49eb:sheet1:0` |
68
- | `country_iso3` | `category` | ISO3 country code. | `MU` |
69
- | `country_name` | `category` | Country name. | `Mauritius` |
70
- | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Sheet1` |
71
- | `year` | `Int64` | Observation year. | `2017` |
72
- | `d_21110` | `float64` | Source column. | `0.001` |
73
- | `personal_emoluments` | `string` | Source column. | `Basic Salary` |
74
- | `in_post_mar_17` | `float64` | Source column. | `` |
75
- | `funded_2017_18` | `float64` | Source column. | `` |
76
- | `d_56940000` | `float64` | Source column. | `44960000.0` |
77
- | `d_55930000` | `float64` | Source column. | `45440000.0` |
78
- | `d_61735000` | `float64` | Source column. | `50935000.0` |
79
- | `d_62935000` | `float64` | Source column. | `51935000.0` |
80
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2017` |
81
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2017` |
82
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2017` |
83
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
84
- | `source_dataset` | `category` | Source package title. | `Budget Data Ministry of Technology, Communication and Innovation` |
85
- | `source_resource` | `category` | Source resource title. | `SOURCE_Budget_Data_MTCI_2017_18_0.xlsx` |
86
- | `source_package_id` | `category` | CKAN package UUID. | `15b1c856-4065-4d61-a838-2bbc4e03c2b7` |
87
- | `source_resource_id` | `category` | CKAN resource UUID. | `d333faef-d9ab-40c6-bab7-ff26c8fa49eb` |
88
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/15b1c856-4065-4d61-a838-2bbc4e03c2b7/reso` |
89
- | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
90
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
91
 
92
  ## Usage
93
 
@@ -99,29 +121,77 @@ df = ds["train"].to_pandas()
99
  print(df.head())
100
  ```
101
 
102
- ### Filter to one country
103
 
104
  ```python
105
- sample_country = df[df["country_iso3"] == "MU"]
 
106
  ```
107
 
108
- ### Work with indicators
109
 
110
  ```python
111
- if "indicator_id" in df.columns:
112
- print(df["indicator_id"].value_counts().head())
113
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
114
  ```
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  ## Citation
117
 
118
  ```bibtex
119
  @misc{electric_sheep_africa_africa_mauritius_budget_data_ministry_of_technology_communication_and_innov_6866_2017,
120
- title = {Budget Data Ministry of Technology, Communication and Innovation | Africa (Mauritius official open data)},
121
  author = {MDPA},
122
  year = {2017},
123
  url = {https://data.govmu.org/dataset/budget-data-ministry-technology-communication-and-innovation},
124
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
125
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-budget-data-ministry-of-technology-communication-and-innov-6866de02}}
126
  }
127
  ```
@@ -130,20 +200,14 @@ if "indicator_id" in df.columns:
130
 
131
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
132
 
133
- Original data (c) MDPA. When using this dataset, please cite both the
134
- original source above and the Electric Sheep Africa repackaging.
135
-
136
- ## About Electric Sheep
137
 
138
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
139
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
140
- open sources, normalize the schemas, package as Parquet, and publish with
141
- consistent dataset cards so researchers and developers can use `load_dataset()`
142
- to start working in seconds.
143
 
144
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
145
 
146
  ---
147
 
148
- Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
149
- https://data.govmu.org/dataset/15b1c856-4065-4d61-a838-2bbc4e03c2b7/resource/d333faef-d9ab-40c6-bab7-ff26c8fa49eb/download/source_budget_data_mtci_2017_18_0.xlsx
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
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
+ - "finance-and-trade"
20
+ - "budget"
21
+ - "cib"
22
+ - "cisd"
23
+ - "mtci"
24
+ - "itsu"
25
  configs:
26
  - config_name: default
27
  data_files:
28
  - split: train
29
  path: data/train-00000-of-00001.parquet
30
+ pretty_name: "Budget Data Ministry of Technology Communication and Innov | Africa (MDPA)"
31
  ---
32
 
33
+ # Budget Data Ministry of Technology Communication and Innov | Africa (MDPA)
34
 
35
+ **236 rows** - **1 Africa country/area** - **2017** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
36
 
37
  ![rows](https://img.shields.io/badge/rows-236-blue)
38
  ![countries](https://img.shields.io/badge/countries-1-green)
39
+ ![period](https://img.shields.io/badge/period-2017-orange)
40
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
41
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
42
 
43
  ## TL;DR
44
 
45
+ This dataset contains **236 rows** from **MDPA**, covering **Budget Data Ministry of Technology Communication and Innov**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
46
 
47
+ ## What This Dataset Measures
48
 
49
+ Economic datasets help analysts examine production, prices, public finance, trade flows, market conditions, and macroeconomic change.
50
+
51
+ Source-provided context: Budget Data for years 2016-2017, 2017-2018, 2018-2019 for MTCI, CISD, CIB and ITSU
52
+
53
+ ## How To Read This Dataset
54
+
55
+ - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
56
+ - **Primary geography column:** `country_iso3`.
57
+ - **Best time column:** `year`.
58
+ - **Time coverage basis:** year.
59
+ - **Recommended join keys:** `country_iso3` where available plus source-specific keys.
60
+
61
+ ## Coverage
62
+
63
+ | Dimension | Value |
64
+ |---|---:|
65
+ | Rows | 236 |
66
+ | Countries/areas | 1 |
67
+ | First period | 2017 |
68
+ | Last period | 2017 |
69
+ | Indicators | 0 |
70
+ | Columns | 24 |
71
+ | Source format | XLSX |
72
 
73
+ ## Geographic Coverage
74
 
75
+ Top areas shown below, sorted by row count when available:
76
 
77
+ | Area | Rows | First year | Last year | Name |
78
+ |------|-----:|-----------:|----------:|------|
79
  | `MU` | 236 | 2017 | 2017 | `Mauritius` |
80
 
81
+ ## Indicators, Variables, Or Resource Contents
82
 
83
+ - This repo preserves one source tabular resource with its usable columns kept together.
84
 
85
  ## Schema
86
 
87
  | Column | Type | Description | Example |
88
  |--------|------|-------------|---------|
89
+ | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `d333faef-d9ab-40c6-bab7-ff26c8fa49eb:sheet1:0` |
90
+ | `country_iso3` | `dictionary<values=string, indices=int8, ordered=0>` | ISO3 country or area code. | `MU` |
91
+ | `country_name` | `dictionary<values=string, indices=int8, ordered=0>` | Country or area name. | `Mauritius` |
92
+ | `source_sheet` | `string` | Source column from the original resource. | `Sheet1` |
93
+ | `year` | `int64` | Observation year. | `2017` |
94
+ | `d_21110` | `double` | Source column from the original resource. | `0.001` |
95
+ | `personal_emoluments` | `string` | Source column from the original resource. | `Basic Salary` |
96
+ | `in_post_mar_17` | `double` | Source column from the original resource. | `` |
97
+ | `funded_2017_18` | `double` | Source column from the original resource. | `` |
98
+ | `d_56940000` | `double` | Source column from the original resource. | `44960000.0` |
99
+ | `d_55930000` | `double` | Source column from the original resource. | `45440000.0` |
100
+ | `d_61735000` | `double` | Source column from the original resource. | `50935000.0` |
101
+ | `d_62935000` | `double` | Source column from the original resource. | `51935000.0` |
102
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2017` |
103
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2017` |
104
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2017` |
105
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
106
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Budget Data Ministry of Technology, Communication and Innovation` |
107
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `SOURCE_Budget_Data_MTCI_2017_18_0.xlsx` |
108
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `15b1c856-4065-4d61-a838-2bbc4e03c2b7` |
109
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `d333faef-d9ab-40c6-bab7-ff26c8fa49eb` |
110
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/15b1c856-4065-4d61-a838-2bbc4e03c2b7/r...` |
111
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `CC-BY-SA-4.0` |
112
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` |
113
 
114
  ## Usage
115
 
 
121
  print(df.head())
122
  ```
123
 
124
+ ### Inspect Columns
125
 
126
  ```python
127
+ print(df.info())
128
+ print(df.head())
129
  ```
130
 
131
+ ### Filter By Geography
132
 
133
  ```python
134
+ if "country_iso3" in df.columns:
135
+ sample = df[df["country_iso3"] == "MU"]
 
136
  ```
137
 
138
+ ### Time-Series Pattern
139
+
140
+ ```python
141
+ if "value" in df.columns and "year" in df.columns:
142
+ trend = df.sort_values("year")
143
+ ```
144
+
145
+ ### Pivot For Analysis
146
+
147
+ ```python
148
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
149
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
150
+ print(matrix.tail())
151
+ ```
152
+
153
+ ## Data Quality Notes
154
+
155
+ - Canonical time field: `year`.
156
+ - Missing values are preserved rather than silently imputed.
157
+ - Column names are standardized for machine use; source meanings are preserved where known.
158
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
159
+
160
+ ## Source And Provenance
161
+
162
+ - **Source:** [MDPA](https://data.govmu.org/dataset/budget-data-ministry-technology-communication-and-innovation)
163
+ - **Publisher:** MDPA
164
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
165
+ - **Resource:** [SOURCE_Budget_Data_MTCI_2017_18_0.xlsx](https://data.govmu.org/dataset/15b1c856-4065-4d61-a838-2bbc4e03c2b7/resource/d333faef-d9ab-40c6-bab7-ff26c8fa49eb/download/source_budget_data_mtci_2017_18_0.xlsx)
166
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
167
+ - **Retrieved/generated:** `2026-08-08T16:28:30Z`
168
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-budget-data-ministry-of-technology-communication-and-innov-6866de02](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-budget-data-ministry-of-technology-communication-and-innov-6866de02)
169
+
170
+ ## Transformations Applied
171
+
172
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
173
+ - Added or preserved source provenance columns where available.
174
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
175
+ - Preserved source-reported values without analytical imputation.
176
+
177
+ ## Suggested Analyses
178
+
179
+ - Build time-series dashboards
180
+ - Compare economic indicators
181
+ - Join with population or sector data
182
+ - Build time-series views and period-over-period comparisons
183
+ - Check missingness before modeling
184
+ - Use `country_iso3` as the safest geography join key when present
185
+
186
  ## Citation
187
 
188
  ```bibtex
189
  @misc{electric_sheep_africa_africa_mauritius_budget_data_ministry_of_technology_communication_and_innov_6866_2017,
190
+ title = {Budget Data Ministry of Technology Communication and Innov | Africa (MDPA)},
191
  author = {MDPA},
192
  year = {2017},
193
  url = {https://data.govmu.org/dataset/budget-data-ministry-technology-communication-and-innovation},
194
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
195
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-budget-data-ministry-of-technology-communication-and-innov-6866de02}}
196
  }
197
  ```
 
200
 
201
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
202
 
203
+ Original data is published by MDPA. Electric Sheep Africa
204
+ engineering standardizes the data for discovery, loading, and analysis on
205
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
206
 
207
+ ## About Electric Sheep Africa
 
 
 
 
208
 
209
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
210
 
211
  ---
212
 
213
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/budget-data-ministry-technology-communication-and-innovation