Kossiesa's picture
Upload README.md with huggingface_hub
b8528e1 verified
|
Raw
History Blame
4.94 kB
metadata
license: cc-by-4.0
language:
  - en
task_categories:
  - tabular-classification
  - tabular-regression
  - time-series-forecasting
multilinguality: monolingual
size_categories:
  - n<1K
tags:
  - tabular
  - africa
  - world-bank-—-education-statistics
  - education-statistics
  - world-bank
  - worldbank
  - development-indicators
  - time-series
pretty_name: >-
  Teaching staff compensation as a percentage of total expenditure in public
  institutions (%) | Africa (World Bank — Education Statistics)

Teaching staff compensation as a percentage of total expenditure in public institutions (%) | Africa (World Bank — Education Statistics)

🌍 81 observations · 20 Africa countries · 1998–2019 · Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset contains 81 observations of Education Statistics data across 20 Africa countries, spanning 1998–2019, covering 1 distinct indicators.

About the source

Geographic coverage

20 Africa countries · top rows shown below, sorted by row count:

Country Rows First year Last year
CIV 15 1998 2018
BEN 10 1998 2015
GHA 8 2004 2012
GIN 7 2013 2019
MLI 7 2009 2017
KEN 5 2011 2015
BDI 5 2008 2012
GNB 4 2010 2013
CMR 3 2008 2010
CAF 3 2005 2008
MOZ 2 2012 2013
CPV 2 2005 2010
LSO 2 1999 2018
MDG 2 2008 2013
BFA 1 2007 2007
... 5 more countries

Indicators (sample)

  • UIS.XSPENDP.FDPUB.FNTS — Teaching staff compensation as a percentage of total expenditure in public institutions (%)

Schema

Column Type Description Example
indicator_id string UIS.XSPENDP.FDPUB.FNTS
indicator_name string Teaching staff compensation as a perc…
country_iso3 string BEN
country_name string Benin
year int64 2015
value float64 60.01242

Usage

from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-worldbank-teaching-staff-compensation-as-a-percentage-of-total-expenditure-in-public-inst")
df = ds["train"].to_pandas()
print(df.head())

Filter to one country

kenya = df[df["country_iso3"] == "KEN"]

Time-series for a single indicator

sample = (df[df["indicator_id"] == "UIS.XSPENDP.FDPUB.FNTS"]
          .sort_values("year"))
sample.plot(x="year", y="value", title="UIS.XSPENDP.FDPUB.FNTS")

Pivot to country × year matrix

matrix = (df[df["indicator_id"] == "UIS.XSPENDP.FDPUB.FNTS"]
          .pivot_table(index="year", columns="country_iso3", values="value"))
print(matrix.tail())

Citation

@misc{africa_worldbank_teaching_staff_compensation_as_a_percentage_of_total_expenditure_in_public_inst_2019,
  title        = {Teaching staff compensation as a percentage of total expenditure in public institutions (%) | Africa (World Bank — Education Statistics)},
  author       = {World Bank},
  year         = {2019},
  url          = {https://databank.worldbank.org/},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-worldbank-teaching-staff-compensation-as-a-percentage-of-total-expenditure-in-public-inst}}
}

License

Released under cc-by-4.0.

Original data © World Bank. 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 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/electricsheepafrica


Provenance: ingested 2026-06-19 via the Electric Sheep pipeline. Source URL: https://databank.worldbank.org/