Kossiesa commited on
Commit
df518be
·
verified ·
1 Parent(s): a4c710e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +146 -32
README.md CHANGED
@@ -1,34 +1,148 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: country_name
5
- dtype: string
6
- - name: country_m49
7
- dtype: int64
8
- - name: item
9
- dtype: string
10
- - name: year
11
- dtype: int64
12
- - name: value
13
- dtype: float64
14
- - name: unit
15
- dtype: string
16
- - name: flag
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 940402
21
- num_examples: 11533
22
- - name: test
23
- num_bytes: 238825
24
- num_examples: 2884
25
- download_size: 167609
26
- dataset_size: 1179227
27
- configs:
28
- - config_name: default
29
- data_files:
30
- - split: train
31
- path: data/train-*
32
- - split: test
33
- path: data/test-*
34
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ - time-series-forecasting
9
+ multilinguality: monolingual
10
+ size_categories:
11
+ - 10K<n<100K
12
+ tags:
13
+ - tabular
14
+ - africa
15
+ - faostat-(fao)
16
+ - macro-economic-indicators
17
+ - faostat
18
+ - fao
19
+ - agriculture
20
+ - food-security
21
+ - time-series
22
+ pretty_name: "Macro Indicators — Annual growth US$ | Africa (FAOSTAT)"
 
 
 
 
 
 
 
 
 
 
 
23
  ---
24
+
25
+ # Macro Indicators — Annual growth US$ | Africa (FAOSTAT)
26
+
27
+ 🌍 **14,417 observations** · **54 Africa countries** · **1971–2024** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
28
+
29
+ ![rows](https://img.shields.io/badge/rows-14,417-blue) ![countries](https://img.shields.io/badge/countries-54-green) ![years](https://img.shields.io/badge/years-1971–2024-orange) ![indicators](https://img.shields.io/badge/indicators-9-purple) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
30
+
31
+ ## TL;DR
32
+
33
+ This dataset contains **14,417 observations** of `Macro-Economic Indicators` data across **54 Africa countries**, spanning **1971–2024**, covering **9 distinct indicators**.
34
+
35
+ ## About the source
36
+
37
+ - **Source:** [FAOSTAT (FAO)](https://www.fao.org/faostat/en/#data/MK)
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:** Macro-Economic Indicators
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
+ | `Kenya` | 351 | 1971 | 2024 |
49
+ | `Mauritius` | 318 | 1971 | 2024 |
50
+ | `Botswana` | 316 | 1971 | 2024 |
51
+ | `South Africa` | 302 | 1971 | 2024 |
52
+ | `Mozambique` | 300 | 1971 | 2024 |
53
+ | `Cameroon` | 297 | 1971 | 2024 |
54
+ | `Eswatini` | 290 | 1971 | 2024 |
55
+ | `Namibia` | 288 | 1971 | 2024 |
56
+ | `Rwanda` | 287 | 1971 | 2024 |
57
+ | `United Republic of Tanzania` | 286 | 1971 | 2024 |
58
+ | `Burkina Faso` | 285 | 1971 | 2024 |
59
+ | `Burundi` | 284 | 1971 | 2024 |
60
+ | `Lesotho` | 283 | 1971 | 2024 |
61
+ | `Tunisia` | 283 | 1971 | 2024 |
62
+ | `Uganda` | 282 | 1971 | 2024 |
63
+ | ... | _39 more countries_ | | |
64
+
65
+ ## Indicators (sample)
66
+
67
+ - `Gross Domestic Product`
68
+ - `Gross Fixed Capital Formation`
69
+ - `Value Added (Agriculture, Forestry and Fishing)`
70
+ - `Value Added (Total Manufacturing)`
71
+ - `Gross National Income`
72
+ - `Value Added (Agriculture)`
73
+ - `Value Added (Manufacture of food, beverages and tobacco products)`
74
+ - `Value Added (Manufacture of food and beverages)`
75
+ - `Value Added (Manufacture of tobacco products)`
76
+
77
+ ## Schema
78
+
79
+ | Column | Type | Description | Example |
80
+ |--------|------|-------------|---------|
81
+ | `country_name` | `string` | — | `Algeria` |
82
+ | `country_m49` | `int64` | — | `12` |
83
+ | `item` | `string` | — | `Gross Domestic Product` |
84
+ | `year` | `int64` | — | `1971` |
85
+ | `value` | `float64` | — | `4.045599` |
86
+ | `unit` | `string` | — | `%` |
87
+ | `flag` | `string` | — | `X` |
88
+
89
+ ## Usage
90
+
91
+ ```python
92
+ from datasets import load_dataset
93
+
94
+ ds = load_dataset("electricsheepafrica/africa-macro-indicators-annual-growth-us")
95
+ df = ds["train"].to_pandas()
96
+ print(df.head())
97
+ ```
98
+
99
+ ### Filter to one country
100
+
101
+ ```python
102
+ kenya = df[df["country_name"] == "KEN"]
103
+ ```
104
+
105
+ ### Time-series for a single indicator
106
+
107
+ ```python
108
+ sample = (df[df["item"] == "Gross Domestic Product"]
109
+ .sort_values("year"))
110
+ sample.plot(x="year", y="value", title="Gross Domestic Product")
111
+ ```
112
+
113
+ ### Pivot to country × year matrix
114
+
115
+ ```python
116
+ matrix = (df[df["item"] == "Gross Domestic Product"]
117
+ .pivot_table(index="year", columns="country_name", values="value"))
118
+ print(matrix.tail())
119
+ ```
120
+
121
+ ## Citation
122
+
123
+ ```bibtex
124
+ @misc{africa_macro_indicators_annual_growth_us_2024,
125
+ title = {Macro Indicators — Annual growth US$ | Africa (FAOSTAT)},
126
+ author = {Food and Agriculture Organization of the United Nations (FAO)},
127
+ year = {2024},
128
+ url = {https://www.fao.org/faostat/en/#data/MK},
129
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-macro-indicators-annual-growth-us}}
131
+ }
132
+ ```
133
+
134
+ ## License
135
+
136
+ Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
137
+
138
+ 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.
139
+
140
+ ## About Electric Sheep
141
+
142
+ 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.
143
+
144
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
145
+
146
+ ---
147
+
148
+ _Provenance: ingested 2026-06-17 via the Electric Sheep pipeline. Source URL: https://www.fao.org/faostat/en/#data/MK_