Olaroti commited on
Commit
1d10c6d
·
verified ·
1 Parent(s): d28c927

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +87 -72
README.md CHANGED
@@ -5,74 +5,67 @@ 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
- - our-world-in-data
16
- - co2-gdp-growth
17
- - owid
18
- - long-run-series
19
- - time-series
20
- pretty_name: "Co2 Gdp Growth | Africa (Our World in Data)"
 
 
 
 
 
 
 
21
  ---
22
 
23
- # Co2 Gdp Growth | Africa (Our World in Data)
24
 
25
- 🌍 **4,193 observations** · **54 Africa countries** · **1885–2024** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
26
 
27
- ![rows](https://img.shields.io/badge/rows-4,193-blue) ![countries](https://img.shields.io/badge/countries-54-green) ![years](https://img.shields.io/badge/years-1885–2024-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
 
 
 
28
 
29
  ## TL;DR
30
 
31
- This dataset contains **4,193 observations** of `Co2 Gdp Growth` data across **54 Africa countries**, spanning **1885–2024**.
32
 
33
- ## About the source
34
 
35
- - **Source:** [Our World in Data](https://ourworldindata.org/grapher/co2-gdp-growth)
36
- - **Publisher:** Our World in Data
37
- - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
38
- - **Topic:** Co2 Gdp Growth
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
- | `ZAF` | 140 | 1885 | 2024 |
47
- | `ZWE` | 121 | 1904 | 2024 |
48
- | `EGY` | 113 | 1912 | 2024 |
49
- | `NGA` | 109 | 1916 | 2024 |
50
- | `DZA` | 108 | 1917 | 2024 |
51
- | `COD` | 104 | 1921 | 2024 |
52
- | `MOZ` | 97 | 1928 | 2024 |
53
- | `MAR` | 96 | 1929 | 2024 |
54
- | `TUN` | 94 | 1917 | 2024 |
55
- | `MDG` | 79 | 1934 | 2024 |
56
- | `ETH` | 78 | 1942 | 2024 |
57
- | `GMB` | 74 | 1951 | 2024 |
58
- | `CMR` | 74 | 1951 | 2024 |
59
- | `CIV` | 74 | 1951 | 2024 |
60
- | `GNB` | 74 | 1951 | 2024 |
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` | — | `1917` |
70
- | `GDP` | `float64` | — | `-13.605441` |
71
- | `CO₂ emissions` | `float64` | — | `100.0` |
72
-
73
- ## Data quality & caveats
74
-
75
- - `GDP` column has 26.1% null values (filtered to non-null in this dataset).
76
 
77
  ## Usage
78
 
@@ -80,48 +73,70 @@ This dataset contains **4,193 observations** of `Co2 Gdp Growth` data across **5
80
  from datasets import load_dataset
81
 
82
  ds = load_dataset("electricsheepafrica/africa-owid-co2-gdp-growth")
83
- df = ds["train"].to_pandas()
84
- print(df.head())
 
 
 
 
85
  ```
86
 
87
- ### Filter to one country
88
 
89
  ```python
90
- kenya = df[df["country_iso3"] == "KEN"]
 
 
 
 
 
91
  ```
92
 
93
- ### Time-series for a single indicator
94
 
95
- ```python
96
- sample = df.sort_values("year")
97
- sample.plot(x="year", y="GDP")
98
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
  ## Citation
101
 
102
  ```bibtex
103
- @misc{africa_owid_co2_gdp_growth_2024,
104
- title = {Co2 Gdp Growth | Africa (Our World in Data)},
105
- author = {Our World in Data},
106
- year = {2024},
107
- url = {https://ourworldindata.org/grapher/co2-gdp-growth},
108
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
109
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth}}
110
  }
111
  ```
112
 
113
  ## License
114
 
115
- Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
116
-
117
- Original data © Our World in Data. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
118
 
119
- ## About Electric Sheep
120
 
121
- 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.
122
 
123
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
124
 
125
  ---
126
 
127
- _Provenance: ingested 2026-06-02 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/co2-gdp-growth_
 
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
+ - "economics-finance"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "our-world-in-data"
21
+ - "co2-gdp-growth"
22
+ - "owid"
23
+ - "long-run-series"
24
+ - "time-series"
25
+ - "gdp"
26
+ pretty_name: "Co2 Gdp Growth | Africa (Our World in Data) | Africa (Electric Sheep Africa metadata inventory)"
27
  ---
28
 
29
+ # Co2 Gdp Growth | Africa (Our World in Data) | Africa (Electric Sheep Africa metadata inventory)
30
 
31
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** economics_finance - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
 
33
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
34
+ ![sector](https://img.shields.io/badge/sector-economics_finance-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: Co2 Gdp Growth | Africa (Our World in Data) 🌍 4,193 observations · 54 Africa countries · 1885–2024 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 4,193 observations of Co2 Gdp Growth data across 54 Africa countries, spanning 1885–2024. About the source Source: Our World in Data Publisher: Our World in Data License: cc-by-4.0 Topic: Co2 Gdp Growth Geographic coverage 54 Africa countries · top rows shown below… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth.
47
 
48
+ ## Dataset Profile
49
 
50
+ | Field | Value |
51
+ |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-owid-co2-gdp-growth`](https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth) |
53
+ | Sector | economics_finance |
54
+ | Topic tags | tabular, our-world-in-data, co2-gdp-growth, owid, long-run-series, time-series |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `1K<n<10K` |
58
+ | Countries | Africa-wide or source-defined African coverage |
59
+ | ISO3 coverage | `not declared` |
60
+ | Last modified on HF | `2026-06-02 18:49:49+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
 
 
73
  from datasets import load_dataset
74
 
75
  ds = load_dataset("electricsheepafrica/africa-owid-co2-gdp-growth")
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-owid-co2-gdp-growth](https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth)
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_owid_co2_gdp_growth_2026,
121
+ title = {Co2 Gdp Growth | Africa (Our World in Data) | Africa (Electric Sheep Africa metadata inventory)},
122
+ author = {Public dataset metadata},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-co2-gdp-growth}}
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`.