Olaroti commited on
Commit
58c61f5
·
verified ·
1 Parent(s): 336261d

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +135 -69
README.md CHANGED
@@ -5,85 +5,109 @@ language:
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
- multilinguality: monolingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
- - tabular
13
- - csv
14
- - africa
15
- - cote-d-ivoire
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: "Proportion des ménages agricoles par région et type d'activité pratiquée (en %) | Africa (Côte d'Ivoire official open data)"
24
  ---
25
 
26
- # Proportion des ménages agricoles par région et type d'activité pratiquée (en %) | Africa (Côte d'Ivoire official open data)
27
 
28
- 33 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-33-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-not-applicable-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
  ![license](https://img.shields.io/badge/license-other-lightgrey)
35
 
36
  ## TL;DR
37
 
38
- This dataset packages one official `CSV` resource from **Côte d'Ivoire** 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:** [Proportion des ménages agricoles par région et type d'activité pratiquée (en %)](https://data.gouv.ci/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent)
45
- - **Publisher:** MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières)
46
- - **Resource:** [Proportion des ménages agricoles par région et type d'activité pratiquée (en %) CSV export](https://data.gouv.ci/data-fair/api/v1/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent/full)
47
- - **Format:** `CSV`
48
- - **License:** [Other open license]()
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
- | `CIV` | 33 | n/a | n/a | `Côte d'Ivoire` |
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. | `eh5340egnl734o0sy92tftkn:full:0` |
68
- | `country_iso3` | `category` | ISO3 country code. | `CIV` |
69
- | `country_name` | `category` | Country name. | `Côte d'Ivoire` |
70
- | `region` | `string` | Source column. | `Agnéby-Tiassa` |
71
- | `pratique_cultures_pct` | `float64` | Source column. | `93.7` |
72
- | `pratique_elevage_pct` | `float64` | Source column. | `36.9` |
73
- | `pratique_aquaculture_pct` | `float64` | Source column. | `0.3` |
74
- | `pratique_peche_pct` | `float64` | Source column. | `1.0` |
75
- | `pratique_sylviculture_pct` | `float64` | Source column. | `3.7` |
76
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
77
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
78
- | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
79
- | `source_provider` | `category` | Publishing organization. | `MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Ru` |
80
- | `source_dataset` | `category` | Source package title. | `Proportion des ménages agricoles par région et type d'activité pratiquée` |
81
- | `source_resource` | `category` | Source resource title. | `Proportion des ménages agricoles par région et type d'activité pratiquée` |
82
- | `source_package_id` | `category` | CKAN package UUID. | `eh5340egnl734o0sy92tftkn` |
83
- | `source_resource_id` | `category` | CKAN resource UUID. | `eh5340egnl734o0sy92tftkn:full` |
84
- | `source_url` | `category` | Original source resource URL. | `https://data.gouv.ci/data-fair/api/v1/datasets/proportion-des-menages-ag` |
85
- | `license_id` | `category` | Source license identifier. | `other-open` |
86
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-07-27T10:23:33Z` |
87
 
88
  ## Usage
89
 
@@ -95,51 +119,93 @@ df = ds["train"].to_pandas()
95
  print(df.head())
96
  ```
97
 
98
- ### Filter to one country
99
 
100
  ```python
101
- sample_country = df[df["country_iso3"] == "CIV"]
 
102
  ```
103
 
104
- ### Work with indicators
105
 
106
  ```python
107
- if "indicator_id" in df.columns:
108
- print(df["indicator_id"].value_counts().head())
109
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
110
  ```
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  ## Citation
113
 
114
  ```bibtex
115
  @misc{electric_sheep_africa_africa_cote_d_ivoire_proportion_des_menages_agricoles_par_region_et_type_d_acti_2026,
116
- title = {Proportion des ménages agricoles par région et type d'activité pratiquée (en %) | Africa (Côte d'Ivoire official open data)},
117
  author = {MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières)},
118
  year = {2026},
119
  url = {https://data.gouv.ci/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent},
120
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
121
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-cote-d-ivoire-proportion-des-menages-agricoles-par-region-et-type-d-acti-c0063351}}
122
  }
123
  ```
124
 
125
  ## License
126
 
127
- Released under [Other open license]().
128
-
129
- Original data (c) MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières). When using this dataset, please cite both the
130
- original source above and the Electric Sheep Africa repackaging.
131
 
132
- ## About Electric Sheep
 
 
133
 
134
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
135
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
136
- open sources, normalize the schemas, package as Parquet, and publish with
137
- consistent dataset cards so researchers and developers can use `load_dataset()`
138
- to start working in seconds.
139
 
140
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
141
 
142
  ---
143
 
144
- Provenance: ingested 2026-07-27 via the Electric Sheep pipeline. Source URL:
145
- https://data.gouv.ci/data-fair/api/v1/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent/full
 
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
+ - "cote-d-ivoire"
17
+ - "mc-reea-2024-minader-ministere-de-l-agriculture-du-developpement-rural-et-des-pr"
18
+ - "cote-d-ivoire-datafair"
19
+ - "agriculture"
20
+ - "region"
21
+ - "pratique-cultures-pct"
22
+ - "pratique-elevage-pct"
23
+ - "pratique-aquaculture-pct"
24
+ - "pratique-peche-pct"
25
+ - "pratique-sylviculture-pct"
26
+ - "identifiant"
27
  configs:
28
  - config_name: default
29
  data_files:
30
  - split: train
31
  path: data/train-00000-of-00001.parquet
32
+ pretty_name: "Proportion Des Menages Agricoles Par Region Et Type D Acti | Africa (Cote d'Ivoire DataFair)"
33
  ---
34
 
35
+ # Proportion Des Menages Agricoles Par Region Et Type D Acti | Africa (Cote d'Ivoire DataFair)
36
 
37
+ **33 rows** - **1 Africa country/area** - **detected** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
38
 
39
  ![rows](https://img.shields.io/badge/rows-33-blue)
40
  ![countries](https://img.shields.io/badge/countries-1-green)
41
+ ![period](https://img.shields.io/badge/period-detected-orange)
42
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
43
  ![license](https://img.shields.io/badge/license-other-lightgrey)
44
 
45
  ## TL;DR
46
 
47
+ This dataset contains **33 rows** from **Cote d'Ivoire DataFair**, covering **Proportion Des Menages Agricoles Par Region Et Type D Acti**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
48
 
49
+ ## What This Dataset Measures
50
 
51
+ Agriculture datasets help analysts examine production, prices, inputs, land use, food systems, and rural economic activity.
52
+
53
+ Source-provided context: Normalized CSV export exposed by the Data Fair API.
54
+
55
+ ## How To Read This Dataset
56
+
57
+ - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
58
+ - **Primary geography column:** `country_iso3`.
59
+ - **Best time column:** `source_period_start_year`.
60
+ - **Time coverage basis:** source_period_start_year.
61
+ - **Recommended join keys:** `country_iso3` where available plus source-specific keys.
62
+
63
+ ## Coverage
64
+
65
+ | Dimension | Value |
66
+ |---|---:|
67
+ | Rows | 33 |
68
+ | Countries/areas | 1 |
69
+ | First period | detected |
70
+ | Last period | detected |
71
+ | Indicators | 0 |
72
+ | Columns | 20 |
73
+ | Source format | CSV |
74
 
75
+ ## Geographic Coverage
76
 
77
+ Top areas shown below, sorted by row count when available:
78
 
79
+ | Area | Rows | First year | Last year | Name |
80
+ |------|-----:|-----------:|----------:|------|
81
+ | `CIV` | 33 | detected | detected | `Côte d'Ivoire` |
82
 
83
+ ## Indicators, Variables, Or Resource Contents
84
 
85
+ - This repo preserves one source tabular resource with its usable columns kept together.
86
 
87
  ## Schema
88
 
89
  | Column | Type | Description | Example |
90
  |--------|------|-------------|---------|
91
+ | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `eh5340egnl734o0sy92tftkn:full:0` |
92
+ | `country_iso3` | `dictionary<values=string, indices=int8, ordered=0>` | ISO3 country or area code. | `CIV` |
93
+ | `country_name` | `dictionary<values=string, indices=int8, ordered=0>` | Country or area name. | `Côte d'Ivoire` |
94
+ | `region` | `string` | Source column from the original resource. | `Agnéby-Tiassa` |
95
+ | `pratique_cultures_pct` | `double` | Source column from the original resource. | `93.7` |
96
+ | `pratique_elevage_pct` | `double` | Source column from the original resource. | `36.9` |
97
+ | `pratique_aquaculture_pct` | `double` | Source column from the original resource. | `0.3` |
98
+ | `pratique_peche_pct` | `double` | Source column from the original resource. | `1.0` |
99
+ | `pratique_sylviculture_pct` | `double` | Source column from the original resource. | `3.7` |
100
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `` |
101
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `` |
102
+ | `source_period_label` | `string` | Source column from the original resource. | `` |
103
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement...` |
104
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Proportion des ménages agricoles par région et type d'activité pratiq...` |
105
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `Proportion des ménages agricoles par région et type d'activité pratiq...` |
106
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `eh5340egnl734o0sy92tftkn` |
107
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `eh5340egnl734o0sy92tftkn:full` |
108
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.gouv.ci/data-fair/api/v1/datasets/proportion-des-menages...` |
109
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `other-open` |
110
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-27T10:23:33Z` |
111
 
112
  ## Usage
113
 
 
119
  print(df.head())
120
  ```
121
 
122
+ ### Inspect Columns
123
 
124
  ```python
125
+ print(df.info())
126
+ print(df.head())
127
  ```
128
 
129
+ ### Filter By Geography
130
 
131
  ```python
132
+ if "country_iso3" in df.columns:
133
+ sample = df[df["country_iso3"] == "CIV"]
 
134
  ```
135
 
136
+ ### Time-Series Pattern
137
+
138
+ ```python
139
+ if "value" in df.columns and "source_period_start_year" in df.columns:
140
+ trend = df.sort_values("source_period_start_year")
141
+ ```
142
+
143
+ ### Pivot For Analysis
144
+
145
+ ```python
146
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
147
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
148
+ print(matrix.tail())
149
+ ```
150
+
151
+ ## Data Quality Notes
152
+
153
+ - Canonical time field: `source_period_start_year`.
154
+ - Missing values are preserved rather than silently imputed.
155
+ - Column names are standardized for machine use; source meanings are preserved where known.
156
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
157
+
158
+ ## Source And Provenance
159
+
160
+ - **Source:** [Cote d'Ivoire DataFair](https://data.gouv.ci/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent)
161
+ - **Publisher:** MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières)
162
+ - **Portal:** [https://data.gouv.ci](https://data.gouv.ci)
163
+ - **Resource:** [Proportion des ménages agricoles par région et type d'activité pratiquée (en %) CSV export](https://data.gouv.ci/data-fair/api/v1/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent/full)
164
+ - **License:** other-open
165
+ - **Retrieved/generated:** `2026-07-27T10:23:35Z`
166
+ - **Hugging Face repo:** [electricsheepafrica/africa-cote-d-ivoire-proportion-des-menages-agricoles-par-region-et-type-d-acti-c0063351](https://huggingface.co/datasets/electricsheepafrica/africa-cote-d-ivoire-proportion-des-menages-agricoles-par-region-et-type-d-acti-c0063351)
167
+
168
+ ## Transformations Applied
169
+
170
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
171
+ - Added or preserved source provenance columns where available.
172
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
173
+ - Preserved source-reported values without analytical imputation.
174
+
175
+ ## Suggested Analyses
176
+
177
+ - Track production or price movements
178
+ - Compare regions or commodities
179
+ - Join with climate and trade data
180
+ - Build time-series views and period-over-period comparisons
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_cote_d_ivoire_proportion_des_menages_agricoles_par_region_et_type_d_acti_2026,
188
+ title = {Proportion Des Menages Agricoles Par Region Et Type D Acti | Africa (Cote d'Ivoire DataFair)},
189
  author = {MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières)},
190
  year = {2026},
191
  url = {https://data.gouv.ci/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent},
192
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
193
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-cote-d-ivoire-proportion-des-menages-agricoles-par-region-et-type-d-acti-c0063351}}
194
  }
195
  ```
196
 
197
  ## License
198
 
199
+ Released under other-open.
 
 
 
200
 
201
+ Original data is published by MC-REEA, 2024 — MINADER (Ministère de l'Agriculture, du Développement Rural et des Productions Vivrières). 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.gouv.ci/datasets/proportion-des-menages-agricoles-par-region-et-type-dactivite-pratiquee-en-percent