Olaroti commited on
Commit
e035bf4
·
verified ·
1 Parent(s): 3af1655

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +142 -81
README.md CHANGED
@@ -5,97 +5,115 @@ 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
- - agriculture
 
 
 
19
  configs:
20
  - config_name: default
21
  data_files:
22
  - split: train
23
  path: data/train-00000-of-00001.parquet
24
- pretty_name: "Monthly Production of Food Crops in Protected Cultures – Soil Culture | Africa (Mauritius official open data)"
25
  ---
26
 
27
- # Monthly Production of Food Crops in Protected Cultures – Soil Culture | Africa (Mauritius official open data)
28
 
29
- 54 rows - 1 Africa country - 2019 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
 
31
  ![rows](https://img.shields.io/badge/rows-54-blue)
32
  ![countries](https://img.shields.io/badge/countries-1-green)
33
- ![years](https://img.shields.io/badge/years-2019-orange)
34
  ![indicators](https://img.shields.io/badge/indicators-12-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 `CSV` 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:** [Monthly Production of Food Crops in Protected Cultures – Soil Culture](https://data.govmu.org/dataset/monthly-production-food-crops-protected-cultures-soil-culture)
46
- - **Publisher:** MDPA
47
- - **Resource:** [Monthly-Production-of-Food-Crops-in-Protected-Cultures-Soil-Culture.csv](https://data.govmu.org/dataset/c2a0704a-ed0b-4e57-83b0-eec548689672/resource/b0d7171b-5992-41bf-9d39-e473cba65d0e/download/monthly-production-of-food-crops-in-protected-cultures-soil-culture.csv)
48
- - **Format:** `CSV`
49
- - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
50
- - **Packaging mode:** `indicator_long`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
- ## Geographic coverage
53
 
54
- 1 Africa country:
55
 
56
- | Country | Rows | First year | Last year | Name |
57
- |---------|-----:|-----------:|----------:|------|
58
  | `MU` | 54 | 2019 | 2019 | `Mauritius` |
59
 
60
- ## Indicators or Resource Contents
61
-
62
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-janu-5d419f86` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - january
63
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-febr-5f91cc45` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - february
64
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-marc-f44a67ef` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - march
65
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-apri-b36b566d` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - april
66
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-may-6e1bb676` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - may
67
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-june-39b22f2b` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - june
68
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-july-60e2f861` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - july
69
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-augu-c191d315` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - august
70
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-sept-a3b28fca` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - september
71
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-octo-cb49eab5` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - october
72
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-nove-8b54f706` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - november
73
- - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-dece-6b47c025` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - december
74
 
75
  ## Schema
76
 
77
  | Column | Type | Description | Example |
78
  |--------|------|-------------|---------|
79
- | `indicator_id` | `string` | Stable indicator identifier. | `monthly-production-of-food-crops-in-protected-cultures-soil-culture-janu` |
80
- | `indicator_name` | `string` | Human-readable indicator name. | `Monthly Production of Food Crops in Protected Cultures – Soil Culture - ` |
81
- | `country_iso3` | `string` | ISO3 country code. | `MU` |
82
- | `country_name` | `string` | Country name. | `Mauritius` |
83
- | `year` | `Int64` | Observation year. | `2019` |
84
- | `value` | `float64` | Numeric observation value. | `2.22` |
85
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
86
- | `dimension_category_food_crops` | `string` | Source dimension. | `Cucumber` |
87
- | `dimension_sub_category_food_crops` | `string` | Source dimension. | `` |
88
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2019` |
89
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2019` |
90
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2019` |
91
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
92
- | `source_dataset` | `category` | Source package title. | `Monthly Production of Food Crops in Protected Cultures – Soil Culture` |
93
- | `source_resource` | `category` | Source resource title. | `Monthly-Production-of-Food-Crops-in-Protected-Cultures-Soil-Culture.csv` |
94
- | `source_package_id` | `category` | CKAN package UUID. | `c2a0704a-ed0b-4e57-83b0-eec548689672` |
95
- | `source_resource_id` | `category` | CKAN resource UUID. | `b0d7171b-5992-41bf-9d39-e473cba65d0e` |
96
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/c2a0704a-ed0b-4e57-83b0-eec548689672/reso` |
97
- | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
98
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
99
 
100
  ## Usage
101
 
@@ -107,29 +125,78 @@ df = ds["train"].to_pandas()
107
  print(df.head())
108
  ```
109
 
110
- ### Filter to one country
111
 
112
  ```python
113
- sample_country = df[df["country_iso3"] == "MU"]
 
114
  ```
115
 
116
- ### Work with indicators
117
 
118
  ```python
119
- if "indicator_id" in df.columns:
120
- print(df["indicator_id"].value_counts().head())
121
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
122
  ```
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  ## Citation
125
 
126
  ```bibtex
127
  @misc{electric_sheep_africa_africa_mauritius_monthly_production_of_food_crops_in_protected_cultures_soi_d3ae_2019,
128
- title = {Monthly Production of Food Crops in Protected Cultures – Soil Culture | Africa (Mauritius official open data)},
129
  author = {MDPA},
130
  year = {2019},
131
  url = {https://data.govmu.org/dataset/monthly-production-food-crops-protected-cultures-soil-culture},
132
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
133
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-production-of-food-crops-in-protected-cultures-soi-d3aea346}}
134
  }
135
  ```
@@ -138,20 +205,14 @@ if "indicator_id" in df.columns:
138
 
139
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
140
 
141
- Original data (c) MDPA. When using this dataset, please cite both the
142
- original source above and the Electric Sheep Africa repackaging.
143
-
144
- ## About Electric Sheep
145
 
146
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
147
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
148
- open sources, normalize the schemas, package as Parquet, and publish with
149
- consistent dataset cards so researchers and developers can use `load_dataset()`
150
- to start working in seconds.
151
 
152
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
153
 
154
  ---
155
 
156
- Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
157
- https://data.govmu.org/dataset/c2a0704a-ed0b-4e57-83b0-eec548689672/resource/b0d7171b-5992-41bf-9d39-e473cba65d0e/download/monthly-production-of-food-crops-in-protected-cultures-soil-culture.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
+ - "agriculture"
19
+ - "production"
20
+ - "protected-cultures"
21
+ - "vegetables"
22
  configs:
23
  - config_name: default
24
  data_files:
25
  - split: train
26
  path: data/train-00000-of-00001.parquet
27
+ pretty_name: "Monthly Production of Food Crops in Protected Cultures Soi | Africa (MDPA)"
28
  ---
29
 
30
+ # Monthly Production of Food Crops in Protected Cultures Soi | Africa (MDPA)
31
 
32
+ **54 rows** - **1 Africa country/area** - **2019** - **12 indicators** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
33
 
34
  ![rows](https://img.shields.io/badge/rows-54-blue)
35
  ![countries](https://img.shields.io/badge/countries-1-green)
36
+ ![period](https://img.shields.io/badge/period-2019-orange)
37
  ![indicators](https://img.shields.io/badge/indicators-12-purple)
38
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
39
 
40
  ## TL;DR
41
 
42
+ This dataset contains **54 rows** from **MDPA**, covering **Monthly Production of Food Crops in Protected Cultures Soi**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
43
 
44
+ ## What This Dataset Measures
45
 
46
+ Agriculture datasets help analysts examine production, prices, inputs, land use, food systems, and rural economic activity.
47
+
48
+ Source-provided context: Monthly Production of Vegetables in Protected Cultures - Soil Cultures for the year 2019 in Mauritius
49
+
50
+ ## How To Read This Dataset
51
+
52
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
53
+ - **Primary geography column:** `country_iso3`.
54
+ - **Best time column:** `year`.
55
+ - **Time coverage basis:** year.
56
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
57
+
58
+ ## Coverage
59
+
60
+ | Dimension | Value |
61
+ |---|---:|
62
+ | Rows | 54 |
63
+ | Countries/areas | 1 |
64
+ | First period | 2019 |
65
+ | Last period | 2019 |
66
+ | Indicators | 12 |
67
+ | Columns | 20 |
68
+ | Source format | CSV |
69
 
70
+ ## Geographic Coverage
71
 
72
+ Top areas shown below, sorted by row count when available:
73
 
74
+ | Area | Rows | First year | Last year | Name |
75
+ |------|-----:|-----------:|----------:|------|
76
  | `MU` | 54 | 2019 | 2019 | `Mauritius` |
77
 
78
+ ## Indicators, Variables, Or Resource Contents
79
+
80
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-janu-5d419f86` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - january(source_units_unspecified)
81
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-febr-5f91cc45` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - february(source_units_unspecified)
82
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-marc-f44a67ef` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - march(source_units_unspecified)
83
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-apri-b36b566d` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - april(source_units_unspecified)
84
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-may-6e1bb676` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - may(source_units_unspecified)
85
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-june-39b22f2b` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - june(source_units_unspecified)
86
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-july-60e2f861` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - july(source_units_unspecified)
87
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-augu-c191d315` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - august(source_units_unspecified)
88
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-sept-a3b28fca` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - september(source_units_unspecified)
89
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-octo-cb49eab5` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - october(source_units_unspecified)
90
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-nove-8b54f706` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - november(source_units_unspecified)
91
+ - `monthly-production-of-food-crops-in-protected-cultures-soil-culture-dece-6b47c025` - Monthly Production of Food Crops in Protected Cultures – Soil Culture - december(source_units_unspecified)
92
 
93
  ## Schema
94
 
95
  | Column | Type | Description | Example |
96
  |--------|------|-------------|---------|
97
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `monthly-production-of-food-crops-in-protected-cultures-soil-culture-j...` |
98
+ | `indicator_name` | `string` | Human-readable indicator name. | `Monthly Production of Food Crops in Protected Cultures – Soil Culture...` |
99
+ | `country_iso3` | `string` | ISO3 country or area code. | `MU` |
100
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
101
+ | `year` | `int64` | Observation year. | `2019` |
102
+ | `value` | `double` | Numeric observation value. | `2.22` |
103
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
104
+ | `dimension_category_food_crops` | `string` | Source dimension retained during long-form normalization. | `Cucumber` |
105
+ | `dimension_sub_category_food_crops` | `string` | Source dimension retained during long-form normalization. | `` |
106
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2019` |
107
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2019` |
108
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2019` |
109
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
110
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Monthly Production of Food Crops in Protected Cultures – Soil Culture` |
111
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `Monthly-Production-of-Food-Crops-in-Protected-Cultures-Soil-Culture.csv` |
112
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `c2a0704a-ed0b-4e57-83b0-eec548689672` |
113
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `b0d7171b-5992-41bf-9d39-e473cba65d0e` |
114
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/c2a0704a-ed0b-4e57-83b0-eec548689672/r...` |
115
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `CC-BY-SA-4.0` |
116
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` |
117
 
118
  ## Usage
119
 
 
125
  print(df.head())
126
  ```
127
 
128
+ ### Inspect Columns
129
 
130
  ```python
131
+ print(df.info())
132
+ print(df.head())
133
  ```
134
 
135
+ ### Filter By Geography
136
 
137
  ```python
138
+ if "country_iso3" in df.columns:
139
+ sample = df[df["country_iso3"] == "MU"]
 
140
  ```
141
 
142
+ ### Time-Series Pattern
143
+
144
+ ```python
145
+ if "value" in df.columns and "year" in df.columns:
146
+ trend = df.sort_values("year")
147
+ ```
148
+
149
+ ### Pivot For Analysis
150
+
151
+ ```python
152
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
153
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
154
+ print(matrix.tail())
155
+ ```
156
+
157
+ ## Data Quality Notes
158
+
159
+ - Canonical time field: `year`.
160
+ - Missing values are preserved rather than silently imputed.
161
+ - Column names are standardized for machine use; source meanings are preserved where known.
162
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
163
+
164
+ ## Source And Provenance
165
+
166
+ - **Source:** [MDPA](https://data.govmu.org/dataset/monthly-production-food-crops-protected-cultures-soil-culture)
167
+ - **Publisher:** MDPA
168
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
169
+ - **Resource:** [Monthly-Production-of-Food-Crops-in-Protected-Cultures-Soil-Culture.csv](https://data.govmu.org/dataset/c2a0704a-ed0b-4e57-83b0-eec548689672/resource/b0d7171b-5992-41bf-9d39-e473cba65d0e/download/monthly-production-of-food-crops-in-protected-cultures-soil-culture.csv)
170
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
171
+ - **Retrieved/generated:** `2026-08-08T17:13:19Z`
172
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-monthly-production-of-food-crops-in-protected-cultures-soi-d3aea346](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-production-of-food-crops-in-protected-cultures-soi-d3aea346)
173
+
174
+ ## Transformations Applied
175
+
176
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
177
+ - Added or preserved source provenance columns where available.
178
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
179
+ - Preserved source-reported values without analytical imputation.
180
+
181
+ ## Suggested Analyses
182
+
183
+ - Track production or price movements
184
+ - Compare regions or commodities
185
+ - Join with climate and trade data
186
+ - Build time-series views and period-over-period comparisons
187
+ - Pivot to geography x period or indicator x period matrices
188
+ - Check missingness before modeling
189
+ - Use `country_iso3` as the safest geography join key when present
190
+
191
  ## Citation
192
 
193
  ```bibtex
194
  @misc{electric_sheep_africa_africa_mauritius_monthly_production_of_food_crops_in_protected_cultures_soi_d3ae_2019,
195
+ title = {Monthly Production of Food Crops in Protected Cultures Soi | Africa (MDPA)},
196
  author = {MDPA},
197
  year = {2019},
198
  url = {https://data.govmu.org/dataset/monthly-production-food-crops-protected-cultures-soil-culture},
199
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
200
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-monthly-production-of-food-crops-in-protected-cultures-soi-d3aea346}}
201
  }
202
  ```
 
205
 
206
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
207
 
208
+ Original data is published by MDPA. Electric Sheep Africa
209
+ engineering standardizes the data for discovery, loading, and analysis on
210
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
211
 
212
+ ## About Electric Sheep Africa
 
 
 
 
213
 
214
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
215
 
216
  ---
217
 
218
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/monthly-production-food-crops-protected-cultures-soil-culture