Olaroti commited on
Commit
ff54abe
·
verified ·
1 Parent(s): b39b5af

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +121 -46
README.md CHANGED
@@ -2,66 +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: "Macro Indicators — Africa (FAOSTAT)"
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
- # Macro Indicators — Africa
15
-
16
- **Source:** [FAOSTAT Macro Indicators](https://www.fao.org/faostat/en/#data/MK)
17
- **Domain code:** `MK`
18
- **Publisher:** Food and Agriculture Organization of the United Nations (FAO)
19
- **Coverage:** 51 African countries · 1970–2024 · 154,509 rows
20
- **Items:** 11 · **Elements:** 20
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 **Macro Indicators** 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
- | `Unit` | object |
43
- | `Value` | float64 |
 
 
 
 
 
 
 
 
 
 
44
 
45
  ## Usage
46
 
47
  ```python
48
  from datasets import load_dataset
49
- ds = load_dataset("electricsheepafrica/africa-faostat-mk")
50
- df = ds["train"].to_pandas()
 
 
 
 
 
 
51
  ```
52
 
53
- ## Citation
 
 
 
54
 
 
 
 
 
55
  ```
56
- @misc{faostat_mk_africa,
57
- title = {Macro Indicators — Africa},
58
- author = {Food and Agriculture Organization of the United Nations},
59
- year = {2024},
60
- url = {https://www.fao.org/faostat/en/#data/MK},
61
- note = {Repackaged by Electric Sheep Africa}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
  ```
64
 
65
  ## License
66
 
67
- [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: "Macro Indicators — Africa (FAOSTAT) | Africa (Electric Sheep Africa metadata inventory)"
27
  ---
28
 
29
+ # Macro Indicators — 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: Macro Indicators — Africa Source: FAOSTAT — Macro Indicators Domain code: MK Publisher: Food and Agriculture Organization of the United Nations (FAO) Coverage: 51 African countries · 1970–2024 · 154,509 rows Items: 11 · Elements: 20 About FAOSTAT is the world's largest and most comprehensive statistical database on food, agriculture, fisheries, forestry, and rural development. This dataset contains the Macro Indicators domain filtered to all available African countries… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-faostat-macro-indicators-mk.
47
+
48
+ ## Dataset Profile
49
+
50
+ | Field | Value |
51
+ |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-faostat-macro-indicators-mk`](https://huggingface.co/datasets/electricsheepafrica/africa-faostat-macro-indicators-mk) |
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:07:55+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-macro-indicators-mk")
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-macro-indicators-mk](https://huggingface.co/datasets/electricsheepafrica/africa-faostat-macro-indicators-mk)
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_macro_indicators_mk_2026,
121
+ title = {Macro Indicators — 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-macro-indicators-mk},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-faostat-macro-indicators-mk}}
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`.