CoolFace
Datasetpublic

electricsheepafrica/africa-botswana-botswana-energy-and-mining-0ac440e6

Botswana - Energy and Mining | Africa (Botswana official open data) 1,337 rows - 1 Africa country - 1970-2024 - Repackaged by Electric Sheep Africa TL;DR This dataset packages one official CSV resource from Botswana 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: Botswana - Energy and Mining Publisher: World Bank… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-botswana-botswana-energy-and-mining-0ac440e6.

sourceHugging Facecc-by-4.0updated 1mo agoView on Hugging Face
0likes12downloads
Dataset Card

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

1,337 rows - 1 Africa country - 1970-2024 - Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset packages one official CSV resource from Botswana 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
BWA1,33719702024Botswana

Indicators or Resource Contents

  • —botswana-energy-and-mining-479ffc90 - Botswana - Energy and Mining

Schema

ColumnTypeDescriptionExample
indicator_idstringStable indicator identifier.botswana-energy-and-mining-479ffc90
indicator_namestringHuman-readable indicator name.Botswana - Energy and Mining
country_iso3stringISO3 country code.BWA
country_namestringCountry name.Botswana
yearInt64Observation year.2021
valuefloat64Numeric observation value.2.68
unitstringMeasurement unit, when available.source_units_unspecified
dimension_country_namestringSource dimension.Botswana
dimension_country_iso3stringSource dimension.BWA
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.Botswana - Energy and Mining
source_resourcecategorySource resource title.Energy and Mining Indicators for Botswana
source_package_idcategoryCKAN package UUID.43c09384-1445-4528-988d-84cf97bad9f5
source_resource_idcategoryCKAN resource UUID.0b09e9d9-27cc-4e93-a582-22c2fd9f0560
source_urlcategoryOriginal source resource URL.https://data.humdata.org/dataset/43c09384-1445-4528-988d-84cf97bad9f5/re
license_idcategorySource license identifier.cc-by
retrieved_atcategoryUTC retrieval timestamp.2026-08-25T15:09:03Z

Usage

python
from datasets import load_dataset

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

Filter to one country

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

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_botswana_botswana_energy_and_mining_0ac440e6_2024,
  title        = {Botswana - Energy and Mining | Africa (Botswana official open data)},
  author       = {World Bank Group},
  year         = {2024},
  url          = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-botswana},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-botswana-botswana-energy-and-mining-0ac440e6}}
}

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-25 via the Electric Sheep pipeline. Source URL: https://data.humdata.org/dataset/43c09384-1445-4528-988d-84cf97bad9f5/resource/0b09e9d9-27cc-4e93-a582-22c2fd9f0560/download/energy-and-mining_bwa.csv