Datasets:
separation_of_power_2005_2021 stringclasses 11
values | unnamed_1 float64 2.01k 2.02k ⌀ | unnamed_2 float64 1 9 ⌀ | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-28 00:00:00 2026-04-28 00:00:00 |
|---|---|---|---|---|
South Africa | 2,021 | 7 | HDX | 2026-04-28 |
Botswana | 2,011 | 7 | HDX | 2026-04-28 |
Sudan | 2,009 | 2 | HDX | 2026-04-28 |
Tanzania | 2,011 | 7 | HDX | 2026-04-28 |
Kenya | 2,005 | 6 | HDX | 2026-04-28 |
Kenya | 2,011 | 6 | HDX | 2026-04-28 |
Benin | 2,021 | 5 | HDX | 2026-04-28 |
Sudan | 2,005 | 3 | HDX | 2026-04-28 |
Sudan | 2,011 | 3 | HDX | 2026-04-28 |
Kenya | 2,007 | 7 | HDX | 2026-04-28 |
Tanzania | 2,009 | 7 | HDX | 2026-04-28 |
Benin | 2,017 | 8 | HDX | 2026-04-28 |
Sudan | 2,013 | 3 | HDX | 2026-04-28 |
Benin | 2,009 | 7 | HDX | 2026-04-28 |
Nigeria | 2,011 | 7 | HDX | 2026-04-28 |
Nigeria | 2,021 | 5 | HDX | 2026-04-28 |
Botswana | 2,013 | 7 | HDX | 2026-04-28 |
Nigeria | 2,017 | 6 | HDX | 2026-04-28 |
Kenya | 2,013 | 7 | HDX | 2026-04-28 |
Benin | 2,013 | 7 | HDX | 2026-04-28 |
Tanzania | 2,015 | 6 | HDX | 2026-04-28 |
Ethiopia | 2,017 | 2 | HDX | 2026-04-28 |
Botswana | 2,019 | 8 | HDX | 2026-04-28 |
Tanzania | 2,007 | 6 | HDX | 2026-04-28 |
Ethiopia | 2,013 | 3 | HDX | 2026-04-28 |
Senegal | 2,015 | 6 | HDX | 2026-04-28 |
Botswana | 2,007 | 8 | HDX | 2026-04-28 |
Ethiopia | 2,011 | 3 | HDX | 2026-04-28 |
Benin | 2,005 | 8 | HDX | 2026-04-28 |
Botswana | 2,015 | 7 | HDX | 2026-04-28 |
Kenya | 2,021 | 6 | HDX | 2026-04-28 |
Benin | 2,015 | 7 | HDX | 2026-04-28 |
Sudan | 2,019 | 1 | HDX | 2026-04-28 |
Benin | 2,011 | 7 | HDX | 2026-04-28 |
Zambia | 2,015 | 6 | HDX | 2026-04-28 |
Kenya | 2,017 | 6 | HDX | 2026-04-28 |
Zambia | 2,011 | 7 | HDX | 2026-04-28 |
Senegal | 2,021 | 6 | HDX | 2026-04-28 |
Zambia | 2,021 | 4 | HDX | 2026-04-28 |
Senegal | 2,017 | 6 | HDX | 2026-04-28 |
Nigeria | 2,013 | 7 | HDX | 2026-04-28 |
Senegal | 2,009 | 5 | HDX | 2026-04-28 |
Tanzania | 2,005 | 8 | HDX | 2026-04-28 |
Nigeria | 2,019 | 6 | HDX | 2026-04-28 |
South Africa | 2,019 | 7 | HDX | 2026-04-28 |
South Africa | 2,013 | 7 | HDX | 2026-04-28 |
Zambia | 2,019 | 4 | HDX | 2026-04-28 |
Zambia | 2,005 | 7 | HDX | 2026-04-28 |
Nigeria | 2,009 | 6 | HDX | 2026-04-28 |
South Africa | 2,007 | 9 | HDX | 2026-04-28 |
Senegal | 2,005 | 6 | HDX | 2026-04-28 |
Tanzania | 2,017 | 6 | HDX | 2026-04-28 |
South Africa | 2,005 | 9 | HDX | 2026-04-28 |
Kenya | 2,009 | 5 | HDX | 2026-04-28 |
Zambia | 2,013 | 6 | HDX | 2026-04-28 |
South Africa | 2,009 | 7 | HDX | 2026-04-28 |
South Africa | 2,017 | 7 | HDX | 2026-04-28 |
Tanzania | 2,013 | 6 | HDX | 2026-04-28 |
Kenya | 2,019 | 6 | HDX | 2026-04-28 |
Ethiopia | 2,021 | 3 | HDX | 2026-04-28 |
null | null | null | HDX | 2026-04-28 |
Senegal | 2,013 | 6 | HDX | 2026-04-28 |
Ethiopia | 2,005 | 3 | HDX | 2026-04-28 |
Country | null | null | HDX | 2026-04-28 |
Ethiopia | 2,009 | 3 | HDX | 2026-04-28 |
Zambia | 2,007 | 6 | HDX | 2026-04-28 |
Sudan | 2,021 | 2 | HDX | 2026-04-28 |
Zambia | 2,009 | 7 | HDX | 2026-04-28 |
Tanzania | 2,019 | 4 | HDX | 2026-04-28 |
Botswana | 2,021 | 8 | HDX | 2026-04-28 |
South Africa | 2,011 | 7 | HDX | 2026-04-28 |
Sudan | 2,015 | 3 | HDX | 2026-04-28 |
Botswana | 2,009 | 8 | HDX | 2026-04-28 |
Senegal | 2,011 | 5 | HDX | 2026-04-28 |
Separation of Power (2005-2021) for select African countries
Publisher: The Charter Project · Source: OpenAfrica · License: cc-by · Updated: 2023-04-11
Abstract
The variable indicates the extent of mutual checks and balances on political powers. It ranges from 1 to 10 (most separated).
Score 1 No separation of Power 4 The separation of powers is formally established but weak in practice 7 The separation of powers is in place and functioning 10 There is a clear separation of powers with mutual checks and balances. The remaining scores are intermediate categories.
Each row in this dataset represents tabular records. Data was last updated on OpenAfrica on 2023-04-11. Geographic scope: BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 2 others.
Curated into ML-ready Parquet format by Electric Sheep Africa.
Dataset Characteristics
| Domain | Humanitarian and development data |
| Unit of observation | Tabular records |
| Rows (total) | 93 |
| Columns | 5 (2 numeric, 3 categorical, 0 datetime) |
| Train split | 74 rows |
| Test split | 18 rows |
| Geographic scope | BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 2 others |
| Publisher | The Charter Project |
| OpenAfrica last updated | 2023-04-11 |
Variables
Identifier / Metadata — unnamed_1 (range 2005.0–2021.0), unnamed_2 (range 1.0–9.0), esa_source (HDX), esa_processed (2026-04-28).
Other — separation_of_power_2005_2021 (Benin, Botswana, Ethiopia).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-separation-of-power-2005-2021-for-select-african-countries")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
separation_of_power_2005_2021 |
object | 1.1% | Benin, Botswana, Ethiopia |
unnamed_1 |
float64 | 3.2% | 2005.0 – 2021.0 (mean 2013.0) |
unnamed_2 |
float64 | 3.2% | 1.0 – 9.0 (mean 5.7222) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-28 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
unnamed_1 |
2005.0 | 2021.0 | 2013.0 | 2013.0 |
unnamed_2 |
1.0 | 9.0 | 5.7222 | 6.0 |
Curation
Raw data was downloaded from OpenAfrica via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (N/A, null, none, -, unknown, no data, #N/A) were unified to NaN. 6 column(s) with >80% missing values were removed: unnamed_3, unnamed_4, unnamed_5, unnamed_6, unnamed_7, unnamed_8. 2 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
Limitations
- Data originates from The Charter Project and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- This dataset spans 10 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
- Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.
Citation
@dataset{openafrica_africa_separation_of_power_2005_2021_for_select_african_countries,
title = {Separation of Power (2005-2021) for select African countries},
author = {The Charter Project},
year = {2023},
url = {https://open.africa/dataset/separation-of-power-2005-2021-for-select-african-countries},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.
- Downloads last month
- 37