CoolFace
Datasetpublic

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.

sourceHugging Facecc-by-4.0updated 4mo agoView on Hugging Face
0likes93downloads
Dataset Card

Energy & Mining β€” Europe (World Bank WDI)

πŸ‡ͺπŸ‡Ί 55,013 observations Β· 44 Europe countries Β· 1962–2025 Β· Repackaged by [Electric Sheep Europe](https://huggingface.co/electricsheepeurope)

rows countries years indicators license

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:

CountryRowsFirst yearLast year
DEU1,53819622025
SWE1,53619622024
FRA1,53419622024
NLD1,53419622024
ITA1,53419622024
DNK1,53319622025
ESP1,53219622024
PRT1,53219622024
IRL1,53119632024
GBR1,53119622024
AUT1,53019632025
FIN1,52919632024
NOR1,51919622024
BEL1,49219622024
GRC1,42719622024
...29 more countries

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

ColumnTypeDescriptionExample
indicator_idstringWorld Bank WDI indicator code (e.g. SP.POP.TOTL)EG.ELC.ACCS.RU.ZS
indicator_namestringHuman-readable indicator nameAccess to electricity, rural (% of ru…
country_iso2stringISO 3166-1 alpha-2 country codeAL
country_iso3stringISO 3166-1 alpha-3 country code (preferred join key)ALB
country_namestringEnglish country name as published by the World BankAlbania
yearint64Year of observation (CE)2023
valuefloat64Observed indicator value100.0
unitstringUnit of measurement (often empty)``
obs_statusstringWorld Bank observation-status flag (e.g. preliminary, estimated)``

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

python
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

python
germany = df[df["country_iso3"] == "DEU"]

Time-series for a single indicator

python
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

python
matrix = (df[df["indicator_id"] == "EG.ELC.ACCS.RU.ZS"]
          .pivot_table(index="year", columns="country_iso3", values="value"))
print(matrix.tail())

Citation

bibtex
@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