Dataset Viewer
Auto-converted to Parquet Duplicate
judicial_constraint_1900_2021
stringclasses
12 values
unnamed_1
float64
1.79k
2.02k
unnamed_2
float64
0.02
0.94
unnamed_3
float64
0.01
0.87
unnamed_4
float64
0.06
0.97
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-28 00:00:00
2026-04-28 00:00:00
Cape Verde
1,908
0.274
0.167
0.421
HDX
2026-04-28
Sudan
1,860
0.539
0.318
0.727
HDX
2026-04-28
Kenya
1,964
0.292
0.161
0.433
HDX
2026-04-28
Nigeria
1,997
0.371
0.237
0.526
HDX
2026-04-28
Kenya
2,014
0.744
0.615
0.85
HDX
2026-04-28
Kenya
2,009
0.44
0.308
0.591
HDX
2026-04-28
Benin
1,984
0.31
0.183
0.469
HDX
2026-04-28
Zambia
1,946
0.611
0.463
0.741
HDX
2026-04-28
Cape Verde
1,919
0.274
0.167
0.421
HDX
2026-04-28
Ethiopia
1,927
0.062
0.027
0.127
HDX
2026-04-28
Zambia
2,006
0.829
0.714
0.906
HDX
2026-04-28
Senegal
1,998
0.638
0.472
0.756
HDX
2026-04-28
Sudan
1,861
0.539
0.318
0.727
HDX
2026-04-28
Ethiopia
2,004
0.197
0.109
0.313
HDX
2026-04-28
Sudan
1,966
0.566
0.413
0.732
HDX
2026-04-28
Botswana
1,997
0.907
0.833
0.956
HDX
2026-04-28
Benin
2,011
0.714
0.575
0.823
HDX
2026-04-28
Ethiopia
1,972
0.059
0.026
0.128
HDX
2026-04-28
Nigeria
1,936
0.305
0.178
0.465
HDX
2026-04-28
Botswana
1,950
0.835
0.723
0.906
HDX
2026-04-28
Zambia
1,916
0.583
0.436
0.722
HDX
2026-04-28
Nigeria
1,924
0.305
0.178
0.465
HDX
2026-04-28
Sudan
1,922
0.279
0.17
0.442
HDX
2026-04-28
South Africa
1,925
0.471
0.339
0.638
HDX
2026-04-28
Senegal
2,017
0.68
0.536
0.809
HDX
2026-04-28
Cape Verde
1,939
0.274
0.167
0.421
HDX
2026-04-28
Senegal
1,974
0.6
0.451
0.731
HDX
2026-04-28
Ethiopia
1,841
0.062
0.027
0.127
HDX
2026-04-28
Sudan
1,942
0.279
0.17
0.442
HDX
2026-04-28
Benin
1,929
0.3
0.159
0.453
HDX
2026-04-28
Kenya
1,967
0.292
0.161
0.433
HDX
2026-04-28
Botswana
1,986
0.907
0.833
0.956
HDX
2026-04-28
Senegal
2,004
0.646
0.509
0.776
HDX
2026-04-28
Senegal
1,982
0.638
0.472
0.756
HDX
2026-04-28
Nigeria
1,968
0.38
0.247
0.532
HDX
2026-04-28
Kenya
1,973
0.22
0.12
0.374
HDX
2026-04-28
Sudan
1,837
0.322
0.149
0.552
HDX
2026-04-28
Senegal
1,973
0.6
0.451
0.731
HDX
2026-04-28
Botswana
1,964
0.835
0.723
0.906
HDX
2026-04-28
Ethiopia
1,803
0.062
0.027
0.127
HDX
2026-04-28
South Africa
1,916
0.471
0.339
0.638
HDX
2026-04-28
Sudan
1,828
0.322
0.149
0.552
HDX
2026-04-28
Sudan
1,841
0.322
0.149
0.552
HDX
2026-04-28
Benin
1,981
0.31
0.183
0.469
HDX
2026-04-28
Nigeria
2,000
0.504
0.346
0.626
HDX
2026-04-28
Benin
1,946
0.3
0.159
0.453
HDX
2026-04-28
Botswana
1,931
0.835
0.723
0.906
HDX
2026-04-28
Ethiopia
2,017
0.195
0.114
0.328
HDX
2026-04-28
Sudan
1,931
0.279
0.17
0.442
HDX
2026-04-28
Sudan
1,940
0.279
0.17
0.442
HDX
2026-04-28
Tanzania
1,970
0.767
0.633
0.87
HDX
2026-04-28
South Africa
1,981
0.365
0.232
0.505
HDX
2026-04-28
Sudan
1,973
0.323
0.189
0.486
HDX
2026-04-28
Zambia
2,003
0.787
0.669
0.881
HDX
2026-04-28
Ethiopia
1,906
0.062
0.027
0.127
HDX
2026-04-28
Botswana
1,955
0.835
0.723
0.906
HDX
2026-04-28
Nigeria
1,934
0.305
0.178
0.465
HDX
2026-04-28
Sudan
1,990
0.021
0.006
0.055
HDX
2026-04-28
Ethiopia
1,801
0.062
0.027
0.127
HDX
2026-04-28
Ethiopia
1,902
0.062
0.027
0.127
HDX
2026-04-28
Nigeria
2,010
0.587
0.428
0.707
HDX
2026-04-28
Sudan
1,969
0.38
0.232
0.542
HDX
2026-04-28
Sudan
1,943
0.279
0.17
0.442
HDX
2026-04-28
Cape Verde
2,000
0.931
0.866
0.971
HDX
2026-04-28
Nigeria
2,008
0.581
0.418
0.712
HDX
2026-04-28
Ethiopia
1,874
0.062
0.027
0.127
HDX
2026-04-28
Ethiopia
1,988
0.063
0.026
0.127
HDX
2026-04-28
Ethiopia
1,969
0.059
0.026
0.128
HDX
2026-04-28
Tanzania
1,990
0.758
0.628
0.86
HDX
2026-04-28
Botswana
2,019
0.844
0.734
0.909
HDX
2026-04-28
Tanzania
1,988
0.758
0.628
0.86
HDX
2026-04-28
South Africa
2,009
0.861
0.765
0.925
HDX
2026-04-28
Nigeria
1,927
0.305
0.178
0.465
HDX
2026-04-28
Senegal
1,928
0.356
0.228
0.531
HDX
2026-04-28
South Africa
1,993
0.374
0.241
0.521
HDX
2026-04-28
Zambia
1,945
0.611
0.463
0.741
HDX
2026-04-28
Ethiopia
1,949
0.06
0.028
0.137
HDX
2026-04-28
Senegal
1,995
0.638
0.472
0.756
HDX
2026-04-28
Senegal
1,919
0.356
0.228
0.531
HDX
2026-04-28
Ethiopia
1,791
0.062
0.027
0.127
HDX
2026-04-28
Benin
1,952
0.3
0.159
0.453
HDX
2026-04-28
Sudan
1,988
0.468
0.335
0.643
HDX
2026-04-28
Ethiopia
1,970
0.059
0.026
0.128
HDX
2026-04-28
Cape Verde
1,966
0.274
0.167
0.421
HDX
2026-04-28
Senegal
1,958
0.356
0.228
0.531
HDX
2026-04-28
Benin
2,007
0.714
0.575
0.823
HDX
2026-04-28
Nigeria
2,020
0.537
0.388
0.671
HDX
2026-04-28
Benin
1,998
0.688
0.546
0.807
HDX
2026-04-28
Ethiopia
1,834
0.062
0.027
0.127
HDX
2026-04-28
Tanzania
1,972
0.767
0.633
0.87
HDX
2026-04-28
Cape Verde
1,920
0.274
0.167
0.421
HDX
2026-04-28
Kenya
1,953
0.208
0.112
0.357
HDX
2026-04-28
Cape Verde
1,950
0.274
0.167
0.421
HDX
2026-04-28
Sudan
1,883
0.576
0.386
0.76
HDX
2026-04-28
Senegal
1,981
0.638
0.472
0.756
HDX
2026-04-28
South Africa
1,913
0.471
0.339
0.638
HDX
2026-04-28
Ethiopia
1,798
0.062
0.027
0.127
HDX
2026-04-28
Cape Verde
1,940
0.274
0.167
0.421
HDX
2026-04-28
Zambia
1,961
0.547
0.404
0.701
HDX
2026-04-28
Kenya
2,003
0.428
0.285
0.567
HDX
2026-04-28
End of preview. Expand in Data Studio

Judicial Constraints on the Executive, 2021 for select African Countries

Publisher: The Charter Project · Source: OpenAfrica · License: cc-by · Updated: 2023-04-11


Abstract

Based on the expert assessments and index, it combines information on the extent to which the executive respects the constitution and complies with the rulings of independent courts. It ranges from 0 to 1 (most constrained).

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 3 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) 1,476
Columns 7 (4 numeric, 3 categorical, 0 datetime)
Train split 1,180 rows
Test split 295 rows
Geographic scope BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 3 others
Publisher The Charter Project
OpenAfrica last updated 2023-04-11

Variables

Identifier / Metadataunnamed_1 (range 1789.0–2021.0), unnamed_2 (range 0.021–0.937), unnamed_3 (range 0.006–0.866), unnamed_4 (range 0.055–0.971), esa_source (HDX) and 1 others.

Otherjudicial_constraint_1900_2021 (Ethiopia, Sudan, Benin).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-judicial-constraints-on-the-executive-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
judicial_constraint_1900_2021 object 0.1% Ethiopia, Sudan, Benin
unnamed_1 float64 0.1% 1789.0 – 2021.0 (mean 1948.6377)
unnamed_2 float64 0.1% 0.021 – 0.937 (mean 0.4363)
unnamed_3 float64 0.1% 0.006 – 0.866 (mean 0.3228)
unnamed_4 float64 0.1% 0.055 – 0.971 (mean 0.5591)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-28

Numeric Summary

Column Min Max Mean Median
unnamed_1 1789.0 2021.0 1948.6377 1954.5
unnamed_2 0.021 0.937 0.4363 0.365
unnamed_3 0.006 0.866 0.3228 0.232
unnamed_4 0.055 0.971 0.5591 0.531

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. 4 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 11 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_judicial_constraints_on_the_executive_2021_for_select_african_countries,
  title     = {Judicial Constraints on the Executive, 2021 for select African Countries},
  author    = {The Charter Project},
  year      = {2023},
  url       = {https://open.africa/dataset/judicial-constraints-on-the-executive-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
110