Kossisoroyce commited on
Commit
8852d4b
·
verified ·
1 Parent(s): ada882b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +127 -32
README.md CHANGED
@@ -1,34 +1,129 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: country_name
5
- dtype: string
6
- - name: country_iso3
7
- dtype: string
8
- - name: year
9
- dtype: int64
10
- - name: Life expectancy at birth
11
- dtype: float64
12
- - name: Caloric supply
13
- dtype: float64
14
- - name: Population
15
- dtype: float64
16
- - name: World region according to OWID
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 198848
21
- num_examples: 3208
22
- - name: test
23
- num_bytes: 48908
24
- num_examples: 802
25
- download_size: 96074
26
- dataset_size: 247756
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
+ - 1K<n<10K
12
+ tags:
13
+ - tabular
14
+ - africa
15
+ - our-world-in-data
16
+ - food-supply-vs-life-expectancy
17
+ - owid
18
+ - long-run-series
19
+ - time-series
20
+ pretty_name: "Food Supply Vs Life Expectancy | Africa (Our World in Data)"
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
+
23
+ # Food Supply Vs Life Expectancy | Africa (Our World in Data)
24
+
25
+ 🌍 **4,010 observations** · **54 Africa countries** · **1947–2023** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
26
+
27
+ ![rows](https://img.shields.io/badge/rows-4,010-blue) ![countries](https://img.shields.io/badge/countries-54-green) ![years](https://img.shields.io/badge/years-1947–2023-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
28
+
29
+ ## TL;DR
30
+
31
+ This dataset contains **4,010 observations** of `Food Supply Vs Life Expectancy` data across **54 Africa countries**, spanning **1947–2023**.
32
+
33
+ ## About the source
34
+
35
+ - **Source:** [Our World in Data](https://ourworldindata.org/grapher/food-supply-vs-life-expectancy)
36
+ - **Publisher:** Our World in Data
37
+ - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
38
+ - **Topic:** Food Supply Vs Life Expectancy
39
+
40
+ ## Geographic coverage
41
+
42
+ 54 Africa countries · top rows shown below, sorted by row count:
43
+
44
+ | Country | Rows | First year | Last year |
45
+ |---------|-----:|-----------:|----------:|
46
+ | `EGY` | 76 | 1947 | 2023 |
47
+ | `DZA` | 76 | 1947 | 2023 |
48
+ | `ZAF` | 76 | 1947 | 2023 |
49
+ | `TUN` | 76 | 1947 | 2023 |
50
+ | `MAR` | 76 | 1947 | 2023 |
51
+ | `ETH` | 75 | 1947 | 2023 |
52
+ | `MDG` | 75 | 1947 | 2023 |
53
+ | `UGA` | 75 | 1947 | 2023 |
54
+ | `TZA` | 75 | 1947 | 2023 |
55
+ | `BWA` | 74 | 1950 | 2023 |
56
+ | `CAF` | 74 | 1950 | 2023 |
57
+ | `COM` | 74 | 1950 | 2023 |
58
+ | `COD` | 74 | 1950 | 2023 |
59
+ | `CMR` | 74 | 1950 | 2023 |
60
+ | `DJI` | 74 | 1950 | 2023 |
61
+ | ... | _39 more countries_ | | |
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `country_name` | `string` | — | `Algeria` |
68
+ | `country_iso3` | `string` | — | `DZA` |
69
+ | `year` | `int64` | — | `1947` |
70
+ | `Life expectancy at birth` | `float64` | — | `42.679` |
71
+ | `Caloric supply` | `float64` | — | `1279.0` |
72
+ | `Population` | `float64` | — | `8604011.0` |
73
+ | `World region according to OWID` | `string` | — | `Africa` |
74
+
75
+ ## Data quality & caveats
76
+
77
+ - `Life expectancy at birth` column has 0.3% null values (filtered to non-null in this dataset).
78
+
79
+ ## Usage
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("electricsheepafrica/africa-owid-food-supply-vs-life-expectancy")
85
+ df = ds["train"].to_pandas()
86
+ print(df.head())
87
+ ```
88
+
89
+ ### Filter to one country
90
+
91
+ ```python
92
+ kenya = df[df["country_iso3"] == "KEN"]
93
+ ```
94
+
95
+ ### Time-series for a single indicator
96
+
97
+ ```python
98
+ sample = df.sort_values("year")
99
+ sample.plot(x="year", y="Life expectancy at birth")
100
+ ```
101
+
102
+ ## Citation
103
+
104
+ ```bibtex
105
+ @misc{africa_owid_food_supply_vs_life_expectancy_2023,
106
+ title = {Food Supply Vs Life Expectancy | Africa (Our World in Data)},
107
+ author = {Our World in Data},
108
+ year = {2023},
109
+ url = {https://ourworldindata.org/grapher/food-supply-vs-life-expectancy},
110
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
111
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-food-supply-vs-life-expectancy}}
112
+ }
113
+ ```
114
+
115
+ ## License
116
+
117
+ Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
118
+
119
+ Original data © Our World in Data. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
120
+
121
+ ## About Electric Sheep
122
+
123
+ 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.
124
+
125
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
126
+
127
+ ---
128
+
129
+ _Provenance: ingested 2026-06-03 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/food-supply-vs-life-expectancy_