Kossisoroyce commited on
Commit
469bb2d
·
verified ·
1 Parent(s): ab7b745

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1K<n<10K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - botswana
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "Botswana: Greenhouse Gas and Air Pollutant Emissions | Africa (Botswana official open data)"
24
+ ---
25
+
26
+ # Botswana: Greenhouse Gas and Air Pollutant Emissions | Africa (Botswana official open data)
27
+
28
+ 2,016 rows - 1 Africa country - 2024-2026 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-2016-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2024-2026-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-6-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `CSV` resource from **Botswana** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [Botswana: Greenhouse Gas and Air Pollutant Emissions](https://data.humdata.org/dataset/bwa-climate-trace)
45
+ - **Publisher:** Climate TRACE
46
+ - **Resource:** [bwa_co2e_20yr_source.csv](https://data.humdata.org/dataset/1485479d-ff56-43bc-8337-9ee53f5dc94d/resource/1d5f9b21-7c6f-4f02-bb48-74cf8b51ad9e/download/bwa_co2e_20yr_source.csv)
47
+ - **Format:** `CSV`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `indicator_long`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `BWA` | 2,016 | 2024 | 2026 | `Botswana` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-id-fa17cc7c` - Botswana: Greenhouse Gas and Air Pollutant Emissions - id
62
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-emissionsquantity-49084256` - Botswana: Greenhouse Gas and Air Pollutant Emissions - emissionsquantity
63
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-emissionsfactor-78cc5b0f` - Botswana: Greenhouse Gas and Air Pollutant Emissions - emissionsfactor
64
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-activity-77dbea06` - Botswana: Greenhouse Gas and Air Pollutant Emissions - activity
65
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-capacity-d0ac4570` - Botswana: Greenhouse Gas and Air Pollutant Emissions - capacity
66
+ - `botswana-greenhouse-gas-and-air-pollutant-emissions-capacityfactor-31afc2fc` - Botswana: Greenhouse Gas and Air Pollutant Emissions - capacityfactor
67
+
68
+ ## Schema
69
+
70
+ | Column | Type | Description | Example |
71
+ |--------|------|-------------|---------|
72
+ | `indicator_id` | `string` | Stable indicator identifier. | `botswana-greenhouse-gas-and-air-pollutant-emissions-id-fa17cc7c` |
73
+ | `indicator_name` | `string` | Human-readable indicator name. | `Botswana: Greenhouse Gas and Air Pollutant Emissions - id` |
74
+ | `country_iso3` | `string` | ISO3 country code. | `BWA` |
75
+ | `country_name` | `string` | Country name. | `Botswana` |
76
+ | `year` | `Int64` | Observation year. | `2024` |
77
+ | `value` | `float64` | Numeric observation value. | `1278566.0` |
78
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
79
+ | `dimension_name` | `string` | Source dimension. | `Kweneng North Sub-district` |
80
+ | `dimension_sector` | `string` | Source dimension. | `buildings` |
81
+ | `dimension_subsector` | `string` | Source dimension. | `residential-onsite-fuel-usage` |
82
+ | `dimension_country` | `string` | Source dimension. | `BWA` |
83
+ | `dimension_assettype` | `string` | Source dimension. | `` |
84
+ | `dimension_sourcetype` | `string` | Source dimension. | `gadm-aggregation` |
85
+ | `dimension_centroid` | `string` | Source dimension. | `{'longitude': 25.608867509796752, 'latitude': -23.77964019749996, 'srid'` |
86
+ | `dimension_gas` | `string` | Source dimension. | `co2e_20yr` |
87
+ | `dimension_emissionsfactorunits` | `string` | Source dimension. | `t of CO2e_20yr per MJ` |
88
+ | `dimension_activityunits` | `string` | Source dimension. | `MJ` |
89
+ | `dimension_capacityunits` | `string` | Source dimension. | `m^2` |
90
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2015` |
91
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
92
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2015-2021` |
93
+ | `source_provider` | `category` | Publishing organization. | `Climate TRACE` |
94
+ | `source_dataset` | `category` | Source package title. | `Botswana: Greenhouse Gas and Air Pollutant Emissions` |
95
+ | `source_resource` | `category` | Source resource title. | `bwa_co2e_20yr_source.csv` |
96
+ | `source_package_id` | `category` | CKAN package UUID. | `1485479d-ff56-43bc-8337-9ee53f5dc94d` |
97
+ | `source_resource_id` | `category` | CKAN resource UUID. | `1d5f9b21-7c6f-4f02-bb48-74cf8b51ad9e` |
98
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/1485479d-ff56-43bc-8337-9ee53f5dc94d/re` |
99
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
100
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-25T15:09:03Z` |
101
+
102
+ ## Usage
103
+
104
+ ```python
105
+ from datasets import load_dataset
106
+
107
+ ds = load_dataset("electricsheepafrica/africa-botswana-botswana-greenhouse-gas-and-air-pollutant-emissions-dcc31bfd")
108
+ df = ds["train"].to_pandas()
109
+ print(df.head())
110
+ ```
111
+
112
+ ### Filter to one country
113
+
114
+ ```python
115
+ sample_country = df[df["country_iso3"] == "BWA"]
116
+ ```
117
+
118
+ ### Work with indicators
119
+
120
+ ```python
121
+ if "indicator_id" in df.columns:
122
+ print(df["indicator_id"].value_counts().head())
123
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
124
+ ```
125
+
126
+ ## Citation
127
+
128
+ ```bibtex
129
+ @misc{electric_sheep_africa_africa_botswana_botswana_greenhouse_gas_and_air_pollutant_emissions_dcc31bfd_2026,
130
+ title = {Botswana: Greenhouse Gas and Air Pollutant Emissions | Africa (Botswana official open data)},
131
+ author = {Climate TRACE},
132
+ year = {2026},
133
+ url = {https://data.humdata.org/dataset/bwa-climate-trace},
134
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
135
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-botswana-botswana-greenhouse-gas-and-air-pollutant-emissions-dcc31bfd}}
136
+ }
137
+ ```
138
+
139
+ ## License
140
+
141
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
142
+
143
+ Original data (c) Climate TRACE. When using this dataset, please cite both the
144
+ original source above and the Electric Sheep Africa repackaging.
145
+
146
+ ## About Electric Sheep
147
+
148
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
149
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
150
+ open sources, normalize the schemas, package as Parquet, and publish with
151
+ consistent dataset cards so researchers and developers can use `load_dataset()`
152
+ to start working in seconds.
153
+
154
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
155
+
156
+ ---
157
+
158
+ Provenance: ingested 2026-08-25 via the Electric Sheep pipeline. Source URL:
159
+ https://data.humdata.org/dataset/1485479d-ff56-43bc-8337-9ee53f5dc94d/resource/1d5f9b21-7c6f-4f02-bb48-74cf8b51ad9e/download/bwa_co2e_20yr_source.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:169fc87cd2af5a134baa3ccca717a1258335b7636548e9fe96962cb8c31ed324
3
+ size 39409
metadata/source_snapshot.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "country_name",
7
+ "year",
8
+ "value",
9
+ "unit",
10
+ "dimension_name",
11
+ "dimension_sector",
12
+ "dimension_subsector",
13
+ "dimension_country",
14
+ "dimension_assettype",
15
+ "dimension_sourcetype",
16
+ "dimension_centroid",
17
+ "dimension_gas",
18
+ "dimension_emissionsfactorunits",
19
+ "dimension_activityunits",
20
+ "dimension_capacityunits",
21
+ "source_period_start_year",
22
+ "source_period_end_year",
23
+ "source_period_label",
24
+ "source_provider",
25
+ "source_dataset",
26
+ "source_resource",
27
+ "source_package_id",
28
+ "source_resource_id",
29
+ "source_url",
30
+ "license_id",
31
+ "retrieved_at"
32
+ ],
33
+ "generated_at": "2026-08-25T15:37:20Z",
34
+ "indicator_count": 6,
35
+ "mode": "indicator_long",
36
+ "repo_id": "electricsheepafrica/africa-botswana-botswana-greenhouse-gas-and-air-pollutant-emissions-dcc31bfd",
37
+ "rows": 2016,
38
+ "source": {
39
+ "api_base_url": "https://data.humdata.org/api/3/action",
40
+ "country_iso3": "BWA",
41
+ "country_name": "Botswana",
42
+ "group_names": "bwa",
43
+ "license_id": "cc-by",
44
+ "license_title": "Creative Commons Attribution International (CC BY)",
45
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
46
+ "organization_name": "climate-trace",
47
+ "organization_title": "Climate TRACE",
48
+ "package_id": "1485479d-ff56-43bc-8337-9ee53f5dc94d",
49
+ "package_name": "bwa-climate-trace",
50
+ "package_notes": "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. The Climate TRACE emissions inventory includes: - Annual country-level emissions by sub-sector and by gas beginning in 2015 - Monthly source-level emissions by sub-sector and gas beginning in 2021 and confidence - Emissions source ownership where and when available.",
51
+ "package_page_url": "https://data.humdata.org/dataset/bwa-climate-trace",
52
+ "package_title": "Botswana: Greenhouse Gas and Air Pollutant Emissions",
53
+ "portal_url": "https://data.humdata.org",
54
+ "resource_description": "Botswana carbon dioxide equivalent (CO2e) on a 20-year time horizon emissions over the past 2 years at the source level.",
55
+ "resource_format": "CSV",
56
+ "resource_id": "1d5f9b21-7c6f-4f02-bb48-74cf8b51ad9e",
57
+ "resource_last_modified": "2026-08-03T13:53:13.487974",
58
+ "resource_name": "bwa_co2e_20yr_source.csv",
59
+ "resource_position": "5",
60
+ "resource_url": "https://data.humdata.org/dataset/1485479d-ff56-43bc-8337-9ee53f5dc94d/resource/1d5f9b21-7c6f-4f02-bb48-74cf8b51ad9e/download/bwa_co2e_20yr_source.csv",
61
+ "tag_names": "climate-weather,environment,points of interest-poi"
62
+ },
63
+ "year_max": 2026,
64
+ "year_min": 2024
65
+ }