Dataset Viewer
Auto-converted to Parquet Duplicate
year
int64
1.97k
2.03k
country_of_origin_code
stringclasses
1 value
country_of_asylum_code
stringclasses
35 values
country_of_origin_name
stringclasses
1 value
country_of_asylum_name
stringclasses
35 values
refugees
int64
0
70k
asylum_seekers
int64
0
1.28k
other_people_in_need_of_international_protection
int64
0
0
internally_displaced_persons
int64
0
0
stateless_persons
int64
0
0
others_of_concern_to_unhcr
int64
0
45
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
1,992
NAM
ZMB
Namibia
Zambia
6
0
0
0
0
0
0
HDX
2026-04-04
1,971
NAM
ZMB
Namibia
Zambia
900
0
0
0
0
0
0
HDX
2026-04-04
1,999
NAM
DNK
Namibia
Denmark
7
0
0
0
0
0
0
HDX
2026-04-04
2,025
NAM
CAN
Namibia
Canada
0
55
0
0
0
0
0
HDX
2026-04-04
2,023
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
351
1,276
0
0
0
0
0
HDX
2026-04-04
2,023
NAM
BRA
Namibia
Brazil
0
18
0
0
0
0
0
HDX
2026-04-04
1,987
NAM
CMR
Namibia
Cameroon
70
0
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
NAM
Namibia
Namibia
0
0
0
0
0
38
0
HDX
2026-04-04
2,012
NAM
HKG
Namibia
China, Hong Kong Special Administrative Region
0
5
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
PRT
Namibia
Portugal
15
0
0
0
0
0
0
HDX
2026-04-04
1,985
NAM
CMR
Namibia
Cameroon
100
0
0
0
0
0
0
HDX
2026-04-04
1,990
NAM
AGO
Namibia
Angola
245
0
0
0
0
0
0
HDX
2026-04-04
2,016
NAM
BRA
Namibia
Brazil
0
21
0
0
0
0
0
HDX
2026-04-04
1,989
NAM
CUB
Namibia
Cuba
350
0
0
0
0
0
0
HDX
2026-04-04
2,021
NAM
DEU
Namibia
Germany
0
47
0
0
0
0
0
HDX
2026-04-04
2,002
NAM
DNK
Namibia
Denmark
7
0
0
0
0
0
0
HDX
2026-04-04
1,975
NAM
BWA
Namibia
Botswana
150
0
0
0
0
0
0
HDX
2026-04-04
1,976
NAM
ZMB
Namibia
Zambia
3,350
0
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
NLD
Namibia
Netherlands (Kingdom of the)
0
5
0
0
0
0
0
HDX
2026-04-04
2,001
NAM
CAN
Namibia
Canada
0
12
0
0
0
0
0
HDX
2026-04-04
2,012
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
5
11
0
0
0
0
0
HDX
2026-04-04
2,017
NAM
NLD
Namibia
Netherlands (Kingdom of the)
5
0
0
0
0
0
0
HDX
2026-04-04
2,025
NAM
NAM
Namibia
Namibia
0
0
0
0
0
40
0
HDX
2026-04-04
2,016
NAM
COG
Namibia
Congo
0
0
0
0
0
0
0
HDX
2026-04-04
2,017
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
30
101
0
0
0
0
0
HDX
2026-04-04
2,003
NAM
CAN
Namibia
Canada
0
9
0
0
0
0
0
HDX
2026-04-04
2,012
NAM
NLD
Namibia
Netherlands (Kingdom of the)
5
0
0
0
0
0
0
HDX
2026-04-04
1,975
NAM
ZMB
Namibia
Zambia
3,720
0
0
0
0
0
0
HDX
2026-04-04
2,010
NAM
HKG
Namibia
China, Hong Kong Special Administrative Region
0
5
0
0
0
0
0
HDX
2026-04-04
1,987
NAM
ITA
Namibia
Italy
6
0
0
0
0
0
0
HDX
2026-04-04
2,010
NAM
CAN
Namibia
Canada
26
335
0
0
0
0
0
HDX
2026-04-04
1,975
NAM
KEN
Namibia
Kenya
100
0
0
0
0
0
0
HDX
2026-04-04
2,000
NAM
DNK
Namibia
Denmark
7
0
0
0
0
0
0
HDX
2026-04-04
2,019
NAM
BRA
Namibia
Brazil
0
39
0
0
0
0
0
HDX
2026-04-04
1,978
NAM
AGO
Namibia
Angola
30,000
0
0
0
0
0
0
HDX
2026-04-04
2,016
NAM
NLD
Namibia
Netherlands (Kingdom of the)
5
0
0
0
0
0
0
HDX
2026-04-04
2,015
NAM
BWA
Namibia
Botswana
914
10
0
0
0
0
0
HDX
2026-04-04
2,006
NAM
CAN
Namibia
Canada
12
9
0
0
0
0
0
HDX
2026-04-04
2,017
NAM
CAN
Namibia
Canada
360
54
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
USA
Namibia
United States of America
21
175
0
0
0
0
0
HDX
2026-04-04
2,003
NAM
DEU
Namibia
Germany
11
0
0
0
0
0
0
HDX
2026-04-04
1,985
NAM
BWA
Namibia
Botswana
60
0
0
0
0
0
0
HDX
2026-04-04
1,991
NAM
ZMB
Namibia
Zambia
142
0
0
0
0
0
0
HDX
2026-04-04
1,996
NAM
FRA
Namibia
France
8
0
0
0
0
0
0
HDX
2026-04-04
1,974
NAM
KEN
Namibia
Kenya
70
0
0
0
0
0
0
HDX
2026-04-04
1,970
NAM
ZMB
Namibia
Zambia
840
0
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
SWE
Namibia
Sweden
33
0
0
0
0
0
0
HDX
2026-04-04
2,014
NAM
CAN
Namibia
Canada
207
0
0
0
0
0
0
HDX
2026-04-04
1,989
NAM
AGO
Namibia
Angola
1,145
0
0
0
0
0
0
HDX
2026-04-04
1,977
NAM
ZMB
Namibia
Zambia
2,700
0
0
0
0
0
0
HDX
2026-04-04
1,976
NAM
KEN
Namibia
Kenya
60
0
0
0
0
0
0
HDX
2026-04-04
2,022
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
234
1,194
0
0
0
0
0
HDX
2026-04-04
2,023
NAM
CAN
Namibia
Canada
44
72
0
0
0
0
0
HDX
2026-04-04
1,984
NAM
SLE
Namibia
Sierra Leone
180
0
0
0
0
0
0
HDX
2026-04-04
2,014
NAM
BWA
Namibia
Botswana
978
7
0
0
0
0
0
HDX
2026-04-04
1,972
NAM
ZMB
Namibia
Zambia
900
0
0
0
0
0
0
HDX
2026-04-04
2,015
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
14
29
0
0
0
0
0
HDX
2026-04-04
2,023
NAM
BWA
Namibia
Botswana
5
0
0
0
0
0
0
HDX
2026-04-04
1,987
NAM
NGA
Namibia
Nigeria
120
0
0
0
0
0
0
HDX
2026-04-04
2,004
NAM
KEN
Namibia
Kenya
0
5
0
0
0
0
0
HDX
2026-04-04
2,021
NAM
CAN
Namibia
Canada
225
14
0
0
0
0
0
HDX
2026-04-04
2,004
NAM
USA
Namibia
United States of America
0
5
0
0
0
0
0
HDX
2026-04-04
2,005
NAM
CAN
Namibia
Canada
5
11
0
0
0
0
0
HDX
2026-04-04
2,014
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
7
22
0
0
0
0
0
HDX
2026-04-04
2,006
NAM
USA
Namibia
United States of America
5
0
0
0
0
0
0
HDX
2026-04-04
1,989
NAM
DZA
Namibia
Algeria
0
0
0
0
0
0
0
HDX
2026-04-04
1,986
NAM
GHA
Namibia
Ghana
50
0
0
0
0
0
0
HDX
2026-04-04
2,014
NAM
BRA
Namibia
Brazil
0
5
0
0
0
0
0
HDX
2026-04-04
1,989
NAM
ITA
Namibia
Italy
6
0
0
0
0
0
0
HDX
2026-04-04
2,018
NAM
ITA
Namibia
Italy
5
0
0
0
0
0
0
HDX
2026-04-04
1,989
NAM
KEN
Namibia
Kenya
0
0
0
0
0
0
0
HDX
2026-04-04
2,007
NAM
BWA
Namibia
Botswana
1,092
0
0
0
0
0
0
HDX
2026-04-04
1,986
NAM
CMR
Namibia
Cameroon
100
0
0
0
0
0
0
HDX
2026-04-04
1,976
NAM
NGA
Namibia
Nigeria
50
0
0
0
0
0
0
HDX
2026-04-04
1,979
NAM
ZMB
Namibia
Zambia
5,500
0
0
0
0
0
0
HDX
2026-04-04
2,001
NAM
DNK
Namibia
Denmark
7
0
0
0
0
0
0
HDX
2026-04-04
1,993
NAM
ZWE
Namibia
Zimbabwe
9
0
0
0
0
0
0
HDX
2026-04-04
1,986
NAM
BWA
Namibia
Botswana
60
0
0
0
0
0
0
HDX
2026-04-04
2,023
NAM
CRI
Namibia
Costa Rica
0
5
0
0
0
0
0
HDX
2026-04-04
2,016
NAM
CAN
Namibia
Canada
358
59
0
0
0
0
0
HDX
2026-04-04
1,994
NAM
ITA
Namibia
Italy
5
0
0
0
0
0
0
HDX
2026-04-04
2,002
NAM
BWA
Namibia
Botswana
1,237
166
0
0
0
0
0
HDX
2026-04-04
2,008
NAM
CAN
Namibia
Canada
20
23
0
0
0
0
0
HDX
2026-04-04
1,988
NAM
GHA
Namibia
Ghana
50
0
0
0
0
0
0
HDX
2026-04-04
2,022
NAM
CAN
Namibia
Canada
25
78
0
0
0
0
0
HDX
2026-04-04
2,022
NAM
BWA
Namibia
Botswana
5
0
0
0
0
0
0
HDX
2026-04-04
2,022
NAM
CRI
Namibia
Costa Rica
0
5
0
0
0
0
0
HDX
2026-04-04
2,003
NAM
USA
Namibia
United States of America
0
5
0
0
0
0
0
HDX
2026-04-04
2,018
NAM
DEU
Namibia
Germany
0
16
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
MEX
Namibia
Mexico
0
5
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
FRA
Namibia
France
5
0
0
0
0
0
0
HDX
2026-04-04
2,005
NAM
BWA
Namibia
Botswana
1,189
19
0
0
0
0
0
HDX
2026-04-04
2,015
NAM
ITA
Namibia
Italy
5
0
0
0
0
0
0
HDX
2026-04-04
1,995
NAM
CUB
Namibia
Cuba
5
0
0
0
0
0
0
HDX
2026-04-04
1,980
NAM
AGO
Namibia
Angola
50,000
0
0
0
0
0
0
HDX
2026-04-04
2,024
NAM
GBR
Namibia
United Kingdom of Great Britain and Northern Ireland
493
522
0
0
0
0
0
HDX
2026-04-04
2,016
NAM
ZAF
Namibia
South Africa
5
0
0
0
0
0
0
HDX
2026-04-04
2,006
NAM
DNK
Namibia
Denmark
7
0
0
0
0
0
0
HDX
2026-04-04
1,992
NAM
ITA
Namibia
Italy
6
0
0
0
0
0
0
HDX
2026-04-04
2,021
NAM
BRA
Namibia
Brazil
0
41
0
0
0
0
0
HDX
2026-04-04
End of preview. Expand in Data Studio

Namibia - 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: NAM.

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) 343
Columns 14 (8 numeric, 6 categorical, 0 datetime)
Train split 274 rows
Test split 68 rows
Geographic scope NAM
Publisher UNHCR - The UN Refugee Agency
HDX last updated 2026-02-25

Variables

Geographicyear (range 1966.0–2025.0), country_of_origin_code (NAM), country_of_asylum_code (BWA, ZMB, USA), country_of_origin_name (Namibia), country_of_asylum_name (Botswana, Zambia, United States of America) and 4 others.

Identifier / Metadatarefugees (range 0.0–70010.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–45.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unhcr-population-data-for-nam")
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% 1966.0 – 2025.0 (mean 2002.6501)
country_of_origin_code object 0.0% NAM
country_of_asylum_code object 0.0% BWA, ZMB, USA
country_of_origin_name object 0.0% Namibia
country_of_asylum_name object 0.0% Botswana, Zambia, United States of America
refugees int64 0.0% 0.0 – 70010.0 (mean 2373.5277)
asylum_seekers int64 0.0% 0.0 – 1276.0 (mean 31.9125)
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 – 0.0 (mean 0.0)
stateless_persons int64 0.0% 0.0 – 0.0 (mean 0.0)
others_of_concern_to_unhcr int64 0.0% 0.0 – 45.0 (mean 0.8309)
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 1966.0 2025.0 2002.6501 2005.0
refugees 0.0 70010.0 2373.5277 17.0
asylum_seekers 0.0 1276.0 31.9125 0.0
other_people_in_need_of_international_protection 0.0 0.0 0.0 0.0
internally_displaced_persons 0.0 0.0 0.0 0.0
stateless_persons 0.0 0.0 0.0 0.0
others_of_concern_to_unhcr 0.0 45.0 0.8309 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_nam,
  title     = {Namibia - 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-nam},
  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
17

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