File size: 4,938 Bytes
49f504c
b8528e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49f504c
b8528e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
---
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](https://huggingface.co/electricsheepafrica)*

![rows](https://img.shields.io/badge/rows-81-blue) ![countries](https://img.shields.io/badge/countries-20-green) ![years](https://img.shields.io/badge/years-1998–2019-orange) ![indicators](https://img.shields.io/badge/indicators-1-purple) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)

## 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

- **Source:** [World Bank — Education Statistics](https://databank.worldbank.org/)
- **Publisher:** World Bank
- **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
- **Topic:** Education Statistics

## 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

```python
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

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

### Time-series for a single indicator

```python
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

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

## Citation

```bibtex
@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](https://creativecommons.org/licenses/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](https://huggingface.co/electricsheepafrica)

---

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