Dataset Viewer
Auto-converted to Parquet Duplicate
category
stringclasses
9 values
indicator
stringlengths
9
50
indicator_friendly
stringlengths
11
98
type_data
stringclasses
4 values
latitude
float64
5.55
8
longitude
float64
-2
-0.22
region_id
float64
289
289
country_id
stringclasses
1 value
name
stringclasses
3 values
year
float64
1.95k
2.05k
value
float64
0.29
3.93M
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-11 00:00:00
2026-04-11 00:00:00
Slum dwellers
improved_flush_toilet
Access to improved flush toilet
p
8
-2
289
GH
Ghana
2,006
23.6
HDX
2026-04-11
City prosperity
cpi_5_dimensions
City Prosperity Index with 5 dimensions
p
5.550035
-0.216716
289
GH
Accra
2,012
0.56
HDX
2026-04-11
Slum dwellers
urban_population_percentage_1m_5m
Percentage of urban population (by country) – 1 to 5 million inhabitants
p
8
-2
289
GH
Ghana
2,015
31.96
HDX
2026-04-11
Education
net_enrolment_rate_slum
Net enrolment rate in primary education in urban and rural areas (Male) – Slum
p
8
-2
289
GH
Ghana
1,999
84.1
HDX
2026-04-11
Transport
owner_bicycle_rural
Ownership of bicycle – rural area
p
8
-2
289
GH
Ghana
2,003
29.1
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,031
1.21
HDX
2026-04-11
Transport
owner_motorcycle_total
Ownership of motorcycle – total
p
8
-2
289
GH
Ghana
1,993
1.1
HDX
2026-04-11
Health
children_with_diarrhea_urban
Proportion of children with diarrhea in last two weeks – Urban
p
8
-2
289
GH
Ghana
1,999
16.7
HDX
2026-04-11
Slum dwellers
literacy_rate_women_1_shelter_deprivation
Literacy rate by shelter deprivation (Women) – 1 Shelter deprivation
p
8
-2
289
GH
Ghana
1,993
61.8
HDX
2026-04-11
Transport
owner_motorcycle_urban_area
Ownership of motorcycle – urban area
p
8
-2
289
GH
Ghana
2,008
4.7
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
8
-2
289
GH
Ghana
2,000
1.66
HDX
2026-04-11
Slum dwellers
literacy_rate_women_slum
Literacy rate by shelter deprivation (Women) – Slum
p
8
-2
289
GH
Ghana
1,993
58.1
HDX
2026-04-11
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
8
-2
289
GH
Ghana
2,000
111.5
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,001
2.24
HDX
2026-04-11
Slum dwellers
protected_well
Access to protected well
p
8
-2
289
GH
Ghana
2,006
5.8
HDX
2026-04-11
Population
urban_population_cities
Urban population – Cities
1000
5.550035
-0.216716
289
GH
Accra
2,010
2,469
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,988
2.9
HDX
2026-04-11
Slum dwellers
urban_slum_population_countries
Urban slum population – Countries
1000
8
-2
289
GH
Ghana
2,007
4,817
HDX
2026-04-11
Transport
owner_motorcycle_urban_area
Ownership of motorcycle – urban area
p
8
-2
289
GH
Ghana
1,998
1.6
HDX
2026-04-11
City prosperity
cpi_environment_index
Environmental Sustainability index
p
5.550035
-0.216716
289
GH
Accra
2,013
0.728
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,034
1.21
HDX
2026-04-11
Population
urban_population_cities
Urban population – Cities
1000
6.689991
-1.630014
289
GH
Kumasi
2,010
1,935
HDX
2026-04-11
Population
death_per_1000_live_births
Deaths per 1000 live births
n
8
-2
289
GH
Ghana
1,980
92.31
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,045
0.8
HDX
2026-04-11
Slum dwellers
pit_latrine_with_slab_or_covered_latrine
Access to slab or covered pit latrine
p
8
-2
289
GH
Ghana
2,006
12.7
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,985
2.9
HDX
2026-04-11
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
8
-2
289
GH
Ghana
2,015
68.04
HDX
2026-04-11
Slum dwellers
improved_water_sustainable_access_cities
Proportion of population with sustainable access to an improved water source – Cities
p
5.550035
-0.216716
289
GH
Accra
1,999
97.7
HDX
2026-04-11
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
8
-2
289
GH
Ghana
1,995
1,415
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,950
3.05
HDX
2026-04-11
Population
urban_population_cities
Urban population – Cities
1000
6.689991
-1.630014
289
GH
Kumasi
2,000
1,187
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,032
1.21
HDX
2026-04-11
Population
population
Total population
1000
8
-2
289
GH
Ghana
2,000
20,148
HDX
2026-04-11
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
8
-2
289
GH
Ghana
2,006
6.6
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,030
1.21
HDX
2026-04-11
Population
urban_population_countries
Urban population – Countries
1000
8
-2
289
GH
Ghana
2,015
15,021
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
8
-2
289
GH
Ghana
1,960
2.29
HDX
2026-04-11
Transport
owner_bicycle_urban_area
Ownership of bicycle – urban area
p
8
-2
289
GH
Ghana
2,003
16
HDX
2026-04-11
Transport
owner_bicycle_rural
Ownership of bicycle – rural area
p
8
-2
289
GH
Ghana
1,993
19.4
HDX
2026-04-11
Population
number_of_cities_1_5_million
Number of cities by country – 1 to 5 million inhabitants
n
8
-2
289
GH
Ghana
2,020
2
HDX
2026-04-11
Slum dwellers
literacy_rate_women_urban
Literacy rate by shelter deprivation (Women) – Urban
p
8
-2
289
GH
Ghana
1,993
62.3
HDX
2026-04-11
Education
net_enrolment_rate_urban
Net enrolment rate in primary education in urban and rural areas (Male) – Urban
p
8
-2
289
GH
Ghana
1,993
88.2
HDX
2026-04-11
Population
urban_population_countries
Urban population – Countries
1000
8
-2
289
GH
Ghana
1,965
2,135
HDX
2026-04-11
Streets
percentage_of_roads
Percentage of roads measured in length
p
8
-2
289
GH
Ghana
2,000
17.9
HDX
2026-04-11
Slum dwellers
literacy_rate_women_rural
Literacy rate by shelter deprivation (Women) – Rural
p
8
-2
289
GH
Ghana
1,999
47.2
HDX
2026-04-11
Slum dwellers
households_solid_waste_other_disposal_slum
Proportion of households who use other source disposal of solid waste – Slum
p
8
-2
289
GH
Ghana
2,003
58.5
HDX
2026-04-11
Slum dwellers
improved_water_sustainable_access_cities
Proportion of population with sustainable access to an improved water source – Cities
p
5.550035
-0.216716
289
GH
Accra
2,003
88.5
HDX
2026-04-11
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
8
-2
289
GH
Ghana
2,000
2,861
HDX
2026-04-11
Slum dwellers
slum_population
Slum population – Urban
1000
8
-2
289
GH
Ghana
2,007
4,945
HDX
2026-04-11
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
8
-2
289
GH
Ghana
2,003
26.7
HDX
2026-04-11
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
8
-2
289
GH
Ghana
1,980
75.69
HDX
2026-04-11
Slum dwellers
durable_housing_urban_population_cities
Proportion of urban population with durable housing – Cities
p
5.550035
-0.216716
289
GH
Accra
1,990
99.5
HDX
2026-04-11
Slum dwellers
public_tap_pump_borehole
Access to public tap/pump/borehole
p
8
-2
289
GH
Ghana
1,998
42.6
HDX
2026-04-11
Population
rural_population
Rural population
1000
8
-2
289
GH
Ghana
2,040
11,341
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,046
0.8
HDX
2026-04-11
City prosperity
cpi_composite_street_connectivity_index
Composite Street Connectivity Index
index
5.550035
-0.216716
289
GH
Accra
2,013
0.287
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,998
2.38
HDX
2026-04-11
Education
net_enrolment_rate_rural
Net enrolment rate in primary education in urban and rural areas (Male) – Rural
p
8
-2
289
GH
Ghana
1,999
70.5
HDX
2026-04-11
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
8
-2
289
GH
Ghana
1,993
29.2
HDX
2026-04-11
Population
population
Total population
1000
8
-2
289
GH
Ghana
2,005
22,535
HDX
2026-04-11
City prosperity
cpi_quality_of_live_index
Quality of life index
p
5.550035
-0.216716
289
GH
Accra
2,013
0.592
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,975
1.97
HDX
2026-04-11
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
8
-2
289
GH
Ghana
1,955
100
HDX
2026-04-11
Slum dwellers
improved_pit_latrine
Access to improved pit latrine
p
8
-2
289
GH
Ghana
1,998
36.9
HDX
2026-04-11
Population
urban_population_countries
Urban population – Countries
1000
8
-2
289
GH
Ghana
2,030
22,145
HDX
2026-04-11
Slum dwellers
slum_population
Slum population – Urban
1000
8
-2
289
GH
Ghana
1,995
4,221
HDX
2026-04-11
Streets
paved_street
Paved streets as share of all streets (%)
p
5.550035
-0.216716
289
GH
Accra
2,012
50
HDX
2026-04-11
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
8
-2
289
GH
Ghana
2,010
67.55
HDX
2026-04-11
Population
rural_population
Rural population
1000
8
-2
289
GH
Ghana
2,015
12,272
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,954
3.05
HDX
2026-04-11
Transport
total_number_of_motor_vehicles
Total number of motor vehicles (per 1000 population)
n
8
-2
289
GH
Ghana
1,990
8
HDX
2026-04-11
Population
rural_population
Rural population
1000
8
-2
289
GH
Ghana
2,050
10,203
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,027
1.35
HDX
2026-04-11
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
8
-2
289
GH
Ghana
2,015
4,800
HDX
2026-04-11
Slum dwellers
urban_population_share_national
Share in national urban population
p
5.550035
-0.216716
289
GH
Accra
2,000
19.9
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
8
-2
289
GH
Ghana
1,950
4.24
HDX
2026-04-11
Transport
owner_bicycle_total
Ownership of bicycle – total
p
8
-2
289
GH
Ghana
1,993
16.1
HDX
2026-04-11
Population
urban_population_countries
Urban population – Countries
1000
8
-2
289
GH
Ghana
1,955
1,166
HDX
2026-04-11
Population
rural_population
Rural population
1000
8
-2
289
GH
Ghana
2,010
12,079
HDX
2026-04-11
Population
number_of_cities_500k_1_million
Number of cities by country – 500 000 to 1 million inhabitants
n
8
-2
289
GH
Ghana
1,980
1
HDX
2026-04-11
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
8
-2
289
GH
Ghana
1,998
35.4
HDX
2026-04-11
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
8
-2
289
GH
Ghana
1,990
66.66
HDX
2026-04-11
Population
number_of_cities_500k_1_million
Number of cities by country – 500 000 to 1 million inhabitants
n
8
-2
289
GH
Ghana
2,025
1
HDX
2026-04-11
Population
rural_population
Rural population
1000
8
-2
289
GH
Ghana
2,000
11,292
HDX
2026-04-11
Slum dwellers
urban_population_share_national
Share in national urban population
p
6.689991
-1.630014
289
GH
Kumasi
2,010
15.5
HDX
2026-04-11
Population
urban_population_countries
Urban population – Countries
1000
8
-2
289
GH
Ghana
1,995
7,180
HDX
2026-04-11
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
8
-2
289
GH
Ghana
2,007
115.2
HDX
2026-04-11
Slum dwellers
literacy_rate_1_shelter_deprivation
Literacy rate by shelter deprivation – 1 Shelter deprivation
p
8
-2
289
GH
Ghana
1,993
61.8
HDX
2026-04-11
Slum dwellers
households_solid_waste_bury_urban
Proportion of households who bury solid waste – Urban
p
8
-2
289
GH
Ghana
2,003
2.7
HDX
2026-04-11
Slum dwellers
improved_pit_latrine
Access to improved pit latrine
p
8
-2
289
GH
Ghana
1,993
27.8
HDX
2026-04-11
City prosperity
cpi_quality_of_live_index
Quality of life index
p
5.550035
-0.216716
289
GH
Accra
2,012
0.592
HDX
2026-04-11
Slum dwellers
protected_well
Access to protected well
p
8
-2
289
GH
Ghana
2,003
10.1
HDX
2026-04-11
Slum dwellers
households_solid_waste_collected_urban
Proportion of households whose solid waste is collected (by public or private services) – Urban
p
8
-2
289
GH
Ghana
2,003
39.6
HDX
2026-04-11
Slum dwellers
urban_slum_population_countries
Urban slum population – Countries
1000
8
-2
289
GH
Ghana
2,005
4,755
HDX
2026-04-11
City prosperity
cpi_infrastructure_index
Infrastructure Development index
p
5.550035
-0.216716
289
GH
Accra
2,012
0.737
HDX
2026-04-11
Streets
street_density_index_city_core
Street density index – City core
index
5.550035
-0.216716
289
GH
Accra
2,013
0.31
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,967
2.03
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
1,979
1.97
HDX
2026-04-11
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
8
-2
289
GH
Ghana
2,007
1.99
HDX
2026-04-11
City prosperity
cpi_productivity_index
Productivity index
p
5.550035
-0.216716
289
GH
Accra
2,013
0.347
HDX
2026-04-11
End of preview. Expand in Data Studio

Ghana - Demographic, Health, Education and Transport indicators

Publisher: United Nations Human Settlements Programmes, Data and Analytics Section · Source: HDX · License: cc-by-igo · Updated: 2024-03-28


Abstract

The urban indicators data available here are analyzed, compiled and published by UN-Habitat’s Global Urban Observatory which supports governments, local authorities and civil society organizations to develop urban indicators, data and statistics. Urban statistics are collected through household surveys and censuses conducted by national statistics authorities. Global Urban Observatory team analyses and compiles urban indicators statistics from surveys and censuses. Additionally, Local urban observatories collect, compile and analyze urban data for national policy development. Population statistics are produced by the United Nations Department of Economic and Social Affairs, World Urbanization Prospects.

Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2024-03-28. Geographic scope: GHA.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Public health
Unit of observation First-level administrative unit observations
Rows (total) 523
Columns 13 (5 numeric, 8 categorical, 0 datetime)
Train split 418 rows
Test split 104 rows
Geographic scope GHA
Publisher United Nations Human Settlements Programmes, Data and Analytics Section
HDX last updated 2024-03-28

Variables

Geographiccategory (Population, Slum dwellers, Transport), indicator_friendly (Average annual rate of change of population – Total, Average annual rate of change of population – Urban, Urban population – Countries), type_data (p, 1000, n), latitude (range 5.55–8.0), longitude (range -2.0–-0.2167) and 3 others.

Outcome / Measurementvalue (range 0.219–3933000.0).

Identifier / Metadataname (Ghana, Accra, Kumasi), esa_source (HDX), esa_processed (2026-04-11).

Otherindicator (avg_annual_rate_change_percentage_total, avg_annual_rate_change_percentage_urban, population).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unhabitat-gh-indicators")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
category object 0.0% Population, Slum dwellers, Transport
indicator object 0.0% avg_annual_rate_change_percentage_total, avg_annual_rate_change_percentage_urban, population
indicator_friendly object 0.0% Average annual rate of change of population – Total, Average annual rate of change of population – Urban, Urban population – Countries
type_data object 0.0% p, 1000, n
latitude float64 0.2% 5.55 – 8.0 (mean 7.7124)
longitude float64 0.2% -2.0 – -0.2167 (mean -1.7996)
region_id float64 0.2% 289.0 – 289.0 (mean 289.0)
country_id object 0.0% GH, #country+code+v_iso2
name object 0.0% Ghana, Accra, Kumasi
year float64 0.2% 1950.0 – 2050.0 (mean 1999.682)
value float64 0.2% 0.219 – 3933000.0 (mean 16935.0278)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-11

Numeric Summary

Column Min Max Mean Median
latitude 5.55 8.0 7.7124 8.0
longitude -2.0 -0.2167 -1.7996 -2.0
region_id 289.0 289.0 289.0 289.0
year 1950.0 2050.0 1999.682 2000.0
value 0.219 3933000.0 16935.0278 34.4

Curation

Raw data was downloaded from HDX 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. 5 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 United Nations Human Settlements Programmes, Data and Analytics Section and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_unhabitat_gh_indicators,
  title     = {Ghana - Demographic, Health, Education and Transport indicators},
  author    = {United Nations Human Settlements Programmes, Data and Analytics Section},
  year      = {2024},
  url       = {https://data.humdata.org/dataset/unhabitat-gh-indicators},
  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
126

Collection including electricsheepafrica/africa-unhabitat-gh-indicators