Olaroti commited on
Commit
22181ba
·
verified ·
1 Parent(s): 7032fc6

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +101 -117
README.md CHANGED
@@ -1,160 +1,144 @@
1
  ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
  language:
7
  - en
8
- license: cc-by-4.0
9
- multilinguality:
10
- - monolingual
11
- size_categories:
12
- - 10K<n<100K
13
- source_datasets:
14
- - original
15
  task_categories:
16
  - tabular-classification
17
  - tabular-regression
18
- task_ids: []
 
 
19
  tags:
20
- - africa
21
- - humanitarian
22
- - hdx
23
- - electric-sheep-africa
24
- - climate-weather
25
- - environment
26
- - points-of-interest-poi
27
- - civ
28
- pretty_name: "Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions"
29
- dataset_info:
30
- splits:
31
- - name: train
32
- num_examples: 10278
33
- - name: test
34
- num_examples: 2569
 
 
35
  ---
36
 
37
- # Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions
38
-
39
- **Publisher:** Climate TRACE · **Source:** [HDX](https://data.humdata.org/dataset/civ-climate-trace) · **License:** `cc-by` · **Updated:** 2026-03-30
40
 
41
- ---
42
 
43
- ## Abstract
 
 
 
44
 
45
- Climate TRACE is a non-profit coalition of organizations building a timely, open, and accessible inventory of exactly where greenhouse gas emissions are coming from. Climate TRACE estimates greenhouse gas (GHG) and air pollutant emissions for over 2.7 million sources (from over 744 million assets), and every single country globally.
46
 
47
- The Climate TRACE emissions inventory includes:
48
- - Annual country-level emissions by sub-sector and by gas beginning in 2015
49
- - Monthly source-level emissions by sub-sector and gas beginning in 2021 and confidence
50
- - Emissions source ownership where and when available.
51
 
52
- Each row in this dataset represents time-series observations. Data was last updated on HDX on 2026-03-30. Geographic scope: **CIV**.
53
 
54
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
55
 
56
- ---
57
 
58
- ## Dataset Characteristics
59
 
60
- | | |
61
  |---|---|
62
- | **Domain** | Climate and environment |
63
- | **Unit of observation** | Time-series observations |
64
- | **Rows (total)** | 12,848 |
65
- | **Columns** | 13 (4 numeric, 9 categorical, 0 datetime) |
66
- | **Train split** | 10,278 rows |
67
- | **Test split** | 2,569 rows |
68
- | **Geographic scope** | CIV |
69
- | **Publisher** | Climate TRACE |
70
- | **HDX last updated** | 2026-03-30 |
71
-
72
- ---
73
-
74
- ## Variables
75
-
76
- **Geographic** `year` (range 2024.0–2026.0), `emissionsquantity` (range 0.0–12601.4197).
77
-
78
- **Temporal** `month` (range 1.0–12.0).
79
-
80
- **Identifier / Metadata** — `full_name` (Côte d'Ivoire, Lagunes District, CIV, Bas-Sassandra District, CIV), `id` (CIV, CIV.7_1, CIV.2_1), `level_0_id` (CIV), `level_1_id` (CIV.7_1, CIV.2_1, CIV.10_1), `name` (Côte d'Ivoire, Lagunes District, Bas-Sassandra District) and 2 others.
81
-
82
- **Other** — `level` (range 0.0–1.0), `sector` (agriculture, manufacturing, transportation), `gas` (ch4).
83
-
84
- ---
85
-
86
- ## Quick Start
87
 
88
  ```python
89
  from datasets import load_dataset
90
 
91
- ds = load_dataset("electricsheepafrica/africa-civ-climate-trace")
92
- train = ds["train"].to_pandas()
93
- test = ds["test"].to_pandas()
94
 
95
- print(train.shape)
96
- train.head()
 
 
97
  ```
98
 
99
- ---
100
 
101
- ## Schema
102
-
103
- | Column | Type | Null % | Range / Sample Values |
104
- |---|---|---|---|
105
- | `full_name` | object | 0.0% | Côte d'Ivoire, Lagunes District, CIV, Bas-Sassandra District, CIV |
106
- | `id` | object | 0.0% | CIV, CIV.7_1, CIV.2_1 |
107
- | `level` | int64 | 0.0% | 0.0 – 1.0 (mean 0.9222) |
108
- | `level_0_id` | object | 0.0% | CIV |
109
- | `level_1_id` | object | 7.8% | CIV.7_1, CIV.2_1, CIV.10_1 |
110
- | `name` | object | 0.0% | Côte d'Ivoire, Lagunes District, Bas-Sassandra District |
111
- | `year` | int64 | 0.0% | 2024.0 – 2026.0 (mean 2024.6104) |
112
- | `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.6885) |
113
- | `sector` | object | 0.0% | agriculture, manufacturing, transportation |
114
- | `gas` | object | 0.0% | ch4 |
115
- | `emissionsquantity` | float64 | 0.0% | 0.0 – 12601.4197 (mean 218.8097) |
116
- | `esa_source` | object | 0.0% | HDX |
117
- | `esa_processed` | object | 0.0% | 2026-04-04 |
118
-
119
- ---
120
-
121
- ## Numeric Summary
122
-
123
- | Column | Min | Max | Mean | Median |
124
- |---|---|---|---|---|
125
- | `level` | 0.0 | 1.0 | 0.9222 | 1.0 |
126
- | `year` | 2024.0 | 2026.0 | 2024.6104 | 2025.0 |
127
- | `month` | 1.0 | 12.0 | 6.6885 | 7.0 |
128
- | `emissionsquantity` | 0.0 | 12601.4197 | 218.8097 | 0.1883 |
129
 
130
- ---
 
 
 
 
131
 
132
- ## Curation
133
 
134
- Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. 1 column(s) with >80% missing values were removed: `level_2_id`. 12,682 exact duplicate rows were removed. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
 
 
 
135
 
136
- ---
137
 
138
- ## Limitations
 
 
 
 
139
 
140
- - Data originates from Climate TRACE and has not been independently validated by ESA.
141
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
142
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/civ-climate-trace) for the publisher's own methodology notes and caveats.
143
 
144
- ---
 
 
 
145
 
146
  ## Citation
147
 
148
  ```bibtex
149
- @dataset{hdx_africa_civ_climate_trace,
150
- title = {Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions},
151
- author = {Climate TRACE},
152
- year = {2026},
153
- url = {https://data.humdata.org/dataset/civ-climate-trace},
154
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
155
  }
156
  ```
157
 
 
 
 
 
 
 
 
 
 
 
158
  ---
159
 
160
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
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
+ - 10K<n<100K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "climate-environment"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "climate-weather"
23
+ - "environment"
24
+ - "points-of-interest-poi"
25
+ - "civ"
26
+ - "climate"
27
+ - "weather"
28
+ pretty_name: "Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions | Africa (original)"
29
  ---
30
 
31
+ # Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions | Africa (original)
 
 
32
 
33
+ **Size category:** `10K<n<100K` - **Formats:** `parquet` - **Sector:** climate_environment - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
34
 
35
+ ![size](https://img.shields.io/badge/size-10K%3Cn%3C100K-blue)
36
+ ![sector](https://img.shields.io/badge/sector-climate_environment-green)
37
+ ![downloads](https://img.shields.io/badge/HF_downloads-17-orange)
38
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
39
 
40
+ ## TL;DR
41
 
42
+ 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.
 
 
 
43
 
44
+ ## What This Dataset Covers
45
 
46
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
47
 
48
+ Dataset context from the existing Hugging Face card: Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions Publisher: Climate TRACE · Source: HDX · License: cc-by · Updated: 2026-03-30 Abstract Climate TRACE is a non-profit coalition of organizations building a timely, open, and accessible inventory of exactly where greenhouse gas emissions are coming from. Climate TRACE estimates greenhouse gas (GHG) and air pollutant emissions for over 2.7 million sources (from over 744 million assets), and every single country… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace.
49
 
50
+ ## Dataset Profile
51
 
52
+ | Field | Value |
53
  |---|---|
54
+ | Hugging Face repo | [`electricsheepafrica/africa-civ-climate-trace`](https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace) |
55
+ | Sector | climate_environment |
56
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, climate-weather, environment, points-of-interest-poi, civ |
57
+ | Modalities | `tabular`, `text` |
58
+ | Formats | `parquet` |
59
+ | Size category | `10K<n<100K` |
60
+ | Countries | Africa-wide or source-defined African coverage |
61
+ | ISO3 coverage | `not declared` |
62
+ | Last modified on HF | `2026-04-04 15:49:38+00:00` |
63
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
64
+
65
+ ## How To Read This Dataset
66
+
67
+ - Start from the repository files and the dataset viewer when available.
68
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
69
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
70
+ - Preserve missing values until you have a defensible imputation rule.
71
+
72
+ ## Usage
 
 
 
 
 
 
73
 
74
  ```python
75
  from datasets import load_dataset
76
 
77
+ ds = load_dataset("electricsheepafrica/africa-civ-climate-trace")
78
+ print(ds)
 
79
 
80
+ split_name = next(iter(ds))
81
+ table = ds[split_name]
82
+ print(table.features)
83
+ print(table[:3])
84
  ```
85
 
86
+ ### Convert To Pandas When Tabular
87
 
88
+ ```python
89
+ from datasets import Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ first_split = ds[next(iter(ds))]
92
+ if isinstance(first_split, Dataset):
93
+ df = first_split.to_pandas()
94
+ print(df.head())
95
+ ```
96
 
97
+ ## Data Quality Notes
98
 
99
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
100
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
101
+ - Metadata gaps from the inventory: country, upstream_publisher.
102
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
103
 
104
+ ## Source And Provenance
105
 
106
+ - **Source context:** original
107
+ - **Publisher/source attribution:** original
108
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
109
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace](https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace)
110
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
111
 
112
+ ## Suggested Analyses
 
 
113
 
114
+ - Inspect schema and missingness before modeling.
115
+ - Profile variables by geography, time, and subgroup columns where present.
116
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
117
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
118
 
119
  ## Citation
120
 
121
  ```bibtex
122
+ @misc{electric_sheep_africa_africa_civ_climate_trace_2026,
123
+ title = {Côte d'Ivoire: Greenhouse Gas and Air Pollutant Emissions | Africa (original)},
124
+ author = {original},
125
+ year = {2026},
126
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace},
127
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
128
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-civ-climate-trace}}
129
  }
130
  ```
131
 
132
+ ## License
133
+
134
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
135
+
136
+ 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.
137
+
138
+ ## About Electric Sheep Africa
139
+
140
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
141
+
142
  ---
143
 
144
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.