Olaroti commited on
Commit
43455cc
·
verified ·
1 Parent(s): 2cec8e3

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +121 -48
README.md CHANGED
@@ -2,68 +2,141 @@
2
  license: cc-by-4.0
3
  language:
4
  - en
 
 
 
 
 
 
5
  tags:
6
- - africa
7
- - faostat
8
- - agriculture
9
- - food-security
10
- - tabular
11
- pretty_name: "Emissions from Crops — Africa (FAOSTAT)"
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
- # Emissions from Crops — Africa
15
-
16
- **Source:** [FAOSTAT Emissions from Crops](https://www.fao.org/faostat/en/#data/GCE)
17
- **Domain code:** `GCE`
18
- **Publisher:** Food and Agriculture Organization of the United Nations (FAO)
19
- **Coverage:** 51 African countries · 1961–2050 · 157,809 rows
20
- **Items:** 14 · **Elements:** 18
21
-
22
- ## About
23
-
24
- FAOSTAT is the world's largest and most comprehensive statistical database on food, agriculture, fisheries,
25
- forestry, and rural development. This dataset contains the **Emissions from Crops** domain filtered to all available
26
- African countries, repackaged in ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).
27
-
28
- ## Schema
29
-
30
- | Column | Type |
31
- |--------|------|
32
- | `Domain Code` | object |
33
- | `Domain` | object |
34
- | `Area Code` | int64 |
35
- | `Area` | object |
36
- | `Element Code` | int64 |
37
- | `Element` | object |
38
- | `Item Code` | int64 |
39
- | `Item` | object |
40
- | `Year Code` | int64 |
41
- | `Year` | object |
42
- | `Source Code` | int64 |
43
- | `Source` | object |
44
- | `Unit` | object |
45
- | `Value` | float64 |
 
 
 
 
 
 
 
 
46
 
47
  ## Usage
48
 
49
  ```python
50
  from datasets import load_dataset
51
- ds = load_dataset("electricsheepafrica/africa-faostat-gce")
52
- df = ds["train"].to_pandas()
 
 
 
 
 
 
53
  ```
54
 
55
- ## Citation
 
 
 
56
 
 
 
 
 
57
  ```
58
- @misc{faostat_gce_africa,
59
- title = {Emissions from Crops — Africa},
60
- author = {Food and Agriculture Organization of the United Nations},
61
- year = {2050},
62
- url = {https://www.fao.org/faostat/en/#data/GCE},
63
- note = {Repackaged by Electric Sheep Africa}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
  ```
66
 
67
  ## License
68
 
69
- [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) — FAO open data.
 
 
 
 
 
 
 
 
 
 
 
2
  license: cc-by-4.0
3
  language:
4
  - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 100K<n<1M
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "agriculture-food"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "faostat"
21
+ - "agriculture"
22
+ - "food-security"
23
+ - "food"
24
+ - "fisheries"
25
+ - "forestry"
26
+ pretty_name: "Emissions from Crops — Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)"
27
  ---
28
 
29
+ # Emissions from Crops — Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)
30
+
31
+ **Size category:** `100K<n<1M` - **Formats:** `parquet` - **Sector:** agriculture_food - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
+
33
+ ![size](https://img.shields.io/badge/size-100K%3Cn%3C1M-blue)
34
+ ![sector](https://img.shields.io/badge/sector-agriculture_food-green)
35
+ ![downloads](https://img.shields.io/badge/HF_downloads-7-orange)
36
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
37
+
38
+ ## TL;DR
39
+
40
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
41
+
42
+ ## What This Dataset Covers
43
+
44
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
45
+
46
+ Dataset context from the existing Hugging Face card: Emissions from Crops — Africa Source: FAOSTAT — Emissions from Crops Domain code: GCE Publisher: Food and Agriculture Organization of the United Nations (FAO) Coverage: 51 African countries · 1961–2050 · 157,809 rows Items: 14 · Elements: 18 About FAOSTAT is the world's largest and most comprehensive statistical database on food, agriculture, fisheries, forestry, and rural development. This dataset contains the Emissions from Crops domain filtered to all available African… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce.
47
+
48
+ ## Dataset Profile
49
+
50
+ | Field | Value |
51
+ |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-faostat-emissions-from-crops-gce`](https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce) |
53
+ | Sector | agriculture_food |
54
+ | Topic tags | faostat, agriculture, food-security, tabular |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `100K<n<1M` |
58
+ | Countries | Africa-wide or source-defined African coverage |
59
+ | ISO3 coverage | `not declared` |
60
+ | Last modified on HF | `2026-05-04 02:10:57+00:00` |
61
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
62
+
63
+ ## How To Read This Dataset
64
+
65
+ - Start from the repository files and the dataset viewer when available.
66
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
67
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
68
+ - Preserve missing values until you have a defensible imputation rule.
69
 
70
  ## Usage
71
 
72
  ```python
73
  from datasets import load_dataset
74
+
75
+ ds = load_dataset("electricsheepafrica/africa-faostat-emissions-from-crops-gce")
76
+ print(ds)
77
+
78
+ split_name = next(iter(ds))
79
+ table = ds[split_name]
80
+ print(table.features)
81
+ print(table[:3])
82
  ```
83
 
84
+ ### Convert To Pandas When Tabular
85
+
86
+ ```python
87
+ from datasets import Dataset
88
 
89
+ first_split = ds[next(iter(ds))]
90
+ if isinstance(first_split, Dataset):
91
+ df = first_split.to_pandas()
92
+ print(df.head())
93
  ```
94
+
95
+ ## Data Quality Notes
96
+
97
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
98
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
99
+ - Metadata gaps from the inventory: country, upstream_publisher.
100
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
101
+
102
+ ## Source And Provenance
103
+
104
+ - **Source context:** Electric Sheep Africa metadata inventory
105
+ - **Publisher/source attribution:** Public dataset metadata
106
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
107
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce](https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce)
108
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
109
+
110
+ ## Suggested Analyses
111
+
112
+ - Inspect schema and missingness before modeling.
113
+ - Profile variables by geography, time, and subgroup columns where present.
114
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
115
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
116
+
117
+ ## Citation
118
+
119
+ ```bibtex
120
+ @misc{electric_sheep_africa_africa_faostat_emissions_from_crops_gce_2026,
121
+ title = {Emissions from Crops — Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)},
122
+ author = {Public dataset metadata},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-faostat-emissions-from-crops-gce}}
127
  }
128
  ```
129
 
130
  ## License
131
 
132
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
133
+
134
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
135
+
136
+ ## About Electric Sheep Africa
137
+
138
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
139
+
140
+ ---
141
+
142
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.