Dataset Viewer
Auto-converted to Parquet Duplicate
iso3
stringclasses
1 value
country_name
stringclasses
1 value
year
int64
2.01k
2.02k
start_date
timestamp[ns]date
2010-01-01 00:00:00
2024-12-28 00:00:00
start_date_accuracy
stringclasses
4 values
end_date
timestamp[ns]date
2013-01-01 00:00:00
2024-12-28 00:00:00
end_date_accuracy
stringclasses
4 values
event_name
stringlengths
13
69
hazard_category
int64
2
2
hazard_category_name
stringclasses
1 value
hazard_sub_category
int64
2
4
hazard_sub_category_name
stringclasses
3 values
hazard_type
int64
9
14
hazard_type_name
stringclasses
3 values
hazard_sub_type
int64
11
21
new_displacement
int64
1
60k
new_displacement_rounded
int64
1
60k
total_displacement
float64
8
1.06k
total_displacement_rounded
float64
8
1.1k
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-12 00:00:00
2026-04-12 00:00:00
NAM
Namibia
2,018
2018-04-12T00:00:00
Day
2018-04-16T00:00:00
Week
Namibia: Flood - 5 regions - 12/04/2018
2
Weather related
3
Hydrological
10
Flood
13
10
10
null
null
HDX
2026-04-12
NAM
Namibia
2,010
2010-01-01T00:00:00
Month
null
null
Namibia: Flood - 01/01/2010
2
Weather related
3
Hydrological
10
Flood
13
11,000
11,000
null
null
HDX
2026-04-12
NAM
Namibia
2,018
2018-04-18T00:00:00
Week
2018-04-19T00:00:00
Week
Namibia: Flood: Windhoek - 18/04/2018
2
Weather related
3
Hydrological
10
Flood
13
1
1
null
null
HDX
2026-04-12
NAM
Namibia
2,014
2014-03-01T00:00:00
Day
2014-03-01T00:00:00
Month
River kunene overflowing
2
Weather related
3
Hydrological
10
Flood
13
100
100
null
null
HDX
2026-04-12
NAM
Namibia
2,011
2011-01-01T00:00:00
Month
null
null
Namibia: Flood - 01/01/2011
2
Weather related
3
Hydrological
10
Flood
13
60,000
60,000
null
null
HDX
2026-04-12
NAM
Namibia
2,018
2018-03-12T00:00:00
Day
2018-03-13T00:00:00
Day
Namibia: Flood - north-east - 12/03/2018
2
Weather related
3
Hydrological
10
Flood
13
2
2
null
null
HDX
2026-04-12
NAM
Namibia
2,024
2024-09-11T00:00:00
Day
2024-09-11T00:00:00
Day
Namibia: Wildfire - IIKaras (Aussencker) - 11/09/2024
2
Weather related
2
Climatological
9
Wildfire
11
305
300
305
300
HDX
2026-04-12
NAM
Namibia
2,012
2012-01-01T00:00:00
Month
null
null
Namibia: Flood - 01/01/2012
2
Weather related
3
Hydrological
10
Flood
13
400
400
null
null
HDX
2026-04-12
NAM
Namibia
2,013
2013-01-03T00:00:00
Day
2013-01-01T00:00:00
Month
Caprivi region flood
2
Weather related
3
Hydrological
10
Flood
13
17,915
18,000
null
null
HDX
2026-04-12
NAM
Namibia
2,023
2023-01-31T00:00:00
Day
2023-01-31T00:00:00
Day
Namibia: Storm - Karas (Aroab) - 31/01/2023
2
Weather related
4
Meteorological
14
Storm
21
8
8
8
8
HDX
2026-04-12
NAM
Namibia
2,021
2021-01-01T00:00:00
Day
2021-01-14T00:00:00
Day
Namibia: Floods - Khomas, Karas - 01/01/2021
2
Weather related
3
Hydrological
10
Flood
13
255
260
null
null
HDX
2026-04-12
NAM
Namibia
2,024
2024-11-27T00:00:00
Day
2024-11-27T00:00:00
Day
Namibia: Storm - Kavango West (Katwitwi) - 27/11/2024
2
Weather related
4
Meteorological
14
Storm
21
34
34
34
34
HDX
2026-04-12
NAM
Namibia
2,024
2024-12-28T00:00:00
Day
2024-12-28T00:00:00
Day
Namibia: Flood - Oshana (Oshakati) - 28/12/2024
2
Weather related
3
Hydrological
10
Flood
13
8
8
null
null
HDX
2026-04-12
NAM
Namibia
2,015
2015-01-01T00:00:00
Year
2015-01-01T00:00:00
Year
Floods in omusati region and karas region
2
Weather related
3
Hydrological
10
Flood
13
8
8
null
null
HDX
2026-04-12
NAM
Namibia
2,017
2017-12-18T00:00:00
Day
2017-12-18T00:00:00
Day
Namibia: Storm - Kavango-East - 18/12/2017
2
Weather related
4
Meteorological
14
Storm
21
2
2
null
null
HDX
2026-04-12
NAM
Namibia
2,019
2019-12-05T00:00:00
Week
2019-12-05T00:00:00
Week
Namibia: Flash floods: Oshana (Oshakati) - 05/12/2019
2
Weather related
3
Hydrological
10
Flood
13
2
2
null
null
HDX
2026-04-12
NAM
Namibia
2,024
2024-02-10T00:00:00
Day
2024-02-11T00:00:00
Day
Namibia: Storm - Ohangwena (Endola), Oshikoto (likokola) - 10/02/2024
2
Weather related
4
Meteorological
14
Storm
21
1,060
1,100
1,060
1,100
HDX
2026-04-12
NAM
Namibia
2,014
2014-03-01T00:00:00
Month
2014-03-01T00:00:00
Month
Zambezi flood
2
Weather related
3
Hydrological
10
Flood
13
63
63
null
null
HDX
2026-04-12

Namibia - 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. Temporal coverage is indicated by the start_date, end_date column(s). Geographic scope: NAM.

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


Dataset Characteristics

Domain Conflict and security
Unit of observation Country-level aggregates
Rows (total) 23
Columns 21 (9 numeric, 10 categorical, 2 datetime)
Train split 18 rows
Test split 4 rows
Geographic scope NAM
Publisher Internal Displacement Monitoring Centre (IDMC)
HDX last updated 2026-03-18

Variables

Geographiciso3 (NAM), country_name (Namibia), year (range 2009.0–2024.0), start_date_accuracy (Day, Month, Week), end_date_accuracy (Day, Week, Month) and 11 others.

Temporalstart_date, end_date.

Identifier / Metadataevent_name (Namibia: Flood - 01/01/2009, Namibia: Flood - 5 regions - 12/04/2018, Namibia: Storm - Kavango West (Katwitwi) - 27/11/2024), esa_source (HDX), esa_processed (2026-04-12).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-idmc-idp-data-nam")
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% NAM
country_name object 0.0% Namibia
year int64 0.0% 2009.0 – 2024.0 (mean 2017.6087)
start_date datetime64[ns] 0.0%
start_date_accuracy object 0.0% Day, Month, Week
end_date datetime64[ns] 17.4%
end_date_accuracy object 17.4% Day, Week, Month
event_name object 0.0% Namibia: Flood - 01/01/2009, Namibia: Flood - 5 regions - 12/04/2018, Namibia: Storm - Kavango West (Katwitwi) - 27/11/2024
hazard_category int64 0.0% 2.0 – 2.0 (mean 2.0)
hazard_category_name object 0.0% Weather related
hazard_sub_category int64 0.0% 2.0 – 4.0 (mean 3.1739)
hazard_sub_category_name object 0.0% Hydrological, Meteorological, Climatological
hazard_type int64 0.0% 9.0 – 14.0 (mean 10.8261)
hazard_type_name object 0.0% Flood, Storm, Wildfire
hazard_sub_type int64 0.0% 11.0 – 21.0 (mean 14.5652)
new_displacement int64 0.0% 1.0 – 60000.0 (mean 6517.1739)
new_displacement_rounded int64 0.0% 1.0 – 60000.0 (mean 6539.3913)
total_displacement float64 78.3% 8.0 – 1060.0 (mean 391.8)
total_displacement_rounded float64 78.3% 8.0 – 1100.0 (mean 398.4)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-12

Numeric Summary

Column Min Max Mean Median
year 2009.0 2024.0 2017.6087 2018.0
hazard_category 2.0 2.0 2.0 2.0
hazard_sub_category 2.0 4.0 3.1739 3.0
hazard_type 9.0 14.0 10.8261 10.0
hazard_sub_type 11.0 21.0 14.5652 13.0
new_displacement 1.0 60000.0 6517.1739 100.0
new_displacement_rounded 1.0 60000.0 6539.3913 100.0
total_displacement 8.0 1060.0 391.8 305.0
total_displacement_rounded 8.0 1100.0 398.4 300.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. 2 column(s) with >80% missing values were removed: hazard_subtype_name, event_codes. 2 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). 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_nam,
  title     = {Namibia - Internal Displacements (New Displacements) – IDPs},
  author    = {Internal Displacement Monitoring Centre (IDMC)},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/idmc-idp-data-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
35

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