Dataset Viewer
Auto-converted to Parquet Duplicate
year
int64
1.98k
2.03k
country_of_origin_code
stringclasses
1 value
country_of_asylum_code
stringclasses
133 values
country_of_origin_name
stringclasses
1 value
country_of_asylum_name
stringclasses
133 values
refugees
int64
0
518k
asylum_seekers
int64
0
144k
other_people_in_need_of_international_protection
int64
0
0
internally_displaced_persons
int64
0
3.86M
stateless_persons
int64
0
0
others_of_concern_to_unhcr
int64
0
85.8k
host_community
int64
0
0
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-04 00:00:00
2026-04-04 00:00:00
2,006
SOM
VEN
Somalia
Venezuela (Bolivarian Republic of)
0
5
0
0
0
0
0
HDX
2026-04-04
1,998
SOM
IND
Somalia
India
178
0
0
0
0
0
0
HDX
2026-04-04
2,022
SOM
URY
Somalia
Uruguay
5
0
0
0
0
0
0
HDX
2026-04-04
2,005
SOM
CHE
Somalia
Switzerland
3,706
218
0
0
0
0
0
HDX
2026-04-04
2,008
SOM
HKG
Somalia
China, Hong Kong Special Administrative Region
17
13
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
PHL
Somalia
Philippines
36
42
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
MDG
Somalia
Madagascar
0
11
0
0
0
0
0
HDX
2026-04-04
2,012
SOM
NER
Somalia
Niger
9
0
0
0
0
0
0
HDX
2026-04-04
1,981
SOM
ITA
Somalia
Italy
34
0
0
0
0
0
0
HDX
2026-04-04
2,002
SOM
TCD
Somalia
Chad
12
0
0
0
0
0
0
HDX
2026-04-04
2,008
SOM
POL
Somalia
Poland
63
9
0
0
0
0
0
HDX
2026-04-04
2,007
SOM
BDI
Somalia
Burundi
0
9
0
0
0
0
0
HDX
2026-04-04
1,998
SOM
LBN
Somalia
Lebanon
154
0
0
0
0
0
0
HDX
2026-04-04
2,008
SOM
GHA
Somalia
Ghana
0
24
0
0
0
0
0
HDX
2026-04-04
2,017
SOM
POL
Somalia
Poland
46
0
0
0
0
0
0
HDX
2026-04-04
2,004
SOM
CHN
Somalia
China
0
7
0
0
0
0
0
HDX
2026-04-04
2,007
SOM
FIN
Somalia
Finland
1,178
53
0
0
0
0
0
HDX
2026-04-04
1,995
SOM
BGD
Somalia
Bangladesh
91
0
0
0
0
0
0
HDX
2026-04-04
1,996
SOM
MWI
Somalia
Malawi
251
0
0
0
0
0
0
HDX
2026-04-04
1,995
SOM
NZL
Somalia
New Zealand
450
0
0
0
0
0
0
HDX
2026-04-04
2,016
SOM
TZA
Somalia
United Republic of Tanzania
150
0
0
0
0
0
0
HDX
2026-04-04
2,012
SOM
NZL
Somalia
New Zealand
45
12
0
0
0
0
0
HDX
2026-04-04
1,992
SOM
SWE
Somalia
Sweden
4,431
0
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
DNK
Somalia
Denmark
1,497
87
0
0
0
0
0
HDX
2026-04-04
2,021
SOM
SVK
Somalia
Slovakia
34
0
0
0
0
0
0
HDX
2026-04-04
2,017
SOM
ROU
Somalia
Romania
43
11
0
0
0
0
0
HDX
2026-04-04
2,002
SOM
MAR
Somalia
Morocco
8
0
0
0
0
0
0
HDX
2026-04-04
2,021
SOM
SWZ
Somalia
Eswatini
107
198
0
0
0
0
0
HDX
2026-04-04
2,021
SOM
SSD
Somalia
South Sudan
5
30
0
0
0
0
0
HDX
2026-04-04
2,024
SOM
PER
Somalia
Peru
0
41
0
0
0
0
0
HDX
2026-04-04
2,022
SOM
EGY
Somalia
Egypt
4,666
1,771
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
ZAF
Somalia
South Africa
15,186
0
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
KOR
Somalia
Republic of Korea
5
0
0
0
0
0
0
HDX
2026-04-04
1,993
SOM
EGY
Somalia
Egypt
6,066
0
0
0
0
0
0
HDX
2026-04-04
2,018
SOM
LVA
Somalia
Latvia
5
0
0
0
0
0
0
HDX
2026-04-04
2,006
SOM
THA
Somalia
Thailand
17
0
0
0
0
0
0
HDX
2026-04-04
2,014
SOM
ETH
Somalia
Ethiopia
245,097
2,683
0
0
0
740
0
HDX
2026-04-04
2,018
SOM
MYS
Somalia
Malaysia
1,045
1,872
0
0
0
0
0
HDX
2026-04-04
2,004
SOM
SDN
Somalia
Sudan
17
0
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
QAT
Somalia
Qatar
5
0
0
0
0
0
0
HDX
2026-04-04
2,020
SOM
IND
Somalia
India
514
288
0
0
0
0
0
HDX
2026-04-04
1,995
SOM
MOZ
Somalia
Mozambique
24
0
0
0
0
0
0
HDX
2026-04-04
2,003
SOM
TCD
Somalia
Chad
18
15
0
0
0
0
0
HDX
2026-04-04
2,019
SOM
CYP
Somalia
Cyprus
221
369
0
0
0
0
0
HDX
2026-04-04
2,017
SOM
NLD
Somalia
Netherlands (Kingdom of the)
15,478
76
0
0
0
0
0
HDX
2026-04-04
2,023
SOM
CIV
Somalia
Côte d'Ivoire
8
5
0
0
0
0
0
HDX
2026-04-04
2,001
SOM
ARE
Somalia
United Arab Emirates
321
103
0
0
0
0
0
HDX
2026-04-04
2,016
SOM
CAN
Somalia
Canada
2,775
697
0
0
0
0
0
HDX
2026-04-04
2,001
SOM
TUR
Somalia
Türkiye
13
5
0
0
0
0
0
HDX
2026-04-04
2,007
SOM
FRA
Somalia
France
650
0
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
GHA
Somalia
Ghana
95
0
0
0
0
0
0
HDX
2026-04-04
2,015
SOM
EGY
Somalia
Egypt
4,491
3,191
0
0
0
0
0
HDX
2026-04-04
1,999
SOM
CAN
Somalia
Canada
5,178
0
0
0
0
0
0
HDX
2026-04-04
2,002
SOM
UGA
Somalia
Uganda
879
125
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
CZE
Somalia
Czechia
21
8
0
0
0
0
0
HDX
2026-04-04
2,009
SOM
IRL
Somalia
Ireland
590
155
0
0
0
0
0
HDX
2026-04-04
2,018
SOM
RWA
Somalia
Rwanda
5
0
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
URY
Somalia
Uruguay
5
0
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
EGY
Somalia
Egypt
6,172
378
0
0
0
0
0
HDX
2026-04-04
1,995
SOM
GMB
Somalia
Gambia
5
0
0
0
0
0
0
HDX
2026-04-04
1,984
SOM
KWT
Somalia
Kuwait
100
0
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
BGD
Somalia
Bangladesh
31
0
0
0
0
0
0
HDX
2026-04-04
1,998
SOM
NGA
Somalia
Nigeria
51
0
0
0
0
0
0
HDX
2026-04-04
2,015
SOM
GHA
Somalia
Ghana
59
28
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
IND
Somalia
India
497
753
0
0
0
0
0
HDX
2026-04-04
2,010
SOM
ETH
Somalia
Ethiopia
81,247
297
0
0
0
0
0
HDX
2026-04-04
2,009
SOM
RUS
Somalia
Russian Federation
7
7
0
0
0
0
0
HDX
2026-04-04
2,022
SOM
LVA
Somalia
Latvia
5
0
0
0
0
0
0
HDX
2026-04-04
2,003
SOM
LTU
Somalia
Lithuania
22
0
0
0
0
0
0
HDX
2026-04-04
2,011
SOM
RUS
Somalia
Russian Federation
5
0
0
0
0
0
0
HDX
2026-04-04
2,023
SOM
KEN
Somalia
Kenya
292,834
79,085
0
0
0
63,996
0
HDX
2026-04-04
2,014
SOM
GMB
Somalia
Gambia
5
0
0
0
0
0
0
HDX
2026-04-04
1,999
SOM
SWZ
Somalia
Eswatini
72
0
0
0
0
0
0
HDX
2026-04-04
2,001
SOM
KWT
Somalia
Kuwait
69
32
0
0
0
2,000
0
HDX
2026-04-04
2,000
SOM
TUN
Somalia
Tunisia
36
0
0
0
0
0
0
HDX
2026-04-04
2,009
SOM
ERI
Somalia
Eritrea
4,561
130
0
0
0
0
0
HDX
2026-04-04
2,003
SOM
AZE
Somalia
Azerbaijan
5
0
0
0
0
0
0
HDX
2026-04-04
2,020
SOM
GBR
Somalia
United Kingdom of Great Britain and Northern Ireland
2,855
674
0
0
0
0
0
HDX
2026-04-04
2,022
SOM
MWI
Somalia
Malawi
88
81
0
0
0
0
0
HDX
2026-04-04
1,999
SOM
UKN
Somalia
Various / unknown
0
0
0
0
0
0
0
HDX
2026-04-04
2,005
SOM
ARG
Somalia
Argentina
0
5
0
0
0
0
0
HDX
2026-04-04
2,000
SOM
NER
Somalia
Niger
14
20
0
0
0
0
0
HDX
2026-04-04
2,023
SOM
HRV
Somalia
Croatia
28
5
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
PRT
Somalia
Portugal
62
55
0
0
0
0
0
HDX
2026-04-04
2,016
SOM
CYP
Somalia
Cyprus
67
206
0
0
0
0
0
HDX
2026-04-04
2,024
SOM
LTU
Somalia
Lithuania
27
0
0
0
0
0
0
HDX
2026-04-04
2,009
SOM
THA
Somalia
Thailand
122
9
0
0
0
0
0
HDX
2026-04-04
2,023
SOM
LVA
Somalia
Latvia
6
15
0
0
0
0
0
HDX
2026-04-04
1,993
SOM
LBN
Somalia
Lebanon
60
0
0
0
0
0
0
HDX
2026-04-04
2,008
SOM
GAB
Somalia
Gabon
5
0
0
0
0
0
0
HDX
2026-04-04
1,995
SOM
LBY
Somalia
Libya
2,829
0
0
0
0
0
0
HDX
2026-04-04
2,025
SOM
BGR
Somalia
Bulgaria
17
0
0
0
0
0
0
HDX
2026-04-04
1,997
SOM
RUS
Somalia
Russian Federation
2,656
0
0
0
0
0
0
HDX
2026-04-04
2,003
SOM
FRA
Somalia
France
543
0
0
0
0
0
0
HDX
2026-04-04
2,014
SOM
MLT
Somalia
Malta
2,270
7
0
0
0
0
0
HDX
2026-04-04
2,015
SOM
MAR
Somalia
Morocco
0
9
0
0
0
0
0
HDX
2026-04-04
1,996
SOM
BRA
Somalia
Brazil
10
0
0
0
0
0
0
HDX
2026-04-04
2,023
SOM
SOM
Somalia
Somalia
0
0
0
3,860,099
0
209
0
HDX
2026-04-04
2,004
SOM
BGD
Somalia
Bangladesh
16
0
0
0
0
0
0
HDX
2026-04-04
2,020
SOM
BGR
Somalia
Bulgaria
50
5
0
0
0
0
0
HDX
2026-04-04
End of preview. Expand in Data Studio

Somalia - Data on forcibly displaced populations and stateless persons

Publisher: UNHCR - The UN Refugee Agency · Source: HDX · License: cc-by-igo · Updated: 2026-02-25


Abstract

Data collated by UNHCR, containing information about forcibly displaced populations and stateless persons, spanning across more than 70 years of statistical activities. The data includes the countries / territories of asylum and origin. Specific resources are available for end-year population totals, demographics, asylum applications, decisions, and solutions availed by refugees and IDPs (resettlement, naturalisation or returns).

Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-02-25. Geographic scope: SOM.

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


Dataset Characteristics

Domain Demographics and population
Unit of observation First-level administrative unit observations
Rows (total) 3,035
Columns 14 (8 numeric, 6 categorical, 0 datetime)
Train split 2,428 rows
Test split 607 rows
Geographic scope SOM
Publisher UNHCR - The UN Refugee Agency
HDX last updated 2026-02-25

Variables

Geographicyear (range 1975.0–2025.0), country_of_origin_code (SOM), country_of_asylum_code (KEN, ITA, ETH), country_of_origin_name (Somalia), country_of_asylum_name (Kenya, Italy, Ethiopia) and 4 others.

Identifier / Metadatarefugees (range 0.0–517666.0), esa_source (HDX), esa_processed (2026-04-04).

Otherother_people_in_need_of_international_protection (range 0.0–0.0), others_of_concern_to_unhcr (range 0.0–85820.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unhcr-population-data-for-som")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
year int64 0.0% 1975.0 – 2025.0 (mean 2009.9908)
country_of_origin_code object 0.0% SOM
country_of_asylum_code object 0.0% KEN, ITA, ETH
country_of_origin_name object 0.0% Somalia
country_of_asylum_name object 0.0% Kenya, Italy, Ethiopia
refugees int64 0.0% 0.0 – 517666.0 (mean 8851.1367)
asylum_seekers int64 0.0% 0.0 – 150306.0 (mean 486.1516)
other_people_in_need_of_international_protection int64 0.0% 0.0 – 0.0 (mean 0.0)
internally_displaced_persons int64 0.0% 0.0 – 3861643.0 (mean 13673.1776)
stateless_persons int64 0.0% 0.0 – 0.0 (mean 0.0)
others_of_concern_to_unhcr int64 0.0% 0.0 – 85820.0 (mean 100.8326)
host_community int64 0.0% 0.0 – 0.0 (mean 0.0)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-04

Numeric Summary

Column Min Max Mean Median
year 1975.0 2025.0 2009.9908 2011.0
refugees 0.0 517666.0 8851.1367 67.0
asylum_seekers 0.0 150306.0 486.1516 5.0
other_people_in_need_of_international_protection 0.0 0.0 0.0 0.0
internally_displaced_persons 0.0 3861643.0 13673.1776 0.0
stateless_persons 0.0 0.0 0.0 0.0
others_of_concern_to_unhcr 0.0 85820.0 100.8326 0.0
host_community 0.0 0.0 0.0 0.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 UNHCR - The UN Refugee Agency 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_unhcr_population_data_for_som,
  title     = {Somalia - Data on forcibly displaced populations and stateless persons},
  author    = {UNHCR - The UN Refugee Agency},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/unhcr-population-data-for-som},
  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
19

Collection including electricsheepafrica/africa-unhcr-population-data-for-som