Dataset Viewer
Auto-converted to Parquet Duplicate
freedom_scores_2013_2022
stringclasses
12 values
unnamed_1
float64
2.01k
2.02k
unnamed_2
float64
2
38
unnamed_3
float64
4
54
unnamed_4
float64
6
92
unnamed_5
stringclasses
4 values
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-28 00:00:00
2026-04-28 00:00:00
Senegal
2,020
29
42
71
Partly Free
HDX
2026-04-28
Tanzania
2,017
25
33
58
Partly Free
HDX
2026-04-28
Sudan
2,013
2
5
7
Not Free
HDX
2026-04-28
Nigeria
2,013
20
26
46
Partly Free
HDX
2026-04-28
Sudan
2,021
2
15
17
Not Free
HDX
2026-04-28
Sudan
2,019
3
4
7
Not Free
HDX
2026-04-28
Senegal
2,013
32
43
75
Free
HDX
2026-04-28
Tanzania
2,016
27
33
60
Partly Free
HDX
2026-04-28
Botswana
2,021
28
44
72
Free
HDX
2026-04-28
Nigeria
2,020
22
25
47
Partly Free
HDX
2026-04-28
Botswana
2,013
28
46
74
Free
HDX
2026-04-28
Senegal
2,022
29
39
68
Partly Free
HDX
2026-04-28
Sudan
2,020
2
10
12
Not Free
HDX
2026-04-28
Kenya
2,017
22
29
51
Partly Free
HDX
2026-04-28
South Africa
2,017
33
45
78
Free
HDX
2026-04-28
Ethiopia
2,020
10
14
24
Not Free
HDX
2026-04-28
Senegal
2,019
30
42
72
Free
HDX
2026-04-28
Cabo Verde
2,022
38
54
92
Free
HDX
2026-04-28
Sudan
2,018
4
4
8
Not Free
HDX
2026-04-28
Senegal
2,017
32
46
78
Free
HDX
2026-04-28
Ethiopia
2,019
7
12
19
Not Free
HDX
2026-04-28
Zambia
2,020
22
32
54
Partly Free
HDX
2026-04-28
Cabo Verde
2,021
38
54
92
Free
HDX
2026-04-28
Tanzania
2,014
29
35
64
Partly Free
HDX
2026-04-28
Tanzania
2,020
17
23
40
Partly Free
HDX
2026-04-28
Tanzania
2,018
22
30
52
Partly Free
HDX
2026-04-28
Kenya
2,022
19
29
48
Partly Free
HDX
2026-04-28
South Africa
2,019
33
46
79
Free
HDX
2026-04-28
Zambia
2,017
23
33
56
Partly Free
HDX
2026-04-28
Nigeria
2,015
18
25
43
Partly Free
HDX
2026-04-28
Cabo Verde
2,020
38
54
92
Free
HDX
2026-04-28
Nigeria
2,021
21
24
45
Partly Free
HDX
2026-04-28
Zambia
2,015
26
34
60
Partly Free
HDX
2026-04-28
Kenya
2,014
22
31
53
Partly Free
HDX
2026-04-28
Benin
2,020
21
45
66
Partly Free
HDX
2026-04-28
Nigeria
2,022
20
23
43
Partly Free
HDX
2026-04-28
Kenya
2,015
22
29
51
Partly Free
HDX
2026-04-28
Cabo Verde
2,018
37
53
90
Free
HDX
2026-04-28
Zambia
2,022
21
30
51
Partly Free
HDX
2026-04-28
Zambia
2,016
26
34
60
Partly Free
HDX
2026-04-28
Zambia
2,021
20
32
52
Partly Free
HDX
2026-04-28
Benin
2,022
17
42
59
Partly Free
HDX
2026-04-28
Ethiopia
2,021
9
13
22
Not Free
HDX
2026-04-28
Cabo Verde
2,019
37
53
90
Free
HDX
2026-04-28
Cabo Verde
2,014
37
53
90
Free
HDX
2026-04-28
Ethiopia
2,022
12
11
23
Not Free
HDX
2026-04-28
Kenya
2,016
22
29
51
Partly Free
HDX
2026-04-28
Senegal
2,014
33
46
79
Free
HDX
2026-04-28
Tanzania
2,015
28
35
63
Partly Free
HDX
2026-04-28
South Africa
2,018
32
46
78
Free
HDX
2026-04-28
Ethiopia
2,018
4
8
12
Not Free
HDX
2026-04-28
South Africa
2,016
33
46
79
Free
HDX
2026-04-28
Zambia
2,019
22
32
54
Partly Free
HDX
2026-04-28
Sudan
2,016
2
4
6
Not Free
HDX
2026-04-28
Ethiopia
2,017
4
8
12
Not Free
HDX
2026-04-28
South Africa
2,013
34
47
81
Free
HDX
2026-04-28
Sudan
2,015
2
4
6
Not Free
HDX
2026-04-28
Nigeria
2,019
25
25
50
Partly Free
HDX
2026-04-28
Benin
2,017
33
49
82
Free
HDX
2026-04-28
Botswana
2,018
28
44
72
Free
HDX
2026-04-28
Nigeria
2,014
20
26
46
Partly Free
HDX
2026-04-28
Zambia
2,018
22
33
55
Partly Free
HDX
2026-04-28
Senegal
2,016
33
45
78
Free
HDX
2026-04-28
South Africa
2,020
33
46
79
Free
HDX
2026-04-28
Ethiopia
2,013
7
11
18
Not Free
HDX
2026-04-28
Botswana
2,017
28
44
72
Free
HDX
2026-04-28
Nigeria
2,017
25
25
50
Partly Free
HDX
2026-04-28
Ethiopia
2,014
7
11
18
Not Free
HDX
2026-04-28
Botswana
2,019
28
44
72
Free
HDX
2026-04-28
Kenya
2,020
19
29
48
Partly Free
HDX
2026-04-28
Sudan
2,014
2
5
7
Not Free
HDX
2026-04-28
null
null
null
null
null
null
HDX
2026-04-28
Nigeria
2,018
25
25
50
Partly Free
HDX
2026-04-28
South Africa
2,021
33
46
79
Free
HDX
2026-04-28
Country
null
null
null
null
Status
HDX
2026-04-28
Tanzania
2,021
12
22
34
Partly Free
HDX
2026-04-28
South Africa
2,015
33
48
81
Free
HDX
2026-04-28
Zambia
2,014
25
34
59
Partly Free
HDX
2026-04-28
Nigeria
2,016
23
25
48
Partly Free
HDX
2026-04-28
Senegal
2,015
33
45
78
Free
HDX
2026-04-28
Cabo Verde
2,015
37
53
90
Free
HDX
2026-04-28
Zambia
2,013
28
34
62
Partly Free
HDX
2026-04-28
Senegal
2,021
29
42
71
Partly Free
HDX
2026-04-28
Cabo Verde
2,017
37
53
90
Free
HDX
2026-04-28
Cabo Verde
2,016
37
53
90
Free
HDX
2026-04-28
Kenya
2,013
21
34
55
Partly Free
HDX
2026-04-28
Benin
2,021
21
44
65
Partly Free
HDX
2026-04-28
Botswana
2,014
28
46
74
Free
HDX
2026-04-28
Kenya
2,018
19
29
48
Partly Free
HDX
2026-04-28
Benin
2,013
32
50
82
Free
HDX
2026-04-28

Global Freedom; Freedom in the world 2022

Publisher: Freedom House · Source: OpenAfrica · License: cc-by · Updated: 2023-01-24


Abstract

Individual freedoms—ranging from the right to vote to freedom of expression and equality before the law—can be affected by state or nonstate actors. Scores are based on a scale of 0 (Not Free) to 100 (Free)

Each row in this dataset represents tabular records. Data was last updated on OpenAfrica on 2023-01-24. Geographic scope: BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 4 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) 113
Columns 8 (4 numeric, 4 categorical, 0 datetime)
Train split 90 rows
Test split 22 rows
Geographic scope BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 4 others
Publisher Freedom House
OpenAfrica last updated 2023-01-24

Variables

Outcome / Measurementfreedom_scores_2013_2022 (Benin, Botswana, Cabo Verde).

Identifier / Metadataunnamed_1 (range 2013.0–2022.0), unnamed_2 (range 0.0–38.0), unnamed_3 (range 4.0–54.0), unnamed_4 (range 6.0–92.0), unnamed_5 (Partly Free, Free, Not Free) and 2 others.


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-global-freedom-freedom-in-the-world-2022")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
freedom_scores_2013_2022 object 0.9% Benin, Botswana, Cabo Verde
unnamed_1 float64 2.7% 2013.0 – 2022.0 (mean 2017.5)
unnamed_2 float64 2.7% 0.0 – 38.0 (mean 23.1818)
unnamed_3 float64 2.7% 4.0 – 54.0 (mean 33.5818)
unnamed_4 float64 2.7% 6.0 – 92.0 (mean 56.7636)
unnamed_5 object 1.8% Partly Free, Free, Not Free
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-28

Numeric Summary

Column Min Max Mean Median
unnamed_1 2013.0 2022.0 2017.5 2017.5
unnamed_2 0.0 38.0 23.1818 25.0
unnamed_3 4.0 54.0 33.5818 34.0
unnamed_4 6.0 92.0 56.7636 60.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. 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 Freedom House 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 12 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_global_freedom_freedom_in_the_world_2022,
  title     = {Global Freedom; Freedom in the world 2022},
  author    = {Freedom House},
  year      = {2023},
  url       = {https://open.africa/dataset/global-freedom-freedom-in-the-world-2022},
  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
24