year int64 1.99k 2.03k | country_of_origin_code stringclasses 1
value | country_of_asylum_code stringclasses 8
values | country_of_origin_name stringclasses 1
value | country_of_asylum_name stringclasses 8
values | refugees int64 0 36 | asylum_seekers int64 0 25 | 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 0 | 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,022 | STP | USA | Sao Tome and Principe | United States of America | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,023 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 13 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,021 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 25 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,997 | STP | PRT | Sao Tome and Principe | Portugal | 10 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,019 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 24 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,015 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,017 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 23 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,006 | STP | GAB | Sao Tome and Principe | Gabon | 30 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,019 | STP | PRT | Sao Tome and Principe | Portugal | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,016 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 8 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,020 | STP | GAB | Sao Tome and Principe | Gabon | 23 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,015 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 10 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,002 | STP | GAB | Sao Tome and Principe | Gabon | 36 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,024 | STP | USA | Sao Tome and Principe | United States of America | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,018 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,996 | STP | AUS | Sao Tome and Principe | Australia | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,004 | STP | GAB | Sao Tome and Principe | Gabon | 36 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,016 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,998 | STP | GAB | Sao Tome and Principe | Gabon | 30 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,019 | STP | GAB | Sao Tome and Principe | Gabon | 23 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,997 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,023 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,025 | STP | ESP | Sao Tome and Principe | Spain | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,003 | STP | GAB | Sao Tome and Principe | Gabon | 36 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,014 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,013 | STP | GAB | Sao Tome and Principe | Gabon | 31 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,011 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,025 | STP | USA | Sao Tome and Principe | United States of America | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,000 | STP | GAB | Sao Tome and Principe | Gabon | 23 | 6 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,015 | STP | GAB | Sao Tome and Principe | Gabon | 19 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,025 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,021 | STP | GAB | Sao Tome and Principe | Gabon | 6 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,017 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,014 | STP | GAB | Sao Tome and Principe | Gabon | 19 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,019 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,022 | STP | GAB | Sao Tome and Principe | Gabon | 6 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,994 | STP | GAB | Sao Tome and Principe | Gabon | 28 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,008 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,995 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,024 | STP | DEU | Sao Tome and Principe | Germany | 0 | 10 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,018 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 25 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,016 | STP | GAB | Sao Tome and Principe | Gabon | 26 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,022 | STP | FRA | Sao Tome and Principe | France | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,010 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,023 | STP | USA | Sao Tome and Principe | United States of America | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
1,999 | STP | GAB | Sao Tome and Principe | Gabon | 29 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,009 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,005 | STP | GAB | Sao Tome and Principe | Gabon | 23 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,023 | STP | GAB | Sao Tome and Principe | Gabon | 6 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,017 | STP | GAB | Sao Tome and Principe | Gabon | 26 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,007 | STP | GAB | Sao Tome and Principe | Gabon | 32 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,024 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 5 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,002 | STP | DEU | Sao Tome and Principe | Germany | 5 | 0 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
2,022 | STP | BRA | Sao Tome and Principe | Brazil | 0 | 18 | 0 | 0 | 0 | 0 | 0 | HDX | 2026-04-04 |
Sao Tome and Principe - 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: STP.
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) | 68 |
| Columns | 14 (8 numeric, 6 categorical, 0 datetime) |
| Train split | 54 rows |
| Test split | 13 rows |
| Geographic scope | STP |
| Publisher | UNHCR - The UN Refugee Agency |
| HDX last updated | 2026-02-25 |
Variables
Geographic — year (range 1985.0–2025.0), country_of_origin_code (STP), country_of_asylum_code (GAB, BRA, FRA), country_of_origin_name (Sao Tome and Principe), country_of_asylum_name (Gabon, Brazil, France) and 4 others.
Identifier / Metadata — refugees (range 0.0–50.0), esa_source (HDX), esa_processed (2026-04-04).
Other — other_people_in_need_of_international_protection (range 0.0–0.0), others_of_concern_to_unhcr (range 0.0–0.0).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-unhcr-population-data-for-stp")
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% | 1985.0 – 2025.0 (mean 2012.7059) |
country_of_origin_code |
object | 0.0% | STP |
country_of_asylum_code |
object | 0.0% | GAB, BRA, FRA |
country_of_origin_name |
object | 0.0% | Sao Tome and Principe |
country_of_asylum_name |
object | 0.0% | Gabon, Brazil, France |
refugees |
int64 | 0.0% | 0.0 – 50.0 (mean 13.8529) |
asylum_seekers |
int64 | 0.0% | 0.0 – 25.0 (mean 3.6765) |
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 – 0.0 (mean 0.0) |
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 |
1985.0 | 2025.0 | 2012.7059 | 2016.0 |
refugees |
0.0 | 50.0 | 13.8529 | 6.0 |
asylum_seekers |
0.0 | 25.0 | 3.6765 | 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 | 0.0 | 0.0 | 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_stp,
title = {Sao Tome and Principe - 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-stp},
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