CoolFace
Datasetpublic

electricsheepafrica/africa-lesotho-lesotho-public-sector-42259ce1

Lesotho - Public Sector | Africa (Lesotho official open data) 2,414 rows - 1 Africa country - 1976-2025 - Repackaged by Electric Sheep Africa TL;DR This dataset packages one official CSV resource from Lesotho 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: Lesotho - Public Sector Publisher: World Bank Group Resource:… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-lesotho-lesotho-public-sector-42259ce1.

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

Lesotho - Public Sector | Africa (Lesotho official open data)

2,414 rows - 1 Africa country - 1976-2025 - Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset packages one official CSV resource from Lesotho 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
LSO2,41419762025Lesotho

Indicators or Resource Contents

  • —lesotho-public-sector-4dcb488a - Lesotho - Public Sector

Schema

ColumnTypeDescriptionExample
indicator_idstringStable indicator identifier.lesotho-public-sector-4dcb488a
indicator_namestringHuman-readable indicator name.Lesotho - Public Sector
country_iso3stringISO3 country code.LSO
country_namestringCountry name.Lesotho
yearInt64Observation year.2024
valuefloat64Numeric observation value.1664000000.0
unitstringMeasurement unit, when available.source_units_unspecified
dimension_country_namestringSource dimension.Lesotho
dimension_country_iso3stringSource dimension.LSO
dimension_indicator_namestringSource dimension.Net acquisition of financial assets (current LCU)
dimension_indicator_codestringSource dimension.GC.AST.TOTL.CN
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.Lesotho - Public Sector
source_resourcecategorySource resource title.Public Sector Indicators for Lesotho
source_package_idcategoryCKAN package UUID.55c2bafe-167c-4a3a-933e-5c46de2f5e1c
source_resource_idcategoryCKAN resource UUID.d1355578-7d3e-433f-8626-fa0c436cc70e
source_urlcategoryOriginal source resource URL.https://data.humdata.org/dataset/55c2bafe-167c-4a3a-933e-5c46de2f5e1c/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-lesotho-lesotho-public-sector-42259ce1")
df = ds["train"].to_pandas()
print(df.head())

Filter to one country

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

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_lesotho_lesotho_public_sector_42259ce1_2025,
  title        = {Lesotho - Public Sector | Africa (Lesotho official open data)},
  author       = {World Bank Group},
  year         = {2025},
  url          = {https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-lesotho},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-lesotho-lesotho-public-sector-42259ce1}}
}

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/55c2bafe-167c-4a3a-933e-5c46de2f5e1c/resource/d1355578-7d3e-433f-8626-fa0c436cc70e/download/public-sector_lso.csv