Dataset Viewer
Auto-converted to Parquet Duplicate
adm2_pcode
stringlengths
5
5
adm_pcode
stringlengths
5
5
female_pop
int64
3.47k
109k
children_u5
int64
886
23.9k
female_u5
int64
434
11.7k
elderly
int64
295
7.82k
pop_u15
int64
2.49k
66k
female_u15
int64
1.25k
33k
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-27 00:00:00
2026-04-27 00:00:00
LSA07
LSA07
14,051
3,088
1,519
1,011
8,534
4,267
HDX
2026-04-27
LSC07
LSC07
10,265
2,477
1,227
919
7,110
3,537
HDX
2026-04-27
LSF05
LSF05
9,498
2,464
1,249
978
6,853
3,433
HDX
2026-04-27
LSG04
LSG04
12,666
3,157
1,546
1,311
9,139
4,518
HDX
2026-04-27
LSA03
LSA03
15,602
3,430
1,687
1,122
9,477
4,738
HDX
2026-04-27
LSD06
LSD06
11,327
2,684
1,320
974
7,683
3,815
HDX
2026-04-27
LSA11
LSA11
4,107
903
444
295
2,494
1,247
HDX
2026-04-27
LSC03
LSC03
10,560
2,548
1,262
946
7,314
3,638
HDX
2026-04-27
LSK01
LSK01
11,549
3,475
1,707
1,185
9,572
4,764
HDX
2026-04-27
LSE03
LSE03
10,217
2,483
1,221
1,050
7,098
3,499
HDX
2026-04-27
LSD07
LSD07
14,034
3,327
1,637
1,207
9,525
4,730
HDX
2026-04-27
LSD03
LSD03
11,598
2,751
1,354
999
7,878
3,912
HDX
2026-04-27
LSC09
LSC09
5,129
1,238
613
459
3,552
1,767
HDX
2026-04-27
LSF02
LSF02
3,465
899
456
357
2,500
1,253
HDX
2026-04-27
LSA04
LSA04
13,632
2,996
1,474
980
8,279
4,139
HDX
2026-04-27
LSC12
LSC12
18,999
4,584
2,271
1,702
13,159
6,546
HDX
2026-04-27
LSD02
LSD02
11,193
2,654
1,306
964
7,600
3,773
HDX
2026-04-27
LSK06
LSK06
5,270
1,586
779
541
4,368
2,174
HDX
2026-04-27
LSE07
LSE07
7,701
1,870
919
791
5,347
2,635
HDX
2026-04-27
LSF08
LSF08
16,339
4,239
2,148
1,683
11,789
5,906
HDX
2026-04-27
LSA09
LSA09
13,920
3,063
1,507
1,006
8,468
4,233
HDX
2026-04-27
LSC05
LSC05
10,366
2,501
1,239
928
7,179
3,571
HDX
2026-04-27
LSF07
LSF07
10,866
2,811
1,422
1,119
7,826
3,918
HDX
2026-04-27
LSJ02
LSJ02
15,500
4,774
2,374
1,441
12,723
6,299
HDX
2026-04-27
LSF03
LSF03
11,015
2,858
1,448
1,134
7,947
3,981
HDX
2026-04-27
LSE06
LSE06
8,132
1,974
970
835
5,646
2,782
HDX
2026-04-27
LSD04
LSD04
12,653
3,000
1,476
1,089
8,591
4,266
HDX
2026-04-27
LSH01
LSH01
7,766
2,002
1,006
741
5,730
2,890
HDX
2026-04-27
LSB02
LSB02
11,376
2,864
1,416
1,032
8,068
4,000
HDX
2026-04-27
LSG05
LSG05
9,978
2,487
1,218
1,033
7,200
3,560
HDX
2026-04-27
LSK04
LSK04
15,536
4,676
2,297
1,594
12,876
6,408
HDX
2026-04-27
LSC13
LSC13
14,697
3,546
1,757
1,316
10,179
5,064
HDX
2026-04-27
LSG06
LSG06
14,333
3,573
1,749
1,484
10,342
5,113
HDX
2026-04-27
LSC11
LSC11
10,292
2,483
1,230
922
7,128
3,546
HDX
2026-04-27
LSC14
LSC14
4,398
1,061
526
394
3,046
1,515
HDX
2026-04-27
LSH03
LSH03
10,427
2,689
1,351
994
7,693
3,881
HDX
2026-04-27
LSK02
LSK02
11,873
3,559
1,749
1,218
9,807
4,880
HDX
2026-04-27
LSJ03
LSJ03
7,607
2,343
1,165
707
6,244
3,092
HDX
2026-04-27
LSA08
LSA08
14,409
3,168
1,558
1,037
8,753
4,376
HDX
2026-04-27
LSC02
LSC02
9,759
2,355
1,166
874
6,759
3,362
HDX
2026-04-27
LSK05
LSK05
13,168
3,963
1,947
1,351
10,913
5,431
HDX
2026-04-27
LSD01
LSD01
15,482
3,671
1,806
1,333
10,511
5,219
HDX
2026-04-27
LSA12
LSA12
108,604
23,882
11,748
7,818
66,004
32,998
HDX
2026-04-27
LSJ01
LSJ01
13,789
4,246
2,112
1,282
11,318
5,604
HDX
2026-04-27
LSF06
LSF06
10,765
2,754
1,388
1,101
7,691
3,843
HDX
2026-04-27
LSJ04
LSJ04
13,609
4,191
2,085
1,266
11,171
5,531
HDX
2026-04-27
LSD10
LSD10
12,021
2,851
1,402
1,035
8,162
4,053
HDX
2026-04-27
LSC06
LSC06
4,896
1,181
585
438
3,391
1,687
HDX
2026-04-27
LSB01
LSB01
9,292
2,339
1,157
843
6,590
3,267
HDX
2026-04-27
LSE08
LSE08
14,096
3,421
1,680
1,448
9,785
4,821
HDX
2026-04-27
LSD08
LSD08
7,674
1,819
895
660
5,208
2,586
HDX
2026-04-27
LSA05
LSA05
15,801
3,473
1,708
1,136
9,596
4,798
HDX
2026-04-27
LSG02
LSG02
3,555
886
434
368
2,565
1,268
HDX
2026-04-27
LSC04
LSC04
12,458
3,006
1,489
1,116
8,628
4,292
HDX
2026-04-27
LSK03
LSK03
5,454
1,641
806
560
4,521
2,250
HDX
2026-04-27
LSG03
LSG03
12,638
3,150
1,542
1,308
9,119
4,508
HDX
2026-04-27
LSE01
LSE01
9,616
2,333
1,146
988
6,675
3,289
HDX
2026-04-27
LSA10
LSA10
9,924
2,266
1,114
827
6,348
3,155
HDX
2026-04-27
LSB04
LSB04
9,851
2,480
1,226
894
6,986
3,463
HDX
2026-04-27
LSJ05
LSJ05
6,395
1,970
980
595
5,250
2,599
HDX
2026-04-27
LSH02
LSH02
11,046
2,849
1,431
1,053
8,151
4,112
HDX
2026-04-27
LSC10
LSC10
9,756
2,354
1,166
874
6,757
3,361
HDX
2026-04-27

Lesotho - 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 Lesotho, 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 (LSO_ADM2_access)
  • Facilities (LSO_ADM2_facilities)
  • Coping Capacity (LSO_ADM2_coping)
  • Demographics (LSO_ADM2_demographics)
  • Rural Population (LSO_ADM2_rural_population)
  • Vulnerability (LSO_ADM2_vulnerability)
  • Flood Exposure (LSO_ADM2_flood_exposure)

 

 


Indicator Descriptions

Access to Services (LSO_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 (LSO_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 (LSO_ADM2_coping)

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


Demographics (LSO_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 (LSO_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 (LSO_ADM2_vulnerability)

Combines Demographics and Rural Population indicators.


Flood Exposure (LSO_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: LSO.

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


Dataset Characteristics

Domain Public health
Unit of observation Tabular records
Rows (total) 78
Columns 10 (6 numeric, 4 categorical, 0 datetime)
Train split 62 rows
Test split 15 rows
Geographic scope LSO
Publisher HeiGIT (Heidelberg Institute for Geoinformation Technology)
HDX last updated 2026-04-13

Variables

Geographicelderly (range 295.0–7818.0).

Demographicfemale_pop (range 3465.0–108604.0), female_u5 (range 434.0–11748.0), pop_u15 (range 2494.0–66004.0), female_u15 (range 1247.0–32998.0).

Identifier / Metadataadm2_pcode (LSG01, LSC01, LSJ02), adm_pcode (LSG01, LSC01, LSJ02), esa_source (HDX), esa_processed (2026-04-27).

Otherchildren_u5 (range 886.0–23882.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-demographics-lesotho")
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% LSG01, LSC01, LSJ02
adm_pcode object 0.0% LSG01, LSC01, LSJ02
female_pop int64 0.0% 3465.0 – 108604.0 (mean 12225.9231)
children_u5 int64 0.0% 886.0 – 23882.0 (mean 3014.4231)
female_u5 int64 0.0% 434.0 – 11748.0 (mean 1490.3462)
elderly int64 0.0% 295.0 – 7818.0 (mean 1090.1667)
pop_u15 int64 0.0% 2494.0 – 66004.0 (mean 8472.0128)
female_u15 int64 0.0% 1247.0 – 32998.0 (mean 4215.3974)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-27

Numeric Summary

Column Min Max Mean Median
female_pop 3465.0 108604.0 12225.9231 10940.5
children_u5 886.0 23882.0 3014.4231 2720.0
female_u5 434.0 11748.0 1490.3462 1352.5
elderly 295.0 7818.0 1090.1667 1008.5
pop_u15 2494.0 66004.0 8472.0128 7692.0
female_u15 1247.0 32998.0 4215.3974 3862.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_lesotho,
  title     = {Lesotho - Risk Assessment Indicators},
  author    = {HeiGIT (Heidelberg Institute for Geoinformation Technology)},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/lesotho---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
23