Dataset Viewer
Auto-converted to Parquet Duplicate
iso3
stringclasses
1 value
country_name
stringclasses
1 value
year
int64
2.01k
2.02k
new_displacement
int64
63k
737k
new_displacement_rounded
int64
63k
737k
total_displacement
float64
1.7M
3.65M
total_displacement_rounded
float64
1.7M
3.65M
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-07 00:00:00
2026-04-07 00:00:00
NGA
Nigeria
2,022
148,348
148,000
3,645,757
3,646,000
HDX
2026-04-07
NGA
Nigeria
2,020
168,556
169,000
2,730,425
2,730,000
HDX
2026-04-07
NGA
Nigeria
2,017
279,427
279,000
1,702,095
1,702,000
HDX
2026-04-07
NGA
Nigeria
2,018
541,464
541,000
2,242,664
2,243,000
HDX
2026-04-07
NGA
Nigeria
2,011
65,000
65,000
null
null
HDX
2026-04-07
NGA
Nigeria
2,024
295,311
295,000
3,359,007
3,359,000
HDX
2026-04-07
NGA
Nigeria
2,013
470,500
470,000
3,300,000
3,300,000
HDX
2026-04-07
NGA
Nigeria
2,016
501,160
501,000
1,954,565
1,955,000
HDX
2026-04-07
NGA
Nigeria
2,019
247,713
248,000
2,582,615
2,583,000
HDX
2026-04-07
NGA
Nigeria
2,021
375,552
376,000
3,228,380
3,228,000
HDX
2026-04-07
NGA
Nigeria
2,012
63,000
63,000
null
null
HDX
2026-04-07
NGA
Nigeria
2,015
736,671
737,000
2,095,812
2,096,000
HDX
2026-04-07

Nigeria - Internal Displacements (New Displacements) – IDPs

Publisher: Internal Displacement Monitoring Centre (IDMC) · Source: HDX · License: cc-by-igo · Updated: 2026-03-18


Abstract

The Global Internal Displacement Database (GIDD), maintained by the Internal Displacement Monitoring Centre (IDMC), provides comprehensive, validated annual estimates of internal displacement worldwide. It defines internally displaced persons (IDPs) in line with the 1998 Guiding Principles, as people or groups of people who have been forced or obliged to flee or to leave their homes or places of habitual residence, in particular as a result of armed conflict, or to avoid the effects of armed conflict, situations of generalized violence, violations of human rights, or natural or human-made disasters and who have not crossed an international border.

The GIDD tracks two primary metrics: "People Displaced" or population "Stock" figures, which represent the total number of people living in displacement at year-end, and "New Displacement," which counts new displacement incidents (population Flows) rather than individual people, accounting for potential multiple displacements by the same person. This dataset serves as a crucial resource for understanding long-term trends and validated displacement figures globally. For further detailed information and complete API specifications, users are encouraged to consult the official documentation at https://www.internal-displacement.org/database/api-documentation/.

"Internally displaced persons - IDPs" refers to the number of people living in displacement as of the end of each year.

"Internal displacements (New Displacements)" refers to the number of new cases or incidents of displacement recorded, rather than the number of people displaced. This is done because people may have been displaced more than once.

Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-18. Geographic scope: NGA.

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


Dataset Characteristics

Domain Conflict and security
Unit of observation Country-level aggregates
Rows (total) 16
Columns 9 (5 numeric, 4 categorical, 0 datetime)
Train split 12 rows
Test split 3 rows
Geographic scope NGA
Publisher Internal Displacement Monitoring Centre (IDMC)
HDX last updated 2026-03-18

Variables

Geographiciso3 (NGA), country_name (Nigeria), year (range 2009.0–2024.0), new_displacement (range 5000.0–975300.0), new_displacement_rounded (range 5000.0–975000.0) and 2 others.

Identifier / Metadataesa_source (HDX), esa_processed (2026-04-07).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-idmc-idp-data-nga")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
iso3 object 0.0% NGA
country_name object 0.0% Nigeria
year int64 0.0% 2009.0 – 2024.0 (mean 2016.5)
new_displacement int64 0.0% 5000.0 – 975300.0 (mean 323050.0)
new_displacement_rounded int64 0.0% 5000.0 – 975000.0 (mean 323000.0)
total_displacement float64 25.0% 1075300.0 – 3645757.0 (mean 2604714.25)
total_displacement_rounded float64 25.0% 1075000.0 – 3646000.0 (mean 2604750.0)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-07

Numeric Summary

Column Min Max Mean Median
year 2009.0 2024.0 2016.5 2016.5
new_displacement 5000.0 975300.0 323050.0 285112.5
new_displacement_rounded 5000.0 975000.0 323000.0 285000.0
total_displacement 1075300.0 3645757.0 2604714.25 2656520.0
total_displacement_rounded 1075000.0 3646000.0 2604750.0 2656500.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 Internal Displacement Monitoring Centre (IDMC) and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • The following columns have >20% missing values and should be treated with caution in modelling: total_displacement, total_displacement_rounded.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_idmc_idp_data_nga,
  title     = {Nigeria - Internal Displacements (New Displacements) – IDPs},
  author    = {Internal Displacement Monitoring Centre (IDMC)},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/idmc-idp-data-nga},
  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

Collection including electricsheepafrica/africa-idmc-idp-data-nga