Dataset Viewer
Auto-converted to Parquet Duplicate
category
stringclasses
9 values
indicator
stringlengths
9
50
indicator_friendly
stringlengths
12
95
type_data
stringclasses
6 values
latitude
float64
-4.04
1
longitude
float64
34.8
39.7
region_id
float64
289
289
country_id
stringclasses
1 value
name
stringclasses
4 values
year
float64
1.95k
2.05k
value
float64
0.03
4.46M
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-09 00:00:00
2026-04-09 00:00:00
Health
children_with_diarrhea_total
Proportion of children with diarrhea in last two weeks – Total
p
1
38
289
KE
Kenya
2,003
16
HDX
2026-04-09
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
1
38
289
KE
Kenya
1,993
42.3
HDX
2026-04-09
Population
population
Total population
1000
1
38
289
KE
Kenya
2,007
37,538
HDX
2026-04-09
Slum dwellers
urban_population_percentage_1m_5m
Percentage of urban population (by country) – 1 to 5 million inhabitants
p
1
38
289
KE
Kenya
1,995
33.8
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
1
38
289
KE
Kenya
2,045
1.7
HDX
2026-04-09
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
1
38
289
KE
Kenya
1,980
115
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
2,010
9,015
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,041
1.42
HDX
2026-04-09
Transport
transport_share_cities_walking
Share of various modes of transport in use in cities – walking
p
-1.283347
36.816657
289
KE
Nairobi
2,008
47
HDX
2026-04-09
Population
infant_mortality_rate
Infant Mortality rate (Deaths per 1000 live births)
n
1
38
289
KE
Kenya
1,995
72
HDX
2026-04-09
Population
population
Total population
1000
1
38
289
KE
Kenya
1,990
23,447
HDX
2026-04-09
Education
net_enrolment_rate_3_shelter_deprivation
Net enrolment rate in primary education in urban and rural areas (Male) – 3 Shelter deprivation
p
1
38
289
KE
Kenya
1,993
73.1
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,969
3.37
HDX
2026-04-09
Slum dwellers
improved_sanitation_countries
Proportion of population with access to improved sanitation – Countries
p
1
38
289
KE
Kenya
1,993
74.3
HDX
2026-04-09
Transport
owner_bicycle_rural
Ownership of bicycle – rural area
p
1
38
289
KE
Kenya
2,008
34.4
HDX
2026-04-09
Slum dwellers
urban_population_percentage_1m_5m
Percentage of urban population (by country) – 1 to 5 million inhabitants
p
1
38
289
KE
Kenya
2,000
36.21
HDX
2026-04-09
Slum dwellers
improved_water_sustainable_access_countries
Proportion of population with sustainable access to an improved water source – Countries
p
1
38
289
KE
Kenya
1,993
88.8
HDX
2026-04-09
Population
rural_population
Rural population
1000
1
38
289
KE
Kenya
1,950
5,737
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
2,030
20,739
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
1,960
597
HDX
2026-04-09
Slum dwellers
improved_floor
Access to improved flooring
p
1
38
289
KE
Kenya
1,998
79.3
HDX
2026-04-09
Streets
intersection_density_city_core
Intersection density (#/km²) – city core
n
-1.283347
36.816657
289
KE
Nairobi
2,013
36
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,956
3
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,025
1.86
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,045
1.26
HDX
2026-04-09
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
1
38
289
KE
Kenya
1,995
1,755
HDX
2026-04-09
Slum dwellers
urban_slum_population_countries
Urban slum population – Countries
1000
1
38
289
KE
Kenya
1,995
2,859
HDX
2026-04-09
Population
rural_population
Rural population
1000
1
38
289
KE
Kenya
2,025
40,224
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,028
1.86
HDX
2026-04-09
Slum dwellers
improved_water_sustainable_access_countries
Proportion of population with sustainable access to an improved water source – Countries
p
1
38
289
KE
Kenya
1,998
84.5
HDX
2026-04-09
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
1
38
289
KE
Kenya
1,980
66.32
HDX
2026-04-09
Slum dwellers
slum_proportion_living_urban
Percentage of slum population in urban area
p
1
38
289
KE
Kenya
2,007
54.8
HDX
2026-04-09
Slum dwellers
public_tap_pump_borehole
Access to public tap/pump/borehole
p
1
38
289
KE
Kenya
1,998
25.9
HDX
2026-04-09
Population
has_telephone
Access to telephone
p
1
38
289
KE
Kenya
1,998
9.1
HDX
2026-04-09
Population
population
Total population
1000
1
38
289
KE
Kenya
1,950
6,077
HDX
2026-04-09
City prosperity
cpi_4_dimensions
City Prosperity Index with 4 dimensions
p
-1.283347
36.816657
289
KE
Nairobi
2,012
0.673
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,978
3.73
HDX
2026-04-09
Streets
intersection_density_sub_urban_area
Intersection density (#/km²) – suburban area
n
-1.283347
36.816657
289
KE
Nairobi
2,013
5.9
HDX
2026-04-09
Slum dwellers
improved_water_sustainable_access_countries
Proportion of population with sustainable access to an improved water source – Countries
p
1
38
289
KE
Kenya
2,003
78.5
HDX
2026-04-09
Slum dwellers
households_solid_waste_bury_non_slum
Proportion of households who bury solid waste – Non slum
p
1
38
289
KE
Kenya
2,003
8.9
HDX
2026-04-09
Slum dwellers
urban_population_living_in_slum
Proportion of urban population living in slum area
p
1
38
289
KE
Kenya
2,000
54.8
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,002
2.6
HDX
2026-04-09
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
1
38
289
KE
Kenya
1,955
100
HDX
2026-04-09
Slum dwellers
urban_population_percentage_500k_1m
Percentage of urban population (by country) – 500 000 to 1 million inhabitants
p
1
38
289
KE
Kenya
1,970
45.71
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
2,025
16,952
HDX
2026-04-09
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
1
38
289
KE
Kenya
2,010
51.77
HDX
2026-04-09
Population
rural_population
Rural population
1000
1
38
289
KE
Kenya
2,005
28,215
HDX
2026-04-09
Slum dwellers
durable_housing_urban_population_countries
Proportion of urban population with durable housing – Countries
p
1
38
289
KE
Kenya
2,003
80.3
HDX
2026-04-09
Transport
total_number_of_motor_vehicles
Total number of motor vehicles (per 1000 population)
n
1
38
289
KE
Kenya
1,990
12
HDX
2026-04-09
Slum dwellers
households_solid_waste_other_disposal_slum
Proportion of households who use other source disposal of solid waste – Slum
p
1
38
289
KE
Kenya
2,003
69.6
HDX
2026-04-09
City prosperity
cpi_quality_of_live_index
Quality of life index
p
-1.283347
36.816657
289
KE
Nairobi
2,012
0.559
HDX
2026-04-09
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
1
38
289
KE
Kenya
2,010
3,363
HDX
2026-04-09
Streets
proportion_land_allocated_to_street_total
Proportion of land allocated to street – total
p
-1.283347
36.816657
289
KE
Nairobi
2,013
3.8
HDX
2026-04-09
Education
net_enrolment_rate_rural
Net enrolment rate in primary education in urban and rural areas (Male) – Rural
p
1
38
289
KE
Kenya
2,003
77.8
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,995
2.65
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
1,950
340
HDX
2026-04-09
City prosperity
cpi_quality_of_live_index
Quality of life index
p
-1.283347
36.816657
289
KE
Nairobi
2,013
0.559
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,001
2.6
HDX
2026-04-09
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
1
38
289
KE
Kenya
2,003
44.2
HDX
2026-04-09
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
1
38
289
KE
Kenya
1,990
67.7
HDX
2026-04-09
Population
rural_population
Rural population
1000
1
38
289
KE
Kenya
1,970
10,112
HDX
2026-04-09
Slum dwellers
improved_pit_latrine
Access to improved pit latrine
p
1
38
289
KE
Kenya
1,998
10.7
HDX
2026-04-09
Population
urban_population_countries
Urban population – Countries
1000
1
38
289
KE
Kenya
1,990
4,273
HDX
2026-04-09
Transport
owner_bicycle_rural
Ownership of bicycle – rural area
p
1
38
289
KE
Kenya
2,003
33.1
HDX
2026-04-09
Population
rural_population
Rural population
1000
1
38
289
KE
Kenya
2,020
37,956
HDX
2026-04-09
Slum dwellers
urban_population_percentage_500k_1m
Percentage of urban population (by country) – 500 000 to 1 million inhabitants
p
1
38
289
KE
Kenya
1,975
38.78
HDX
2026-04-09
Slum dwellers
households_solid_waste_bury_slum
Proportion of households who bury solid waste – Slum
p
1
38
289
KE
Kenya
2,003
15.1
HDX
2026-04-09
Streets
street_density_index_city_core
Street density index – City core
index
-1.283347
36.816657
289
KE
Nairobi
2,013
0.217
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,994
3.1
HDX
2026-04-09
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
1
38
289
KE
Kenya
2,000
117
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,980
3.78
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,990
3.1
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,038
1.59
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,020
2.02
HDX
2026-04-09
Slum dwellers
pump_borehole
Access to pump/borehole
p
1
38
289
KE
Kenya
1,993
0.9
HDX
2026-04-09
Health
children_with_diarrhea_slum
Proportion of children with diarrhea in last two weeks – Slum
p
1
38
289
KE
Kenya
2,003
19.2
HDX
2026-04-09
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
1
38
289
KE
Kenya
1,990
97
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,976
3.73
HDX
2026-04-09
City prosperity
cpi_5_dimensions
City Prosperity Index with 5 dimensions
p
-1.283347
36.816657
289
KE
Nairobi
2,012
0.593
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,027
1.86
HDX
2026-04-09
Population
number_of_cities_500k_1_million
Number of cities by country – 500 000 to 1 million inhabitants
n
1
38
289
KE
Kenya
1,980
1
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,032
1.74
HDX
2026-04-09
Slum dwellers
improved_flush_toilet
Access to improved flush toilet
p
1
38
289
KE
Kenya
1,998
43.1
HDX
2026-04-09
Population
number_of_cities_5_10_million
Number of cities by country – 5 to 10 million inhabitants
n
1
38
289
KE
Kenya
2,025
1
HDX
2026-04-09
Slum dwellers
households_solid_waste_bury_urban
Proportion of households who bury solid waste – Urban
p
1
38
289
KE
Kenya
2,003
12.3
HDX
2026-04-09
Transport
owner_bicycle_urban_area
Ownership of bicycle – urban area
p
1
38
289
KE
Kenya
1,998
15.3
HDX
2026-04-09
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
1
38
289
KE
Kenya
1,970
156
HDX
2026-04-09
Slum dwellers
rainwater
Access to rainwater
p
1
38
289
KE
Kenya
1,993
0.6
HDX
2026-04-09
Slum dwellers
urban_population_percentage_5m_to_10m
Percentage of urban population (by country) – 5 to 10 million inhabitants
p
1
38
289
KE
Kenya
2,025
34.63
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,036
1.59
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
1,967
3.37
HDX
2026-04-09
Streets
proportion_land_allocated_to_street_city_core
Proportion of land allocated to street – city core
p
-1.283347
36.816657
289
KE
Nairobi
2,013
11.5
HDX
2026-04-09
Transport
owner_bicycle_urban_area
Ownership of bicycle – urban area
p
1
38
289
KE
Kenya
2,008
17.7
HDX
2026-04-09
Population
number_of_cities_500k_1_million
Number of cities by country – 500 000 to 1 million inhabitants
n
1
38
289
KE
Kenya
2,005
1
HDX
2026-04-09
Education
net_enrolment_rate_slum
Net enrolment rate in primary education in urban and rural areas (Male) – Slum
p
1
38
289
KE
Kenya
1,993
76.4
HDX
2026-04-09
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
1
38
289
KE
Kenya
2,015
2.26
HDX
2026-04-09
Population
death_per_1000_live_births
Deaths per 1000 live births
n
1
38
289
KE
Kenya
1,995
72
HDX
2026-04-09
Transport
passengers_carried_by_air
Passengers carried by air
1000
1
38
289
KE
Kenya
2,004
2,005
HDX
2026-04-09
Slum dwellers
slum_population
Slum population – Urban
1000
1
38
289
KE
Kenya
2,005
4,044
HDX
2026-04-09
Health
children_with_diarrhea_slum
Proportion of children with diarrhea in last two weeks – Slum
p
1
38
289
KE
Kenya
1,993
18.1
HDX
2026-04-09
End of preview. Expand in Data Studio

Kenya - 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: KEN.

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) 486
Columns 13 (5 numeric, 8 categorical, 0 datetime)
Train split 388 rows
Test split 97 rows
Geographic scope KEN
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, Rural population), type_data (p, 1000, n), latitude (range -4.04–1.0), longitude (range 34.76–39.6899) and 3 others.

Outcome / Measurementvalue (range 0.033–4457000.0).

Identifier / Metadataname (Kenya, Nairobi, Mombasa), esa_source (HDX), esa_processed (2026-04-09).

Otherindicator (avg_annual_rate_change_percentage_total, avg_annual_rate_change_percentage_urban, rural_population).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unhabitat-ke-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, rural_population
indicator_friendly object 0.0% Average annual rate of change of population – Total, Average annual rate of change of population – Urban, Rural population
type_data object 0.0% p, 1000, n
latitude float64 0.2% -4.04 – 1.0 (mean 0.6981)
longitude float64 0.2% 34.76 – 39.6899 (mean 37.9047)
region_id float64 0.2% 289.0 – 289.0 (mean 289.0)
country_id object 0.0% KE, #country+code+v_iso2
name object 0.0% Kenya, Nairobi, Mombasa
year float64 0.2% 1950.0 – 2050.0 (mean 1999.9608)
value float64 0.2% 0.033 – 4457000.0 (mean 20963.8082)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-09

Numeric Summary

Column Min Max Mean Median
latitude -4.04 1.0 0.6981 1.0
longitude 34.76 39.6899 37.9047 38.0
region_id 289.0 289.0 289.0 289.0
year 1950.0 2050.0 1999.9608 2003.0
value 0.033 4457000.0 20963.8082 22.0

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_ke_indicators,
  title     = {Kenya - 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-ke-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
16

Collection including electricsheepafrica/africa-unhabitat-ke-indicators