Olaroti commited on
Commit
f0a8fa0
·
verified ·
1 Parent(s): 169169d

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +138 -73
README.md CHANGED
@@ -5,91 +5,113 @@ 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
- - csv
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: "Data_Budget Data 2016-2017 - Judiciary | Africa (Mauritius official open data)"
24
  ---
25
 
26
- # Data_Budget Data 2016-2017 - Judiciary | Africa (Mauritius official open data)
27
 
28
- 264 rows - 1 Africa country - 2015-2018 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-264-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-2015-2018-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-3-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 `CSV` 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:** [Data_Budget Data 2016-2017 - Judiciary](https://data.govmu.org/dataset/databudget-data-2016-2017-judiciary)
45
- - **Publisher:** MDPA
46
- - **Resource:** [Data-_Judiciary-20162017_0.csv](https://data.govmu.org/dataset/970bb7f7-8138-4293-8c0d-ccb888f4bf54/resource/85939184-9e93-4e28-a8ef-34484f6bd3c0/download/data-_judiciary-20162017_0.csv)
47
- - **Format:** `CSV`
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` | 264 | 2015 | 2018 | `Mauritius` |
58
 
59
- ## Indicators or Resource Contents
60
 
61
- - `data-budget-data-2016-2017-judiciary-item-no-0a9a39c4` - Data_Budget Data 2016-2017 - Judiciary - item no
62
- - `data-budget-data-2016-2017-judiciary-end-financial-year-51664213` - Data_Budget Data 2016-2017 - Judiciary - end financial year
63
- - `data-budget-data-2016-2017-judiciary-amount-152d916a` - Data_Budget Data 2016-2017 - Judiciary - amount
64
 
65
  ## Schema
66
 
67
  | Column | Type | Description | Example |
68
  |--------|------|-------------|---------|
69
- | `indicator_id` | `string` | Stable indicator identifier. | `data-budget-data-2016-2017-judiciary-item-no-0a9a39c4` |
70
  | `indicator_name` | `string` | Human-readable indicator name. | `Data_Budget Data 2016-2017 - Judiciary - item no` |
71
- | `country_iso3` | `string` | ISO3 country code. | `MU` |
72
- | `country_name` | `string` | Country name. | `Mauritius` |
73
- | `year` | `Int64` | Observation year. | `2015` |
74
- | `value` | `float64` | Numeric observation value. | `21110.0` |
75
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
76
- | `dimension_head` | `string` | Source dimension. | `THE JUDICIARY` |
77
- | `dimension_sub_head` | `string` | Source dimension. | `THE JUDICIARY` |
78
- | `dimension_expense_type` | `string` | Source dimension. | `Reccurrent Expenditure` |
79
- | `dimension_category` | `string` | Source dimension. | `Compensation of Employees` |
80
- | `dimension_sub_category` | `string` | Source dimension. | `Personal Emoluments` |
81
- | `dimension_financial_status` | `string` | Source dimension. | `Estimates` |
82
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2016` |
83
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2017` |
84
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2016-2017` |
85
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
86
- | `source_dataset` | `category` | Source package title. | `Data_Budget Data 2016-2017 - Judiciary` |
87
- | `source_resource` | `category` | Source resource title. | `Data-_Judiciary-20162017_0.csv` |
88
- | `source_package_id` | `category` | CKAN package UUID. | `970bb7f7-8138-4293-8c0d-ccb888f4bf54` |
89
- | `source_resource_id` | `category` | CKAN resource UUID. | `85939184-9e93-4e28-a8ef-34484f6bd3c0` |
90
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/970bb7f7-8138-4293-8c0d-ccb888f4bf54/reso` |
91
- | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
92
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
93
 
94
  ## Usage
95
 
@@ -101,29 +123,78 @@ df = ds["train"].to_pandas()
101
  print(df.head())
102
  ```
103
 
104
- ### Filter to one country
105
 
106
  ```python
107
- sample_country = df[df["country_iso3"] == "MU"]
 
108
  ```
109
 
110
- ### Work with indicators
111
 
112
  ```python
113
- if "indicator_id" in df.columns:
114
- print(df["indicator_id"].value_counts().head())
115
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
116
  ```
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  ## Citation
119
 
120
  ```bibtex
121
  @misc{electric_sheep_africa_africa_mauritius_data_budget_data_2016_2017_judiciary_2a4ede9a_2018,
122
- title = {Data_Budget Data 2016-2017 - Judiciary | Africa (Mauritius official open data)},
123
  author = {MDPA},
124
  year = {2018},
125
  url = {https://data.govmu.org/dataset/databudget-data-2016-2017-judiciary},
126
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
127
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-data-budget-data-2016-2017-judiciary-2a4ede9a}}
128
  }
129
  ```
@@ -132,20 +203,14 @@ if "indicator_id" in df.columns:
132
 
133
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
134
 
135
- Original data (c) MDPA. When using this dataset, please cite both the
136
- original source above and the Electric Sheep Africa repackaging.
137
-
138
- ## About Electric Sheep
139
 
140
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
141
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
142
- open sources, normalize the schemas, package as Parquet, and publish with
143
- consistent dataset cards so researchers and developers can use `load_dataset()`
144
- to start working in seconds.
145
 
146
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
147
 
148
  ---
149
 
150
- Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
151
- https://data.govmu.org/dataset/970bb7f7-8138-4293-8c0d-ccb888f4bf54/resource/85939184-9e93-4e28-a8ef-34484f6bd3c0/download/data-_judiciary-20162017_0.csv
 
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
+ - "economics"
19
+ - "finance-and-trade"
20
+ - "judiciary"
21
+ - "budget-data"
22
+ - "budget-data-judiciary-2016-2017"
23
+ - "estimates"
24
+ - "recurrent-expenditure"
25
  configs:
26
  - config_name: default
27
  data_files:
28
  - split: train
29
  path: data/train-00000-of-00001.parquet
30
+ pretty_name: "Data Budget Data 2016 2017 Judiciary | Africa (MDPA)"
31
  ---
32
 
33
+ # Data Budget Data 2016 2017 Judiciary | Africa (MDPA)
34
 
35
+ **264 rows** - **1 Africa country/area** - **2015-2018** - **3 indicators** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
36
 
37
  ![rows](https://img.shields.io/badge/rows-264-blue)
38
  ![countries](https://img.shields.io/badge/countries-1-green)
39
+ ![period](https://img.shields.io/badge/period-2015--2018-orange)
40
  ![indicators](https://img.shields.io/badge/indicators-3-purple)
41
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
42
 
43
  ## TL;DR
44
 
45
+ This dataset contains **264 rows** from **MDPA**, covering **Data Budget Data 2016 2017 Judiciary**. 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
+ This dataset covers **Data Budget Data 2016 2017 Judiciary** from **MDPA**. Use the source and schema sections below to confirm definitions, units, and collection methodology before sensitive analytical use.
52
+
53
+ ## How To Read This Dataset
54
+
55
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
56
+ - **Primary geography column:** `country_iso3`.
57
+ - **Best time column:** `year`.
58
+ - **Time coverage basis:** year.
59
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
60
+
61
+ ## Coverage
62
+
63
+ | Dimension | Value |
64
+ |---|---:|
65
+ | Rows | 264 |
66
+ | Countries/areas | 1 |
67
+ | First period | 2015 |
68
+ | Last period | 2018 |
69
+ | Indicators | 3 |
70
+ | Columns | 24 |
71
+ | Source format | CSV |
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` | 264 | 2015 | 2018 | `Mauritius` |
80
 
81
+ ## Indicators, Variables, Or Resource Contents
82
 
83
+ - `data-budget-data-2016-2017-judiciary-item-no-0a9a39c4` - Data_Budget Data 2016-2017 - Judiciary - item no(source_units_unspecified)
84
+ - `data-budget-data-2016-2017-judiciary-end-financial-year-51664213` - Data_Budget Data 2016-2017 - Judiciary - end financial year(source_units_unspecified)
85
+ - `data-budget-data-2016-2017-judiciary-amount-152d916a` - Data_Budget Data 2016-2017 - Judiciary - amount(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. | `data-budget-data-2016-2017-judiciary-item-no-0a9a39c4` |
92
  | `indicator_name` | `string` | Human-readable indicator name. | `Data_Budget Data 2016-2017 - Judiciary - item no` |
93
+ | `country_iso3` | `string` | ISO3 country or area code. | `MU` |
94
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
95
+ | `year` | `int64` | Observation year. | `2015` |
96
+ | `value` | `double` | Numeric observation value. | `21110.0` |
97
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
98
+ | `dimension_head` | `string` | Source dimension retained during long-form normalization. | `THE JUDICIARY` |
99
+ | `dimension_sub_head` | `string` | Source dimension retained during long-form normalization. | `THE JUDICIARY` |
100
+ | `dimension_expense_type` | `string` | Source dimension retained during long-form normalization. | `Reccurrent Expenditure` |
101
+ | `dimension_category` | `string` | Source dimension retained during long-form normalization. | `Compensation of Employees` |
102
+ | `dimension_sub_category` | `string` | Source dimension retained during long-form normalization. | `Personal Emoluments` |
103
+ | `dimension_financial_status` | `string` | Source dimension retained during long-form normalization. | `Estimates` |
104
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2016` |
105
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2017` |
106
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2016-2017` |
107
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
108
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Data_Budget Data 2016-2017 - Judiciary` |
109
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `Data-_Judiciary-20162017_0.csv` |
110
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `970bb7f7-8138-4293-8c0d-ccb888f4bf54` |
111
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `85939184-9e93-4e28-a8ef-34484f6bd3c0` |
112
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/970bb7f7-8138-4293-8c0d-ccb888f4bf54/r...` |
113
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `CC-BY-SA-4.0` |
114
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` |
115
 
116
  ## Usage
117
 
 
123
  print(df.head())
124
  ```
125
 
126
+ ### Inspect Columns
127
 
128
  ```python
129
+ print(df.info())
130
+ print(df.head())
131
  ```
132
 
133
+ ### Filter By Geography
134
 
135
  ```python
136
+ if "country_iso3" in df.columns:
137
+ sample = df[df["country_iso3"] == "MU"]
 
138
  ```
139
 
140
+ ### Time-Series Pattern
141
+
142
+ ```python
143
+ if "value" in df.columns and "year" in df.columns:
144
+ trend = df.sort_values("year")
145
+ ```
146
+
147
+ ### Pivot For Analysis
148
+
149
+ ```python
150
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
151
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
152
+ print(matrix.tail())
153
+ ```
154
+
155
+ ## Data Quality Notes
156
+
157
+ - Canonical time field: `year`.
158
+ - Missing values are preserved rather than silently imputed.
159
+ - Column names are standardized for machine use; source meanings are preserved where known.
160
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
161
+
162
+ ## Source And Provenance
163
+
164
+ - **Source:** [MDPA](https://data.govmu.org/dataset/databudget-data-2016-2017-judiciary)
165
+ - **Publisher:** MDPA
166
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
167
+ - **Resource:** [Data-_Judiciary-20162017_0.csv](https://data.govmu.org/dataset/970bb7f7-8138-4293-8c0d-ccb888f4bf54/resource/85939184-9e93-4e28-a8ef-34484f6bd3c0/download/data-_judiciary-20162017_0.csv)
168
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
169
+ - **Retrieved/generated:** `2026-08-08T16:46:07Z`
170
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-data-budget-data-2016-2017-judiciary-2a4ede9a](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-data-budget-data-2016-2017-judiciary-2a4ede9a)
171
+
172
+ ## Transformations Applied
173
+
174
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
175
+ - Added or preserved source provenance columns where available.
176
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
177
+ - Preserved source-reported values without analytical imputation.
178
+
179
+ ## Suggested Analyses
180
+
181
+ - Build time-series dashboards
182
+ - Compare economic indicators
183
+ - Join with population or sector data
184
+ - Build time-series views and period-over-period comparisons
185
+ - Pivot to geography x period or indicator x period matrices
186
+ - Check missingness before modeling
187
+ - Use `country_iso3` as the safest geography join key when present
188
+
189
  ## Citation
190
 
191
  ```bibtex
192
  @misc{electric_sheep_africa_africa_mauritius_data_budget_data_2016_2017_judiciary_2a4ede9a_2018,
193
+ title = {Data Budget Data 2016 2017 Judiciary | Africa (MDPA)},
194
  author = {MDPA},
195
  year = {2018},
196
  url = {https://data.govmu.org/dataset/databudget-data-2016-2017-judiciary},
197
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
198
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-data-budget-data-2016-2017-judiciary-2a4ede9a}}
199
  }
200
  ```
 
203
 
204
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
205
 
206
+ Original data is published by MDPA. Electric Sheep Africa
207
+ engineering standardizes the data for discovery, loading, and analysis on
208
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
209
 
210
+ ## About Electric Sheep Africa
 
 
 
 
211
 
212
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
213
 
214
  ---
215
 
216
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/databudget-data-2016-2017-judiciary