Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,32 +1,138 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
num_examples: 17
|
| 23 |
-
download_size: 7775
|
| 24 |
-
dataset_size: 12680
|
| 25 |
-
configs:
|
| 26 |
-
- config_name: default
|
| 27 |
-
data_files:
|
| 28 |
-
- split: train
|
| 29 |
-
path: data/train-*
|
| 30 |
-
- split: test
|
| 31 |
-
path: data/test-*
|
| 32 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- tabular-regression
|
| 8 |
+
- time-series-forecasting
|
| 9 |
+
multilinguality: monolingual
|
| 10 |
+
size_categories:
|
| 11 |
+
- n<1K
|
| 12 |
+
tags:
|
| 13 |
+
- tabular
|
| 14 |
+
- africa
|
| 15 |
+
- world-bank-—-education-statistics
|
| 16 |
+
- education-statistics
|
| 17 |
+
- world-bank
|
| 18 |
+
- worldbank
|
| 19 |
+
- development-indicators
|
| 20 |
+
- time-series
|
| 21 |
+
pretty_name: "Teaching staff compensation as a percentage of total expenditure in public institutions (%) | Africa (World Bank — Education Statistics)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
+
|
| 24 |
+
# Teaching staff compensation as a percentage of total expenditure in public institutions (%) | Africa (World Bank — Education Statistics)
|
| 25 |
+
|
| 26 |
+
🌍 **81 observations** · **20 Africa countries** · **1998–2019** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 27 |
+
|
| 28 |
+
    
|
| 29 |
+
|
| 30 |
+
## TL;DR
|
| 31 |
+
|
| 32 |
+
This dataset contains **81 observations** of `Education Statistics` data across **20 Africa countries**, spanning **1998–2019**, covering **1 distinct indicators**.
|
| 33 |
+
|
| 34 |
+
## About the source
|
| 35 |
+
|
| 36 |
+
- **Source:** [World Bank — Education Statistics](https://databank.worldbank.org/)
|
| 37 |
+
- **Publisher:** World Bank
|
| 38 |
+
- **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 39 |
+
- **Topic:** Education Statistics
|
| 40 |
+
|
| 41 |
+
## Geographic coverage
|
| 42 |
+
|
| 43 |
+
20 Africa countries · top rows shown below, sorted by row count:
|
| 44 |
+
|
| 45 |
+
| Country | Rows | First year | Last year |
|
| 46 |
+
|---------|-----:|-----------:|----------:|
|
| 47 |
+
| `CIV` | 15 | 1998 | 2018 |
|
| 48 |
+
| `BEN` | 10 | 1998 | 2015 |
|
| 49 |
+
| `GHA` | 8 | 2004 | 2012 |
|
| 50 |
+
| `GIN` | 7 | 2013 | 2019 |
|
| 51 |
+
| `MLI` | 7 | 2009 | 2017 |
|
| 52 |
+
| `KEN` | 5 | 2011 | 2015 |
|
| 53 |
+
| `BDI` | 5 | 2008 | 2012 |
|
| 54 |
+
| `GNB` | 4 | 2010 | 2013 |
|
| 55 |
+
| `CMR` | 3 | 2008 | 2010 |
|
| 56 |
+
| `CAF` | 3 | 2005 | 2008 |
|
| 57 |
+
| `MOZ` | 2 | 2012 | 2013 |
|
| 58 |
+
| `CPV` | 2 | 2005 | 2010 |
|
| 59 |
+
| `LSO` | 2 | 1999 | 2018 |
|
| 60 |
+
| `MDG` | 2 | 2008 | 2013 |
|
| 61 |
+
| `BFA` | 1 | 2007 | 2007 |
|
| 62 |
+
| ... | _5 more countries_ | | |
|
| 63 |
+
|
| 64 |
+
## Indicators (sample)
|
| 65 |
+
|
| 66 |
+
- `UIS.XSPENDP.FDPUB.FNTS` — Teaching staff compensation as a percentage of total expenditure in public institutions (%)
|
| 67 |
+
|
| 68 |
+
## Schema
|
| 69 |
+
|
| 70 |
+
| Column | Type | Description | Example |
|
| 71 |
+
|--------|------|-------------|---------|
|
| 72 |
+
| `indicator_id` | `string` | — | `UIS.XSPENDP.FDPUB.FNTS` |
|
| 73 |
+
| `indicator_name` | `string` | — | `Teaching staff compensation as a perc…` |
|
| 74 |
+
| `country_iso3` | `string` | — | `BEN` |
|
| 75 |
+
| `country_name` | `string` | — | `Benin` |
|
| 76 |
+
| `year` | `int64` | — | `2015` |
|
| 77 |
+
| `value` | `float64` | — | `60.01242` |
|
| 78 |
+
|
| 79 |
+
## Usage
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
|
| 84 |
+
ds = load_dataset("electricsheepafrica/africa-worldbank-teaching-staff-compensation-as-a-percentage-of-total-expenditure-in-public-inst")
|
| 85 |
+
df = ds["train"].to_pandas()
|
| 86 |
+
print(df.head())
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
### Filter to one country
|
| 90 |
+
|
| 91 |
+
```python
|
| 92 |
+
kenya = df[df["country_iso3"] == "KEN"]
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
### Time-series for a single indicator
|
| 96 |
+
|
| 97 |
+
```python
|
| 98 |
+
sample = (df[df["indicator_id"] == "UIS.XSPENDP.FDPUB.FNTS"]
|
| 99 |
+
.sort_values("year"))
|
| 100 |
+
sample.plot(x="year", y="value", title="UIS.XSPENDP.FDPUB.FNTS")
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
### Pivot to country × year matrix
|
| 104 |
+
|
| 105 |
+
```python
|
| 106 |
+
matrix = (df[df["indicator_id"] == "UIS.XSPENDP.FDPUB.FNTS"]
|
| 107 |
+
.pivot_table(index="year", columns="country_iso3", values="value"))
|
| 108 |
+
print(matrix.tail())
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## Citation
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@misc{africa_worldbank_teaching_staff_compensation_as_a_percentage_of_total_expenditure_in_public_inst_2019,
|
| 115 |
+
title = {Teaching staff compensation as a percentage of total expenditure in public institutions (%) | Africa (World Bank — Education Statistics)},
|
| 116 |
+
author = {World Bank},
|
| 117 |
+
year = {2019},
|
| 118 |
+
url = {https://databank.worldbank.org/},
|
| 119 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 120 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-worldbank-teaching-staff-compensation-as-a-percentage-of-total-expenditure-in-public-inst}}
|
| 121 |
+
}
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
## License
|
| 125 |
+
|
| 126 |
+
Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 127 |
+
|
| 128 |
+
Original data © World Bank. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
|
| 129 |
+
|
| 130 |
+
## About Electric Sheep
|
| 131 |
+
|
| 132 |
+
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.
|
| 133 |
+
|
| 134 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
_Provenance: ingested 2026-06-19 via the Electric Sheep pipeline. Source URL: https://databank.worldbank.org/_
|