Dataset Viewer
Auto-converted to Parquet Duplicate
adm2_pcode
stringlengths
6
6
access_pop_education_5km
int64
0
208k
access_pop_education_10km
int64
0
300k
access_pop_education_20km
int64
31
375k
access_pop_hospitals_30min
int64
0
308k
access_pop_hospitals_1h
int64
0
370k
access_pop_hospitals_2h
int64
0
423k
access_pop_primary_healthcare_30min
int64
0
317k
access_pop_primary_healthcare_1h
int64
0
371k
access_pop_primary_healthcare_2h
int64
71
430k
education_count
int64
0
49
hospitals_count
int64
0
8
primary_healthcare_count
int64
0
19
adm_pcode
stringlengths
6
6
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-27 00:00:00
2026-04-27 00:00:00
BW1204
40,626
43,201
47,807
41,040
53,039
65,086
33,949
44,621
64,006
9
3
1
BW1204
HDX
2026-04-27
BW1403
0
0
31
0
0
0
0
0
71
0
0
0
BW1403
HDX
2026-04-27
BW1001
207,652
299,581
375,153
307,541
369,679
423,111
316,769
370,952
430,441
34
5
19
BW1001
HDX
2026-04-27
BW1101
76,557
89,270
100,660
97,032
119,228
124,831
96,358
115,047
124,487
28
2
0
BW1101
HDX
2026-04-27
BW1202
86,483
100,486
115,136
78,750
122,999
155,698
18,810
96,071
150,380
25
4
3
BW1202
HDX
2026-04-27
BW0201
114,876
118,305
118,348
117,152
118,283
118,453
118,000
118,427
118,453
23
1
12
BW0201
HDX
2026-04-27
BW0501
11,469
12,595
13,801
13,789
13,857
13,922
13,802
13,857
13,922
1
1
1
BW0501
HDX
2026-04-27
BW0601
1,007
1,007
1,007
1,007
1,007
1,007
1,007
1,007
1,007
0
0
1
BW0601
HDX
2026-04-27
BW0301
77,197
77,197
77,906
77,135
78,874
78,881
75,082
78,865
78,881
9
2
1
BW0301
HDX
2026-04-27
BW1203
51,436
53,258
57,710
45,961
56,647
73,678
38,253
56,568
68,132
35
8
7
BW1203
HDX
2026-04-27
BW1501
24,756
26,129
27,410
21,199
23,951
28,712
27,562
28,554
28,792
17
2
10
BW1501
HDX
2026-04-27
BW0401
54,145
58,013
58,100
57,921
58,167
58,239
54,706
58,140
58,239
4
1
0
BW0401
HDX
2026-04-27
BW1701
22,298
22,808
24,006
0
0
0
3,354
7,278
11,091
17
0
3
BW1701
HDX
2026-04-27
BW1601
35,330
38,016
39,083
19,123
21,902
34,658
18,324
22,185
32,251
20
2
2
BW1601
HDX
2026-04-27
BW1205
114,313
157,169
224,277
141,640
234,705
280,916
197,038
257,014
283,961
29
3
10
BW1205
HDX
2026-04-27
BW1702
14,388
15,957
20,518
12,476
12,910
21,374
6,985
7,149
19,107
10
1
2
BW1702
HDX
2026-04-27
BW1401
97,786
101,105
105,943
95,698
102,098
115,151
103,949
110,915
117,827
36
4
10
BW1401
HDX
2026-04-27
BW0801
116,310
127,776
151,635
132,861
156,547
176,744
137,089
158,099
177,951
49
5
4
BW0801
HDX
2026-04-27
BW0901
111,569
125,490
137,713
134,149
143,679
144,871
136,586
143,859
145,017
28
2
11
BW0901
HDX
2026-04-27
BW1201
112,476
120,989
146,398
112,957
154,047
185,350
79,837
140,634
182,520
37
4
4
BW1201
HDX
2026-04-27
BW1301
34,213
47,257
58,576
46,637
71,939
79,896
58,049
74,132
80,453
14
1
7
BW1301
HDX
2026-04-27
BW0701
2,345
2,352
2,352
0
35
2,382
0
2,371
2,386
1
0
0
BW0701
HDX
2026-04-27

Botswana - Risk Assessment Indicators

Publisher: HeiGIT (Heidelberg Institute for Geoinformation Technology) · Source: HDX · License: cc-by-sa · Updated: 2026-04-13


Abstract

This dataset provides comprehensive Risk Assessment Indicators for Botswana, aggregated at admin level 2 and can in particular be used to perform a structured risk assessment for flood hazards. It includes demographic, environmental, infrastructure, accessibility, and hazard-related data to support disaster risk and resilience analysis.

All layers are derived from HeiGIT’s GAIA Pipeline, integrating open data sources such as WorldPop, OpenStreetMap, and Google Earth Engine based on HDX COD-AB boundaries.


Data Overview

  • Access to Services (BWA_ADM2_access)
  • Facilities (BWA_ADM2_facilities)
  • Coping Capacity (BWA_ADM2_coping)
  • Demographics (BWA_ADM2_demographics)
  • Rural Population (BWA_ADM2_rural_population)
  • Vulnerability (BWA_ADM2_vulnerability)
  • Flood Exposure (BWA_ADM2_flood_exposure)

 

 


Indicator Descriptions

Access to Services (BWA_ADM2_access)

Represents the share of the population with access to key facilities within defined distances or travel times.

  • ADM2_PCODE – Administrative division code (ADM2)
  • access_pop_education_5km / 10km / 20km – Population within 5, 10, and 20 km of educational facilities
  • access_pop_hospitals_30min / 1h / 2h – Population within 30 minutes, 1 hour, and 2 hours of a hospital
  • access_pop_primary_healthcare_30min / 1h / 2h – Population within 30 minutes, 1 hour, and 2 hours of a primary health care facility

Data Source: openrouteservice (ORS)


Facilities (BWA_ADM2_facilities)

Counts of essential service facilities within each district.

  • ADM2_PCODE – Administrative division code (ADM2)
  • education_count – Number of educational facilities
  • hospitals_count – Number of hospitals
  • primary_healthcare_count – Number of primary health care facilities

Data Source: OpenStreetMap (OSM)


Coping Capacity (BWA_ADM2_coping)

Combines Access to Services and Facilities data to represent a district’s coping capacity.


Demographics (BWA_ADM2_demographics)

Shows the population composition by age and gender.

  • ADM2_PCODE – Administrative division code (ADM2)
  • female_pop – Total female population
  • children_u5 – Population under 5 years old
  • female_u5 – Female population under 5 years old
  • elderly – Population aged 65 and older
  • pop_u15 – Population under 15 years old
  • female_u15 – Female population under 15 years old

Data Source: Worldpop


Rural Population (BWA_ADM2_rural_population)

Same demographic breakdown as above, but limited to rural populations. Rural areas are those outside urban extents, typically characterized by lower population density, agricultural or natural land use, and limited infrastructure compared to urban centers.

  • ADM2_PCODE – Administrative division code (ADM2)
  • female_pop_rural, children_u5_rural, female_u5_rural, elderly_rural, pop_u15_rural, female_u15_rural – Rural demographic counts
  • rural_pop_perc – Percentage of total population living in rural areas

Data Source: Global Human Settlement Layer (GHSL)


Vulnerability (BWA_ADM2_vulnerability)

Combines Demographics and Rural Population indicators.


Flood Exposure (BWA_ADM2_flood_exposure)

Shows population and facility exposure to flooding at 30 cm depth for multiple return periods.

  • ADM2_PCODE – Administrative division code (ADM2)
  • female_pop_30cm, children_u5_30cm, female_u5_30cm, elderly_30cm, pop_u15_30cm, female_u15_30cm – Exposed population by group
  • education_30cm_pct / count, hospitals_30cm_pct / count, primary_healthcare_30cm_pct / count – Facility exposure (percentage and count)

Data Source: The Joint Research Centre (JRC)


QGIS Plugin Risk Assessment Inputs

  • Coping Capacity = Access + Facilities
  • Vulnerability = Demographics + Rural Population
  • Exposure = Vulnerable Population + Facilities exposed to Floods

This dataset is part of HeiGIT’s Risk Assessment Indicator Collection on HDX. See more at HeiGIT on HDX and learn about HeiGIT’s research at HeiGIT.

We are happy to hear about your use-cases — contact us at communications@heigit.org!

Each row in this dataset represents tabular records. Data was last updated on HDX on 2026-04-13. Geographic scope: BWA.

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


Dataset Characteristics

Domain Public health
Unit of observation Tabular records
Rows (total) 28
Columns 16 (12 numeric, 4 categorical, 0 datetime)
Train split 22 rows
Test split 5 rows
Geographic scope BWA
Publisher HeiGIT (Heidelberg Institute for Geoinformation Technology)
HDX last updated 2026-04-13

Variables

Geographicaccess_pop_primary_healthcare_30min (range 0.0–316769.0), access_pop_primary_healthcare_1h (range 0.0–370952.0), access_pop_primary_healthcare_2h (range 0.0–430441.0), primary_healthcare_count (range 0.0–19.0).

Demographicaccess_pop_education_5km (range 0.0–207652.0), access_pop_education_10km (range 0.0–299581.0), access_pop_education_20km (range 0.0–375153.0), access_pop_hospitals_30min (range 0.0–307541.0), access_pop_hospitals_1h (range 0.0–369679.0) and 1 others.

Outcome / Measurementeducation_count (range 0.0–65.0), hospitals_count (range 0.0–8.0).

Identifier / Metadataadm2_pcode (BW0101, BW0201, BW1701), adm_pcode (BW0101, BW0201, BW1701), esa_source (HDX), esa_processed (2026-04-27).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-demographics-botswana")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
adm2_pcode object 0.0% BW0101, BW0201, BW1701
access_pop_education_5km int64 0.0% 0.0 – 207652.0 (mean 57413.8929)
access_pop_education_10km int64 0.0% 0.0 – 299581.0 (mean 66284.5357)
access_pop_education_20km int64 0.0% 0.0 – 375153.0 (mean 77781.9643)
access_pop_hospitals_30min int64 0.0% 0.0 – 307541.0 (mean 61899.5357)
access_pop_hospitals_1h int64 0.0% 0.0 – 369679.0 (mean 77866.75)
access_pop_hospitals_2h int64 0.0% 0.0 – 423111.0 (mean 89251.3929)
access_pop_primary_healthcare_30min int64 0.0% 0.0 – 316769.0 (mean 62616.3214)
access_pop_primary_healthcare_1h int64 0.0% 0.0 – 370952.0 (mean 77571.1071)
access_pop_primary_healthcare_2h int64 0.0% 0.0 – 430441.0 (mean 89437.6071)
education_count int64 0.0% 0.0 – 65.0 (mean 18.9286)
hospitals_count int64 0.0% 0.0 – 8.0 (mean 2.25)
primary_healthcare_count int64 0.0% 0.0 – 19.0 (mean 4.8214)
adm_pcode object 0.0% BW0101, BW0201, BW1701
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-27

Numeric Summary

Column Min Max Mean Median
access_pop_education_5km 0.0 207652.0 57413.8929 41402.0
access_pop_education_10km 0.0 299581.0 66284.5357 49796.0
access_pop_education_20km 0.0 375153.0 77781.9643 57905.0
access_pop_hospitals_30min 0.0 307541.0 61899.5357 43500.5
access_pop_hospitals_1h 0.0 369679.0 77866.75 57407.0
access_pop_hospitals_2h 0.0 423111.0 89251.3929 69382.0
access_pop_primary_healthcare_30min 0.0 316769.0 62616.3214 36101.0
access_pop_primary_healthcare_1h 0.0 370952.0 77571.1071 57354.0
access_pop_primary_healthcare_2h 0.0 430441.0 89437.6071 66069.0
education_count 0.0 65.0 18.9286 16.0
hospitals_count 0.0 8.0 2.25 2.0
primary_healthcare_count 0.0 19.0 4.8214 3.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. 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 HeiGIT (Heidelberg Institute for Geoinformation Technology) 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_demographics_botswana,
  title     = {Botswana - Risk Assessment Indicators},
  author    = {HeiGIT (Heidelberg Institute for Geoinformation Technology)},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/botswana---risk-assessment-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
20