Olaroti commited on
Commit
3dfb347
·
verified ·
1 Parent(s): a9957ca

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +94 -92
README.md CHANGED
@@ -5,80 +5,69 @@ language:
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
- - time-series-forecasting
9
  multilinguality: monolingual
10
  size_categories:
11
  - 1K<n<10K
12
  tags:
13
- - tabular
14
- - africa
15
- - faostat-(fao)
16
- - climate-change
17
- - faostat
18
- - fao
19
- - agriculture
20
- - food-security
21
- - time-series
22
- pretty_name: "Emissions from Forests — Area | Africa (FAOSTAT)"
 
 
 
 
 
 
 
23
  ---
24
 
25
- # Emissions from Forests — Area | Africa (FAOSTAT)
26
 
27
- 🌍 **6,115 observations** · **54 Africa countries** · **1990–2025** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
28
 
29
- ![rows](https://img.shields.io/badge/rows-6,115-blue) ![countries](https://img.shields.io/badge/countries-54-green) ![years](https://img.shields.io/badge/years-1990–2025-orange) ![indicators](https://img.shields.io/badge/indicators-3-purple) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
 
 
 
30
 
31
  ## TL;DR
32
 
33
- This dataset contains **6,115 observations** of `Climate Change` data across **54 Africa countries**, spanning **1990–2025**, covering **3 distinct indicators**.
34
-
35
- ## About the source
36
-
37
- - **Source:** [FAOSTAT (FAO)](https://www.fao.org/faostat/en/#data/GF)
38
- - **Publisher:** Food and Agriculture Organization of the United Nations (FAO)
39
- - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
40
- - **Topic:** Climate Change
41
-
42
- ## Geographic coverage
43
-
44
- 54 Africa countries · top rows shown below, sorted by row count:
45
-
46
- | Country | Rows | First year | Last year |
47
- |---------|-----:|-----------:|----------:|
48
- | `Namibia` | 174 | 1990 | 2025 |
49
- | `Ghana` | 174 | 1990 | 2025 |
50
- | `Kenya` | 158 | 1990 | 2025 |
51
- | `South Africa` | 154 | 1990 | 2025 |
52
- | `Rwanda` | 142 | 1990 | 2025 |
53
- | `Algeria` | 141 | 1990 | 2025 |
54
- | `Côte d'Ivoire` | 141 | 1990 | 2025 |
55
- | `Guinea-Bissau` | 134 | 1990 | 2025 |
56
- | `Nigeria` | 131 | 1990 | 2025 |
57
- | `Mauritius` | 131 | 1990 | 2025 |
58
- | `Morocco` | 120 | 1990 | 2025 |
59
- | `Democratic Republic of the Congo` | 119 | 1990 | 2025 |
60
- | `Zimbabwe` | 115 | 1990 | 2025 |
61
- | `Liberia` | 111 | 1990 | 2025 |
62
- | `Burundi` | 108 | 1990 | 2025 |
63
- | ... | _39 more countries_ | | |
64
-
65
- ## Indicators (sample)
66
-
67
- - `Forestland`
68
- - `Net Forest conversion`
69
- - `Carbon stock change in forests`
70
-
71
- ## Schema
72
-
73
- | Column | Type | Description | Example |
74
- |--------|------|-------------|---------|
75
- | `country_name` | `string` | — | `Algeria` |
76
- | `country_m49` | `int64` | — | `12` |
77
- | `item` | `string` | — | `Forestland` |
78
- | `year` | `int64` | — | `1990` |
79
- | `value` | `float64` | — | `1714.96` |
80
- | `unit` | `string` | — | `1000 ha` |
81
- | `flag` | `string` | — | `X` |
82
 
83
  ## Usage
84
 
@@ -86,57 +75,70 @@ This dataset contains **6,115 observations** of `Climate Change` data across **5
86
  from datasets import load_dataset
87
 
88
  ds = load_dataset("electricsheepafrica/africa-emissions-from-forests-area")
89
- df = ds["train"].to_pandas()
90
- print(df.head())
 
 
 
 
91
  ```
92
 
93
- ### Filter to one country
94
 
95
  ```python
96
- kenya = df[df["country_name"] == "KEN"]
 
 
 
 
 
97
  ```
98
 
99
- ### Time-series for a single indicator
100
 
101
- ```python
102
- sample = (df[df["item"] == "Forestland"]
103
- .sort_values("year"))
104
- sample.plot(x="year", y="value", title="Forestland")
105
- ```
106
 
107
- ### Pivot to country × year matrix
108
 
109
- ```python
110
- matrix = (df[df["item"] == "Forestland"]
111
- .pivot_table(index="year", columns="country_name", values="value"))
112
- print(matrix.tail())
113
- ```
 
 
 
 
 
 
 
114
 
115
  ## Citation
116
 
117
  ```bibtex
118
- @misc{africa_emissions_from_forests_area_2025,
119
- title = {Emissions from Forests — Area | Africa (FAOSTAT)},
120
- author = {Food and Agriculture Organization of the United Nations (FAO)},
121
- year = {2025},
122
- url = {https://www.fao.org/faostat/en/#data/GF},
123
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
124
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area}}
125
  }
126
  ```
127
 
128
  ## License
129
 
130
- Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
131
-
132
- Original data © Food and Agriculture Organization of the United Nations (FAO). When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
133
 
134
- ## About Electric Sheep
135
 
136
- Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on HuggingFace. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use `load_dataset()` to start working in seconds.
137
 
138
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
139
 
140
  ---
141
 
142
- _Provenance: ingested 2026-06-17 via the Electric Sheep pipeline. Source URL: https://www.fao.org/faostat/en/#data/GF_
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
 
8
  multilinguality: monolingual
9
  size_categories:
10
  - 1K<n<10K
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-fao"
21
+ - "climate-change"
22
+ - "faostat"
23
+ - "fao"
24
+ - "agriculture"
25
+ - "food-security"
26
+ - "time-series"
27
+ - "food"
28
+ pretty_name: "Emissions from Forests — Area | Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)"
29
  ---
30
 
31
+ # Emissions from Forests — Area | Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)
32
 
33
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** agriculture_food - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
34
 
35
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
36
+ ![sector](https://img.shields.io/badge/sector-agriculture_food-green)
37
+ ![downloads](https://img.shields.io/badge/HF_downloads-33-orange)
38
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
39
 
40
  ## TL;DR
41
 
42
+ 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.
43
+
44
+ ## What This Dataset Covers
45
+
46
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
47
+
48
+ Dataset context from the existing Hugging Face card: Emissions from Forests — Area | Africa (FAOSTAT) 🌍 6,115 observations · 54 Africa countries · 1990–2025 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 6,115 observations of Climate Change data across 54 Africa countries, spanning 1990–2025, covering 3 distinct indicators. About the source Source: FAOSTAT (FAO) Publisher: Food and Agriculture Organization of the United Nations (FAO) License: cc-by-4.0 Topic: Climate Change… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area.
49
+
50
+ ## Dataset Profile
51
+
52
+ | Field | Value |
53
+ |---|---|
54
+ | Hugging Face repo | [`electricsheepafrica/africa-emissions-from-forests-area`](https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area) |
55
+ | Sector | agriculture_food |
56
+ | Topic tags | tabular, faostat-(fao), climate-change, faostat, fao, agriculture, food-security, time-series |
57
+ | Modalities | `tabular`, `text` |
58
+ | Formats | `parquet` |
59
+ | Size category | `1K<n<10K` |
60
+ | Countries | Africa-wide or source-defined African coverage |
61
+ | ISO3 coverage | `not declared` |
62
+ | Last modified on HF | `2026-06-17 13:12:05+00:00` |
63
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
64
+
65
+ ## How To Read This Dataset
66
+
67
+ - Start from the repository files and the dataset viewer when available.
68
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
69
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
70
+ - Preserve missing values until you have a defensible imputation rule.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  ## Usage
73
 
 
75
  from datasets import load_dataset
76
 
77
  ds = load_dataset("electricsheepafrica/africa-emissions-from-forests-area")
78
+ print(ds)
79
+
80
+ split_name = next(iter(ds))
81
+ table = ds[split_name]
82
+ print(table.features)
83
+ print(table[:3])
84
  ```
85
 
86
+ ### Convert To Pandas When Tabular
87
 
88
  ```python
89
+ from datasets import Dataset
90
+
91
+ first_split = ds[next(iter(ds))]
92
+ if isinstance(first_split, Dataset):
93
+ df = first_split.to_pandas()
94
+ print(df.head())
95
  ```
96
 
97
+ ## Data Quality Notes
98
 
99
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
100
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
101
+ - Metadata gaps from the inventory: country, upstream_publisher.
102
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
 
103
 
104
+ ## Source And Provenance
105
 
106
+ - **Source context:** Electric Sheep Africa metadata inventory
107
+ - **Publisher/source attribution:** Public dataset metadata
108
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
109
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area](https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area)
110
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
111
+
112
+ ## Suggested Analyses
113
+
114
+ - Inspect schema and missingness before modeling.
115
+ - Profile variables by geography, time, and subgroup columns where present.
116
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
117
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
118
 
119
  ## Citation
120
 
121
  ```bibtex
122
+ @misc{electric_sheep_africa_africa_emissions_from_forests_area_2026,
123
+ title = {Emissions from Forests — Area | Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)},
124
+ author = {Public dataset metadata},
125
+ year = {2026},
126
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area},
127
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
128
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-emissions-from-forests-area}}
129
  }
130
  ```
131
 
132
  ## License
133
 
134
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
 
 
135
 
136
+ 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.
137
 
138
+ ## About Electric Sheep Africa
139
 
140
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
141
 
142
  ---
143
 
144
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.