Dataset Viewer
Auto-converted to Parquet Duplicate
category
stringclasses
8 values
indicator
stringlengths
10
48
indicator_friendly
stringlengths
12
98
type_data
stringclasses
4 values
latitude
float64
-20
-18.92
longitude
float64
47
47.5
region_id
float64
289
289
country_id
stringclasses
1 value
name
stringclasses
2 values
year
float64
1.95k
2.05k
value
float64
0.17
49.8k
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-13 00:00:00
2026-04-13 00:00:00
Slum dwellers
urban_slum_population_countries
Urban slum population – Countries
1000
-20
47
289
MG
Madagascar
1,995
2,997
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,011
2.48
HDX
2026-04-13
Population
number_of_cities_1_5_million
Number of cities by country – 1 to 5 million inhabitants
n
-20
47
289
MG
Madagascar
2,010
1
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,987
2.84
HDX
2026-04-13
Slum dwellers
urban_population_living_in_slum
Proportion of urban population living in slum area
p
-20
47
289
MG
Madagascar
2,007
78
HDX
2026-04-13
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
-20
47
289
MG
Madagascar
1,980
175
HDX
2026-04-13
Education
net_enrolment_rate_1_shelter_deprivation
Net enrolment rate in primary education in urban and rural areas (Male) – 1 Shelter deprivation
p
-20
47
289
MG
Madagascar
2,003
88
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
1,975
2.52
HDX
2026-04-13
City prosperity
cpi_quality_of_live_index
Quality of life index
p
-18.916637
47.516624
289
MG
Antananarivo
2,012
0.558
HDX
2026-04-13
Population
under_5_mortality_rate
Under-Five mortality rate (Deaths per 1000 live births)
n
-20
47
289
MG
Madagascar
1,990
168
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
1,960
3.02
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,986
2.84
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,001
2.83
HDX
2026-04-13
Health
hiv_prevalence_15_to_49_year
HIV prevalence among population 15-49 year
p
-20
47
289
MG
Madagascar
2,001
1.3
HDX
2026-04-13
Slum dwellers
slum_population
Slum population – Urban
1000
-20
47
289
MG
Madagascar
1,995
3,186
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
1,990
2,836
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
2,007
13,950
HDX
2026-04-13
Resilience
number_of_droughts
Average annual number of events in droughts
n
-20
47
289
MG
Madagascar
1,980
0.24
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
1,965
6,091
HDX
2026-04-13
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
-20
47
289
MG
Madagascar
2,005
70.08
HDX
2026-04-13
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
-20
47
289
MG
Madagascar
2,005
1,590
HDX
2026-04-13
Slum dwellers
slum_proportion_living_urban
Percentage of slum population in urban area
p
-20
47
289
MG
Madagascar
1,990
93
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
2,050
19,526
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,034
1.73
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,041
1.42
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
2,040
1.46
HDX
2026-04-13
Transport
passengers_carried_by_railway
Passengers carried by railway (million passengers/km)
n
-20
47
289
MG
Madagascar
2,000
10
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-18.916637
47.516624
289
MG
Antananarivo
2,010
4.86
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
2,040
19,930
HDX
2026-04-13
Streets
percentage_of_roads
Percentage of roads measured in length
p
-20
47
289
MG
Madagascar
2,000
11.6
HDX
2026-04-13
Transport
total_railway_route
Total railway route
km
-20
47
289
MG
Madagascar
1,999
883
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,012
2.48
HDX
2026-04-13
Slum dwellers
improved_sanitation_countries
Proportion of population with access to improved sanitation – Countries
p
-20
47
289
MG
Madagascar
1,997
43.1
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,955
2.43
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,029
1.9
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
2,035
19,744
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
1,975
7,906
HDX
2026-04-13
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
-20
47
289
MG
Madagascar
2,025
3,118
HDX
2026-04-13
Slum dwellers
slum_population
Slum population – Urban
1000
-20
47
289
MG
Madagascar
2,007
4,470
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,967
2.58
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
1,980
9,059
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
1,980
2.45
HDX
2026-04-13
Population
population_capital_cities
Population of capital cities
1000
-18.916637
47.516624
289
MG
Antananarivo
2,007
1,697
HDX
2026-04-13
Education
net_enrolment_rate_3_shelter_deprivation
Net enrolment rate in primary education in urban and rural areas (Male) – 3 Shelter deprivation
p
-20
47
289
MG
Madagascar
2,003
70.6
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,031
1.73
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
2,010
1.35
HDX
2026-04-13
Health
children_with_diarrhea_1_shelter_deprivation
Proportion of children with diarrhea in last two weeks – 1 Shelter deprivation
p
-20
47
289
MG
Madagascar
1,997
35.6
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
2,040
18,921
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
2,007
19,683
HDX
2026-04-13
Population
population_cities_by_country_1m_5m
Population in cities by country – cities with 1 to 5 million inhabitants
1000
-20
47
289
MG
Madagascar
2,000
1,361
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,957
2.43
HDX
2026-04-13
Population
pop_urban_percentage
Percentage of national population living in urban areas
p
-20
47
289
MG
Madagascar
2,007
29.1
HDX
2026-04-13
City prosperity
cpi_5_dimensions
City Prosperity Index with 5 dimensions
p
-18.916637
47.516624
289
MG
Antananarivo
2,012
0.465
HDX
2026-04-13
Health
children_with_diarrhea_urban
Proportion of children with diarrhea in last two weeks – Urban
p
-20
47
289
MG
Madagascar
2,004
8.6
HDX
2026-04-13
Slum dwellers
improved_sanitation_countries
Proportion of population with access to improved sanitation – Countries
p
-20
47
289
MG
Madagascar
2,003
46.8
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,969
2.58
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,045
1.27
HDX
2026-04-13
Slum dwellers
urban_population_percentage_fewer_500k
Percentage of urban population (by country) – Fewer than 500 000 inhabitants
p
-20
47
289
MG
Madagascar
1,970
100
HDX
2026-04-13
Slum dwellers
urban_slum_population_countries
Urban slum population – Countries
1000
-20
47
289
MG
Madagascar
2,005
4,046
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
1,995
10,349
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
1,990
1.81
HDX
2026-04-13
Slum dwellers
distribution_of_solid_cooking_fuel_slum
Percent distribution of solid cooking fuel – Slum
p
-20
47
289
MG
Madagascar
2,004
98.3
HDX
2026-04-13
Population
number_of_cities_500k_1_million
Number of cities by country – 500 000 to 1 million inhabitants
n
-20
47
289
MG
Madagascar
1,990
1
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-20
47
289
MG
Madagascar
1,965
2.6
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,965
2.58
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
2,035
16,166
HDX
2026-04-13
Slum dwellers
pit_latrine_without_slab
Access to pit latrine without slab
p
-20
47
289
MG
Madagascar
2,003
70.5
HDX
2026-04-13
Population
rural_population
Rural population
1000
-20
47
289
MG
Madagascar
2,030
19,302
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
2,040
38,851
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
2,030
32,931
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,984
2.84
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,988
2.84
HDX
2026-04-13
Population
infant_mortality_rate
Infant Mortality rate (Deaths per 1000 live births)
n
-20
47
289
MG
Madagascar
1,995
95
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
1,970
977
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,964
2.51
HDX
2026-04-13
Slum dwellers
urban_population_percentage_1m_5m
Percentage of urban population (by country) – 1 to 5 million inhabitants
p
-20
47
289
MG
Madagascar
2,025
27.47
HDX
2026-04-13
Health
children_with_diarrhea_total
Proportion of children with diarrhea in last two weeks – Total
p
-20
47
289
MG
Madagascar
2,004
9.8
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
1,985
2,185
HDX
2026-04-13
Health
children_with_diarrhea_slum
Proportion of children with diarrhea in last two weeks – Slum
p
-20
47
289
MG
Madagascar
2,004
9.3
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,047
1.27
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
2,005
5,313
HDX
2026-04-13
Health
children_with_diarrhea_2_shelter_deprivation
Proportion of children with diarrhea in last two weeks – 2 Shelter deprivation
p
-20
47
289
MG
Madagascar
1,997
33.1
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
1,990
12,033
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
2,007
5,733
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
2,000
2.83
HDX
2026-04-13
Transport
passengers_carried_by_air
Passengers carried by air
1000
-20
47
289
MG
Madagascar
2,004
514
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_urban
Average annual rate of change of population – Urban
p
-18.916637
47.516624
289
MG
Antananarivo
2,000
3.33
HDX
2026-04-13
Health
children_with_diarrhea_3_shelter_deprivation
Proportion of children with diarrhea in last two weeks – 3 Shelter deprivation
p
-20
47
289
MG
Madagascar
2,004
11.7
HDX
2026-04-13
Education
net_enrolment_rate_rural
Net enrolment rate in primary education in urban and rural areas (Male) – Rural
p
-20
47
289
MG
Madagascar
2,003
70.5
HDX
2026-04-13
Slum dwellers
improved_water_sustainable_access_countries
Proportion of population with sustainable access to an improved water source – Countries
p
-20
47
289
MG
Madagascar
2,003
73.9
HDX
2026-04-13
Resilience
loss_lives_by_droughts_per_million_population
Number of loss of lives by droughts per million population
n
-20
47
289
MG
Madagascar
1,980
0.78
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,960
2.51
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,985
2.84
HDX
2026-04-13
Population
death_per_1000_live_births
Deaths per 1000 live births
n
-20
47
289
MG
Madagascar
1,990
103
HDX
2026-04-13
Population
avg_annual_rate_change_percentage_total
Average annual rate of change of population – Total
p
-20
47
289
MG
Madagascar
1,968
2.58
HDX
2026-04-13
Health
children_with_diarrhea_non_slum
Proportion of children with diarrhea in last two weeks – Non-slum
p
-20
47
289
MG
Madagascar
1,997
25.9
HDX
2026-04-13
City prosperity
cpi_equity_index
Equity Index
p
-18.916637
47.516624
289
MG
Antananarivo
2,012
0.552
HDX
2026-04-13
Population
population
Total population
1000
-20
47
289
MG
Madagascar
2,050
44,453
HDX
2026-04-13
Population
urban_population_countries
Urban population – Countries
1000
-20
47
289
MG
Madagascar
1,955
434
HDX
2026-04-13
Slum dwellers
slum_population
Slum population – Urban
1000
-20
47
289
MG
Madagascar
2,005
4,283
HDX
2026-04-13
End of preview. Expand in Data Studio

Madagascar - 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: MDG.

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) 376
Columns 13 (5 numeric, 8 categorical, 0 datetime)
Train split 300 rows
Test split 75 rows
Geographic scope MDG
Publisher United Nations Human Settlements Programmes, Data and Analytics Section
HDX last updated 2024-03-28

Variables

Geographiccategory (Population, Slum dwellers, Health), indicator_friendly (Average annual rate of change of population – Total, Urban population – Countries, Average annual rate of change of population – Urban), type_data (p, 1000, n), latitude (range -20.0–-18.9166), longitude (range 47.0–47.5166) and 3 others.

Outcome / Measurementvalue (range 0.171–49827.0).

Identifier / Metadataname (Madagascar, Antananarivo, #country+name), esa_source (HDX), esa_processed (2026-04-13).

Otherindicator (avg_annual_rate_change_percentage_total, urban_population_countries, avg_annual_rate_change_percentage_urban).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unhabitat-mg-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, Health
indicator object 0.0% avg_annual_rate_change_percentage_total, urban_population_countries, avg_annual_rate_change_percentage_urban
indicator_friendly object 0.0% Average annual rate of change of population – Total, Urban population – Countries, Average annual rate of change of population – Urban
type_data object 0.0% p, 1000, n
latitude float64 0.3% -20.0 – -18.9166 (mean -19.9538)
longitude float64 0.3% 47.0 – 47.5166 (mean 47.022)
region_id float64 0.3% 289.0 – 289.0 (mean 289.0)
country_id object 0.0% MG, #country+code+v_iso2
name object 0.0% Madagascar, Antananarivo, #country+name
year float64 0.3% 1950.0 – 2050.0 (mean 1999.056)
value float64 0.3% 0.171 – 49827.0 (mean 2638.089)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-13

Numeric Summary

Column Min Max Mean Median
latitude -20.0 -18.9166 -19.9538 -20.0
longitude 47.0 47.5166 47.022 47.0
region_id 289.0 289.0 289.0 289.0
year 1950.0 2050.0 1999.056 2000.0
value 0.171 49827.0 2638.089 32.5

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_mg_indicators,
  title     = {Madagascar - 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-mg-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
28

Collection including electricsheepafrica/africa-unhabitat-mg-indicators