electricsheepeurope/europe-worldbank-energy-mining
Energy & Mining β Europe (World Bank WDI) πͺπΊ 55,013 observations Β· 44 Europe countries Β· 1962β2025 Β· Repackaged by Electric Sheep Europe TL;DR This dataset contains 55,013 observations of Energy & Mining data across 44 Europe countries, spanning 1962β2025, covering 41 distinct indicators. About the source The World Bank's World Development Indicators (WDI) is the world's most-cited reference for global development data. It compilesβ¦ See the full description on the dataset page: https://huggingface.co/datasets/electricsheepeurope/europe-worldbank-energy-mining.
Energy & Mining β Europe (World Bank WDI)
πͺπΊ 55,013 observations Β· 44 Europe countries Β· 1962β2025 Β· Repackaged by [Electric Sheep Europe](https://huggingface.co/electricsheepeurope)
TL;DR
This dataset contains 55,013 observations of Energy & Mining data across 44 Europe countries, spanning 1962β2025, covering 41 distinct indicators.
About the source
The World Bank's World Development Indicators (WDI) is the world's most-cited reference for global development data. It compiles officially-recognized international statistics from national accounts, government agencies, and partner organizations (IMF, WHO, FAO, UNESCO, ILO, UN agencies). The WDI covers over 1,400 indicators across 21 topics for 217 economies, with annual updates as new data become available.
- Source: World Bank
- Publisher: World Bank Group
- License: cc-by-4.0
- Topic: Energy & Mining
Methodology
Data is pulled directly from the World Bank's public API (api.worldbank.org/v2) for every indicator tagged to this topic across all countries in the region. Records with no observed value are dropped. Years are normalized to integers; values are coerced to float64.
Geographic coverage
44 Europe countries Β· top rows shown below, sorted by row count:
Indicators (sample)
EG.EGY.PRIM.PP.KDβ Energy intensity level of primary energy (MJ/$2021 PPP GDP)EG.ELC.ACCS.RU.ZSβ Access to electricity, rural (% of rural population)EG.ELC.ACCS.UR.ZSβ Access to electricity, urban (% of urban population)EG.ELC.ACCS.ZSβ Access to electricity (% of population)EG.ELC.COAL.ZSβ Electricity production from coal sources (% of total)EG.ELC.FOSL.ZSβ Electricity production from oil, gas and coal sources (% of total)EG.ELC.HYRO.ZSβ Electricity production from hydroelectric sources (% of total)EG.ELC.LOSS.ZSβ Electric power transmission and distribution losses (% of output)EG.ELC.NGAS.ZSβ Electricity production from natural gas sources (% of total)EG.ELC.NUCL.ZSβ Electricity production from nuclear sources (% of total)- ... and 31 more indicators
Schema
Data quality & caveats
- Records with null observations are filtered out at ingest.
- Indicator coverage varies by country and year; not every (indicator Γ country Γ year) combination is present.
- Some countries appear under multiple aggregate groupings in WB; this dataset is filtered to individual sovereign states only.
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepeurope/europe-worldbank-energy-mining")
df = ds["train"].to_pandas()
print(df.head())Filter to one country
germany = df[df["country_iso3"] == "DEU"]Time-series for a single indicator
sample = (df[df["indicator_id"] == "EG.ELC.ACCS.RU.ZS"]
.sort_values("year"))
sample.plot(x="year", y="value", title="EG.ELC.ACCS.RU.ZS")Pivot to country Γ year matrix
matrix = (df[df["indicator_id"] == "EG.ELC.ACCS.RU.ZS"]
.pivot_table(index="year", columns="country_iso3", values="value"))
print(matrix.tail())Citation
@misc{europe_worldbank_energy_mining_2025,
title = {Energy & Mining β Europe (World Bank WDI)},
author = {World Bank Group},
year = {2025},
url = {https://databank.worldbank.org/source/world-development-indicators},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Europe},
howpublished = {\url{https://huggingface.co/datasets/electricsheepeurope/europe-worldbank-energy-mining}}
}License
Released under cc-by-4.0.
Original data Β© World Bank Group. When using this dataset, please cite both the original source above and the Electric Sheep Europe repackaging.
About Electric Sheep
Electric Sheep Europe is part of the Electric Sheep mission: a unified, ML-ready data layer for Europe 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.
Browse the full collection: huggingface.co/electricsheepeurope
Provenance: ingested 2026-05-24 via the Electric Sheep pipeline. Source URL: https://databank.worldbank.org/source/world-development-indicators
