Olaroti commited on
Commit
597bbb8
·
verified ·
1 Parent(s): 3b9a221

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +133 -70
README.md CHANGED
@@ -5,88 +5,108 @@ 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
- - xls
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: "Wage Rate Indices | Africa (Mauritius official open data)"
24
  ---
25
 
26
- # Wage Rate Indices | Africa (Mauritius official open data)
27
 
28
- 114 rows - 1 Africa country - 1993-2015 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-114-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-1993-2015-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-5-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 `XLS` 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:** [Wage Rate Indices](https://data.govmu.org/dataset/wage-rate-indices)
45
- - **Publisher:** MDPA
46
- - **Resource:** [SOURCE-Wage-Rate-Indices-multi-base-1993-2016.xls](https://data.govmu.org/dataset/8d3de531-1b13-4cf0-aa8d-2bdfceb7245c/resource/08d12f43-d0ef-46fb-a707-272eea974efc/download/source-wage-rate-indices-multi-base-1993-2016.xls)
47
- - **Format:** `XLS`
48
- - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
49
- - **Packaging mode:** `indicator_long`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- ## Geographic coverage
52
 
53
- 1 Africa country:
54
 
55
- | Country | Rows | First year | Last year | Name |
56
- |---------|-----:|-----------:|----------:|------|
57
  | `MU` | 114 | 1993 | 2015 | `Mauritius` |
58
 
59
- ## Indicators or Resource Contents
60
 
61
- - `wage-rate-indices-base-3rd-quarter-1992-100-5d0c11f8` - Wage Rate Indices - base 3rd quarter 1992 100
62
- - `wage-rate-indices-base-3rd-quarter-2000-100-7c6af6c9` - Wage Rate Indices - base 3rd quarter 2000 100
63
- - `wage-rate-indices-base-3rd-quarter-2006-100-e365ac48` - Wage Rate Indices - base 3rd quarter 2006 100
64
- - `wage-rate-indices-base-4th-quarter-2011-100-0c099b16` - Wage Rate Indices - base 4th quarter 2011 100
65
- - `wage-rate-indices-annual-percentage-change-a3460382` - Wage Rate Indices - annual percentage change
66
 
67
  ## Schema
68
 
69
  | Column | Type | Description | Example |
70
  |--------|------|-------------|---------|
71
- | `indicator_id` | `string` | Stable indicator identifier. | `wage-rate-indices-base-3rd-quarter-1992-100-5d0c11f8` |
72
  | `indicator_name` | `string` | Human-readable indicator name. | `Wage Rate Indices - base 3rd quarter 1992 100` |
73
- | `country_iso3` | `string` | ISO3 country code. | `MU` |
74
- | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Sheet1` |
75
- | `country_name` | `string` | Country name. | `Mauritius` |
76
- | `year` | `Int64` | Observation year. | `1993` |
77
- | `value` | `float64` | Numeric observation value. | `115.5` |
78
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
79
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `1993` |
80
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2016` |
81
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `1993-2016` |
82
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
83
- | `source_dataset` | `category` | Source package title. | `Wage Rate Indices` |
84
- | `source_resource` | `category` | Source resource title. | `SOURCE-Wage-Rate-Indices-multi-base-1993-2016.xls` |
85
- | `source_package_id` | `category` | CKAN package UUID. | `8d3de531-1b13-4cf0-aa8d-2bdfceb7245c` |
86
- | `source_resource_id` | `category` | CKAN resource UUID. | `08d12f43-d0ef-46fb-a707-272eea974efc` |
87
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/8d3de531-1b13-4cf0-aa8d-2bdfceb7245c/reso` |
88
- | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
89
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
90
 
91
  ## Usage
92
 
@@ -98,29 +118,78 @@ df = ds["train"].to_pandas()
98
  print(df.head())
99
  ```
100
 
101
- ### Filter to one country
102
 
103
  ```python
104
- sample_country = df[df["country_iso3"] == "MU"]
 
105
  ```
106
 
107
- ### Work with indicators
108
 
109
  ```python
110
- if "indicator_id" in df.columns:
111
- print(df["indicator_id"].value_counts().head())
112
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
113
  ```
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  ## Citation
116
 
117
  ```bibtex
118
  @misc{electric_sheep_africa_africa_mauritius_wage_rate_indices_219a0ef4_2015,
119
- title = {Wage Rate Indices | Africa (Mauritius official open data)},
120
  author = {MDPA},
121
  year = {2015},
122
  url = {https://data.govmu.org/dataset/wage-rate-indices},
123
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
124
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-wage-rate-indices-219a0ef4}}
125
  }
126
  ```
@@ -129,20 +198,14 @@ if "indicator_id" in df.columns:
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-08-08 via the Electric Sheep pipeline. Source URL:
148
- https://data.govmu.org/dataset/8d3de531-1b13-4cf0-aa8d-2bdfceb7245c/resource/08d12f43-d0ef-46fb-a707-272eea974efc/download/source-wage-rate-indices-multi-base-1993-2016.xls
 
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
+ - "labor"
19
+ - "demography-and-employment"
20
+ - "indices"
21
+ - "multi-base"
22
+ - "wage"
23
  configs:
24
  - config_name: default
25
  data_files:
26
  - split: train
27
  path: data/train-00000-of-00001.parquet
28
+ pretty_name: "Wage Rate Indices | Africa (MDPA)"
29
  ---
30
 
31
+ # Wage Rate Indices | Africa (MDPA)
32
 
33
+ **114 rows** - **1 Africa country/area** - **1993-2015** - **5 indicators** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
34
 
35
  ![rows](https://img.shields.io/badge/rows-114-blue)
36
  ![countries](https://img.shields.io/badge/countries-1-green)
37
+ ![period](https://img.shields.io/badge/period-1993--2015-orange)
38
  ![indicators](https://img.shields.io/badge/indicators-5-purple)
39
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
40
 
41
  ## TL;DR
42
 
43
+ This dataset contains **114 rows** from **MDPA**, covering **Wage Rate Indices**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
44
 
45
+ ## What This Dataset Measures
46
 
47
+ Labour and workforce datasets help analysts study employment, participation, skills, sectoral structure, and the movement of people through work and livelihoods.
48
+
49
+ Source-provided context: Wage Rate Indices
50
+
51
+ ## How To Read This Dataset
52
+
53
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
54
+ - **Primary geography column:** `country_iso3`.
55
+ - **Best time column:** `year`.
56
+ - **Time coverage basis:** year.
57
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
58
+
59
+ ## Coverage
60
+
61
+ | Dimension | Value |
62
+ |---|---:|
63
+ | Rows | 114 |
64
+ | Countries/areas | 1 |
65
+ | First period | 1993 |
66
+ | Last period | 2015 |
67
+ | Indicators | 5 |
68
+ | Columns | 19 |
69
+ | Source format | XLS |
70
 
71
+ ## Geographic Coverage
72
 
73
+ Top areas shown below, sorted by row count when available:
74
 
75
+ | Area | Rows | First year | Last year | Name |
76
+ |------|-----:|-----------:|----------:|------|
77
  | `MU` | 114 | 1993 | 2015 | `Mauritius` |
78
 
79
+ ## Indicators, Variables, Or Resource Contents
80
 
81
+ - `wage-rate-indices-base-3rd-quarter-1992-100-5d0c11f8` - Wage Rate Indices - base 3rd quarter 1992 100(source_units_unspecified)
82
+ - `wage-rate-indices-base-3rd-quarter-2000-100-7c6af6c9` - Wage Rate Indices - base 3rd quarter 2000 100(source_units_unspecified)
83
+ - `wage-rate-indices-base-3rd-quarter-2006-100-e365ac48` - Wage Rate Indices - base 3rd quarter 2006 100(source_units_unspecified)
84
+ - `wage-rate-indices-base-4th-quarter-2011-100-0c099b16` - Wage Rate Indices - base 4th quarter 2011 100(source_units_unspecified)
85
+ - `wage-rate-indices-annual-percentage-change-a3460382` - Wage Rate Indices - annual percentage change(source_units_unspecified)
86
 
87
  ## Schema
88
 
89
  | Column | Type | Description | Example |
90
  |--------|------|-------------|---------|
91
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `wage-rate-indices-base-3rd-quarter-1992-100-5d0c11f8` |
92
  | `indicator_name` | `string` | Human-readable indicator name. | `Wage Rate Indices - base 3rd quarter 1992 100` |
93
+ | `country_iso3` | `string` | ISO3 country or area code. | `MU` |
94
+ | `source_sheet` | `string` | Source column from the original resource. | `Sheet1` |
95
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
96
+ | `year` | `int64` | Observation year. | `1993` |
97
+ | `value` | `double` | Numeric observation value. | `115.5` |
98
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
99
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `1993` |
100
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2016` |
101
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `1993-2016` |
102
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
103
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Wage Rate Indices` |
104
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `SOURCE-Wage-Rate-Indices-multi-base-1993-2016.xls` |
105
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `8d3de531-1b13-4cf0-aa8d-2bdfceb7245c` |
106
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `08d12f43-d0ef-46fb-a707-272eea974efc` |
107
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/8d3de531-1b13-4cf0-aa8d-2bdfceb7245c/r...` |
108
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `CC-BY-SA-4.0` |
109
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` |
110
 
111
  ## Usage
112
 
 
118
  print(df.head())
119
  ```
120
 
121
+ ### Inspect Columns
122
 
123
  ```python
124
+ print(df.info())
125
+ print(df.head())
126
  ```
127
 
128
+ ### Filter By Geography
129
 
130
  ```python
131
+ if "country_iso3" in df.columns:
132
+ sample = df[df["country_iso3"] == "MU"]
 
133
  ```
134
 
135
+ ### Time-Series Pattern
136
+
137
+ ```python
138
+ if "value" in df.columns and "year" in df.columns:
139
+ trend = df.sort_values("year")
140
+ ```
141
+
142
+ ### Pivot For Analysis
143
+
144
+ ```python
145
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
146
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
147
+ print(matrix.tail())
148
+ ```
149
+
150
+ ## Data Quality Notes
151
+
152
+ - Canonical time field: `year`.
153
+ - Missing values are preserved rather than silently imputed.
154
+ - Column names are standardized for machine use; source meanings are preserved where known.
155
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
156
+
157
+ ## Source And Provenance
158
+
159
+ - **Source:** [MDPA](https://data.govmu.org/dataset/wage-rate-indices)
160
+ - **Publisher:** MDPA
161
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
162
+ - **Resource:** [SOURCE-Wage-Rate-Indices-multi-base-1993-2016.xls](https://data.govmu.org/dataset/8d3de531-1b13-4cf0-aa8d-2bdfceb7245c/resource/08d12f43-d0ef-46fb-a707-272eea974efc/download/source-wage-rate-indices-multi-base-1993-2016.xls)
163
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
164
+ - **Retrieved/generated:** `2026-08-08T17:19:06Z`
165
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-wage-rate-indices-219a0ef4](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-wage-rate-indices-219a0ef4)
166
+
167
+ ## Transformations Applied
168
+
169
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
170
+ - Added or preserved source provenance columns where available.
171
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
172
+ - Preserved source-reported values without analytical imputation.
173
+
174
+ ## Suggested Analyses
175
+
176
+ - Track workforce composition over time
177
+ - Compare employment patterns across groups
178
+ - Join with education, population, and sector data
179
+ - Build time-series views and period-over-period comparisons
180
+ - Pivot to geography x period or indicator x period matrices
181
+ - Check missingness before modeling
182
+ - Use `country_iso3` as the safest geography join key when present
183
+
184
  ## Citation
185
 
186
  ```bibtex
187
  @misc{electric_sheep_africa_africa_mauritius_wage_rate_indices_219a0ef4_2015,
188
+ title = {Wage Rate Indices | Africa (MDPA)},
189
  author = {MDPA},
190
  year = {2015},
191
  url = {https://data.govmu.org/dataset/wage-rate-indices},
192
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
193
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-wage-rate-indices-219a0ef4}}
194
  }
195
  ```
 
198
 
199
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
200
 
201
+ Original data is published by MDPA. Electric Sheep Africa
202
+ engineering standardizes the data for discovery, loading, and analysis on
203
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
204
 
205
+ ## About Electric Sheep Africa
 
 
 
 
206
 
207
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
208
 
209
  ---
210
 
211
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/wage-rate-indices