Kossisoroyce commited on
Commit
0457108
·
verified ·
1 Parent(s): 5adc23a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +120 -26
README.md CHANGED
@@ -1,28 +1,122 @@
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: Agriculture orientation index for government spending
11
- dtype: float64
12
- splits:
13
- - name: train
14
- num_bytes: 27274
15
- num_examples: 760
16
- - name: test
17
- num_bytes: 6696
18
- num_examples: 191
19
- download_size: 7960
20
- dataset_size: 33970
21
- configs:
22
- - config_name: default
23
- data_files:
24
- - split: train
25
- path: data/train-*
26
- - split: test
27
- path: data/test-*
28
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
12
+ tags:
13
+ - tabular
14
+ - africa
15
+ - our-world-in-data
16
+ - agriculture-orientation-index
17
+ - owid
18
+ - long-run-series
19
+ - time-series
20
+ pretty_name: "Agriculture Orientation Index | Africa (Our World in Data)"
 
 
 
 
 
 
 
21
  ---
22
+
23
+ # Agriculture Orientation Index | Africa (Our World in Data)
24
+
25
+ 🌍 **951 observations** · **52 Africa countries** · **2001–2023** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
26
+
27
+ ![rows](https://img.shields.io/badge/rows-951-blue) ![countries](https://img.shields.io/badge/countries-52-green) ![years](https://img.shields.io/badge/years-2001–2023-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
28
+
29
+ ## TL;DR
30
+
31
+ This dataset contains **951 observations** of `Agriculture Orientation Index` data across **52 Africa countries**, spanning **2001–2023**.
32
+
33
+ ## About the source
34
+
35
+ - **Source:** [Our World in Data](https://ourworldindata.org/grapher/agriculture-orientation-index)
36
+ - **Publisher:** Our World in Data
37
+ - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
38
+ - **Topic:** Agriculture Orientation Index
39
+
40
+ ## Geographic coverage
41
+
42
+ 52 Africa countries · top rows shown below, sorted by row count:
43
+
44
+ | Country | Rows | First year | Last year |
45
+ |---------|-----:|-----------:|----------:|
46
+ | `AGO` | 23 | 2001 | 2023 |
47
+ | `BEN` | 23 | 2001 | 2023 |
48
+ | `COD` | 23 | 2001 | 2023 |
49
+ | `BWA` | 23 | 2001 | 2023 |
50
+ | `GHA` | 23 | 2001 | 2023 |
51
+ | `ETH` | 23 | 2001 | 2023 |
52
+ | `CPV` | 23 | 2001 | 2023 |
53
+ | `DZA` | 23 | 2001 | 2023 |
54
+ | `EGY` | 23 | 2001 | 2023 |
55
+ | `MDG` | 23 | 2001 | 2023 |
56
+ | `MLI` | 23 | 2001 | 2023 |
57
+ | `KEN` | 23 | 2001 | 2023 |
58
+ | `SYC` | 23 | 2001 | 2023 |
59
+ | `TUN` | 23 | 2001 | 2023 |
60
+ | `ZAF` | 23 | 2001 | 2023 |
61
+ | ... | _37 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` | — | `2001` |
70
+ | `Agriculture orientation index for government spending` | `float64` | — | `0.43` |
71
+
72
+ ## Usage
73
+
74
+ ```python
75
+ from datasets import load_dataset
76
+
77
+ ds = load_dataset("electricsheepafrica/africa-owid-agriculture-orientation-index")
78
+ df = ds["train"].to_pandas()
79
+ print(df.head())
80
+ ```
81
+
82
+ ### Filter to one country
83
+
84
+ ```python
85
+ kenya = df[df["country_iso3"] == "KEN"]
86
+ ```
87
+
88
+ ### Time-series for a single indicator
89
+
90
+ ```python
91
+ sample = df.sort_values("year")
92
+ sample.plot(x="year", y="Agriculture orientation index for government spending")
93
+ ```
94
+
95
+ ## Citation
96
+
97
+ ```bibtex
98
+ @misc{africa_owid_agriculture_orientation_index_2023,
99
+ title = {Agriculture Orientation Index | Africa (Our World in Data)},
100
+ author = {Our World in Data},
101
+ year = {2023},
102
+ url = {https://ourworldindata.org/grapher/agriculture-orientation-index},
103
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
104
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-agriculture-orientation-index}}
105
+ }
106
+ ```
107
+
108
+ ## License
109
+
110
+ Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
111
+
112
+ Original data © Our World in Data. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
113
+
114
+ ## About Electric Sheep
115
+
116
+ 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.
117
+
118
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
119
+
120
+ ---
121
+
122
+ _Provenance: ingested 2026-06-01 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/agriculture-orientation-index_