CoolFace
Datasetpublic

electricsheepafrica/africa-madagascar-madagascar-energy-and-mining-e2e7972f

Madagascar - Energy and Mining | Africa (Madagascar official open data) 1,364 rows - 1 Africa country - 1962-2024 - Repackaged by Electric Sheep Africa TL;DR This dataset packages one official CSV resource from Madagascar as ML-ready Parquet. The source file is the provenance boundary; all usable indicators or tabular columns from the resource stay together in this repo. About the source Source: Madagascar - Energy and Mining Publisher: World… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-madagascar-madagascar-energy-and-mining-e2e7972f.

sourceHugging Facecc-by-4.0updated 29d agoView on Hugging Face
0likes45downloads
Dataset Card

Madagascar - Energy and Mining | Africa (Madagascar official open data)

1,364 rows - 1 Africa country - 1962-2024 - Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset packages one official CSV resource from Madagascar as ML-ready Parquet. The source file is the provenance boundary; all usable indicators or tabular columns from the resource stay together in this repo.

About the source

Geographic coverage

1 Africa country:

CountryRowsFirst yearLast yearName
MDG1,36419622024Madagascar

Indicators or Resource Contents

  • —madagascar-energy-and-mining-cc53cf1e - Madagascar - Energy and Mining

Schema

ColumnTypeDescriptionExample
indicator_idstringStable indicator identifier.madagascar-energy-and-mining-cc53cf1e
indicator_namestringHuman-readable indicator name.Madagascar - Energy and Mining
country_iso3stringISO3 country code.MDG
country_namestringCountry name.Madagascar
yearInt64Observation year.2022
valuefloat64Numeric observation value.9.0
unitstringMeasurement unit, when available.source_units_unspecified
dimension_country_namestringSource dimension.Madagascar
dimension_country_iso3stringSource dimension.MDG
dimension_indicator_namestringSource dimension.Energy intensity level of primary energy (MJ/$2021 PPP GDP)
dimension_indicator_codestringSource dimension.EG.EGY.PRIM.PP.KD
source_period_start_yearInt64First year inferred from source resource metadata.``
source_period_end_yearInt64Last year inferred from source resource metadata.``
source_period_labelstringHuman-readable period inferred from source resource metadata.``
source_providercategoryPublishing organization.World Bank Group
source_datasetcategorySource package title.Madagascar - Energy and Mining
source_resourcecategorySource resource title.Energy and Mining Indicators for Madagascar
source_package_idcategoryCKAN package UUID.cf300e61-7353-430b-9da9-ced3b00b3f16
source_resource_idcategoryCKAN resource UUID.74a960db-888b-4071-8f4b-eb45de9b03f5
source_urlcategoryOriginal source resource URL.https://data.humdata.org/dataset/cf300e61-7353-430b-9da9-ced3b00b3f16/re
license_idcategorySource license identifier.cc-by
retrieved_atcategoryUTC retrieval timestamp.2026-08-30T05:38:32Z

Usage

python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-madagascar-madagascar-energy-and-mining-e2e7972f")
df = ds["train"].to_pandas()
print(df.head())

Filter to one country

python
sample_country = df[df["country_iso3"] == "MDG"]

Work with indicators

python
if "indicator_id" in df.columns:
    print(df["indicator_id"].value_counts().head())
    sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])

Citation

bibtex
@misc{electric_sheep_africa_africa_madagascar_madagascar_energy_and_mining_e2e7972f_2024,
  title        = {Madagascar - Energy and Mining | Africa (Madagascar official open data)},
  author       = {World Bank Group},
  year         = {2024},
  url          = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-madagascar},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-madagascar-madagascar-energy-and-mining-e2e7972f}}
}

License

Released under CC BY 4.0.

Original data (c) World Bank Group. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.

About Electric Sheep

Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on Hugging Face. 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/electricsheepafrica


Provenance: ingested 2026-08-30 via the Electric Sheep pipeline. Source URL: https://data.humdata.org/dataset/cf300e61-7353-430b-9da9-ced3b00b3f16/resource/74a960db-888b-4071-8f4b-eb45de9b03f5/download/energy-and-mining_mdg.csv