Kossisoroyce commited on
Commit
5491bc7
·
verified ·
1 Parent(s): 2b1e4a8

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -32
README.md CHANGED
@@ -1,36 +1,147 @@
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: indicator_name
11
- dtype: string
12
- - name: indicator_code
13
- dtype: string
14
- - name: value
15
- dtype: float64
16
- - name: esa_source
17
- dtype: string
18
- - name: esa_processed
19
- dtype: string
20
  splits:
21
- - name: train
22
- num_bytes: 128787
23
- num_examples: 984
24
- - name: test
25
- num_bytes: 32205
26
- num_examples: 246
27
- download_size: 22648
28
- dataset_size: 160992
29
- configs:
30
- - config_name: default
31
- data_files:
32
- - split: train
33
- path: data/train-*
34
- - split: test
35
- path: data/test-*
36
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - 1K<n<10K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-regression
17
+ task_ids: []
18
+ tags:
19
+ - africa
20
+ - humanitarian
21
+ - hdx
22
+ - electric-sheep-africa
23
+ - development
24
+ - energy
25
+ - indicators
26
+ - eth
27
+ pretty_name: "Ethiopia - Energy and Mining"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 984
32
+ - name: test
33
+ num_examples: 246
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Ethiopia - Energy and Mining
37
+
38
+ **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-ethiopia) · **License:** `cc-by` · **Updated:** 2026-03-27
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-ethiopia) on HDX.
45
+
46
+ The world economy needs ever-increasing amounts of energy to sustain economic growth, raise living standards, and reduce poverty. But today's trends in energy use are not sustainable. As the world's population grows and economies become more industrialized, nonrenewable energy sources will become scarcer and more costly. Data here on energy production, use, dependency, and efficiency are compiled by the World Bank from the International Energy Agency and the Carbon Dioxide Information Analysis Center.
47
+
48
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **ETH**.
49
+
50
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
51
+
52
+ ---
53
+
54
+ ## Dataset Characteristics
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Domain** | Demographics and population |
59
+ | **Unit of observation** | Country-level aggregates |
60
+ | **Rows (total)** | 1,230 |
61
+ | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
62
+ | **Train split** | 984 rows |
63
+ | **Test split** | 246 rows |
64
+ | **Geographic scope** | ETH |
65
+ | **Publisher** | World Bank Group |
66
+ | **HDX last updated** | 2026-03-27 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country_name` (Ethiopia), `country_iso3` (ETH), `year` (range 1970.0–2023.0).
73
+
74
+ **Outcome / Measurement** — `value` (range -1617210000.0–935320000.0).
75
+
76
+ **Identifier / Metadata** — `indicator_name` (Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Adjusted savings: energy depletion (% of GNI)), `indicator_code` (NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, NY.ADJ.DNGY.GN.ZS), `esa_source` (HDX), `esa_processed` (2026-04-10).
77
+
78
+ ---
79
+
80
+ ## Quick Start
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-ethiopia")
86
+ train = ds["train"].to_pandas()
87
+ test = ds["test"].to_pandas()
88
+
89
+ print(train.shape)
90
+ train.head()
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Schema
96
+
97
+ | Column | Type | Null % | Range / Sample Values |
98
+ |---|---|---|---|
99
+ | `country_name` | object | 0.0% | Ethiopia |
100
+ | `country_iso3` | object | 0.0% | ETH |
101
+ | `year` | int64 | 0.0% | 1970.0 – 2023.0 (mean 2004.6992) |
102
+ | `indicator_name` | object | 0.0% | Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Adjusted savings: energy depletion (% of GNI) |
103
+ | `indicator_code` | object | 0.0% | NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, NY.ADJ.DNGY.GN.ZS |
104
+ | `value` | float64 | 0.0% | -1617210000.0 – 935320000.0 (mean 613170.3772) |
105
+ | `esa_source` | object | 0.0% | HDX |
106
+ | `esa_processed` | object | 0.0% | 2026-04-10 |
107
+
108
+ ---
109
+
110
+ ## Numeric Summary
111
+
112
+ | Column | Min | Max | Mean | Median |
113
+ |---|---|---|---|---|
114
+ | `year` | 1970.0 | 2023.0 | 2004.6992 | 2006.0 |
115
+ | `value` | -1617210000.0 | 935320000.0 | 613170.3772 | 4.302 |
116
+
117
+ ---
118
+
119
+ ## Curation
120
+
121
+ 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`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
122
+
123
+ ---
124
+
125
+ ## Limitations
126
+
127
+ - Data originates from World Bank Group and has not been independently validated by ESA.
128
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
129
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-ethiopia) for the publisher's own methodology notes and caveats.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ ```bibtex
136
+ @dataset{hdx_africa_world_bank_energy_and_mining_indicators_for_ethiopia,
137
+ title = {Ethiopia - Energy and Mining},
138
+ author = {World Bank Group},
139
+ year = {2026},
140
+ url = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-ethiopia},
141
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
142
+ }
143
+ ```
144
+
145
+ ---
146
+
147
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*