Datasets:
iso3 string | country_name string | year int64 | start_date timestamp[ns] | start_date_accuracy string | end_date timestamp[ns] | end_date_accuracy string | event_name string | hazard_category int64 | hazard_category_name string | hazard_sub_category int64 | hazard_sub_category_name string | hazard_type int64 | hazard_type_name string | hazard_sub_type int64 | new_displacement int64 | new_displacement_rounded int64 | total_displacement float64 | total_displacement_rounded float64 | esa_source string | esa_processed string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TZA | United Republic of Tanzania | 2,019 | 2019-10-21T00:00:00 | Week | 2019-10-29T00:00:00 | Week | Tanzania: Floods- Tanga- 21/10/2019 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 10 | 10 | 10 | 10 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,011 | 2011-01-01T00:00:00 | Month | null | null | Tanzania: Flood - 01/01/2011 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 10,000 | 10,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,023 | 2023-10-26T00:00:00 | Day | 2023-10-26T00:00:00 | Day | Tanzania: Storm - Rukwa (Kalambo) - 26/10/2023 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 150 | 150 | 146 | 150 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,017 | 2017-04-07T00:00:00 | Day | 2017-04-10T00:00:00 | Week | Tanzania: Flash flood - Musoma - 07/04/2017 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 150 | 150 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,014 | 2014-03-15T00:00:00 | Day | 2014-03-31T00:00:00 | Day | Arusha flood | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 1,000 | 1,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,014 | 2014-01-21T00:00:00 | Day | 2014-01-22T00:00:00 | Day | Dumila/dakawa flash floods | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 10,000 | 10,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,021 | 2021-01-01T00:00:00 | Day | 2021-02-28T00:00:00 | Day | Tanzania: Floods - Countrywide - January - February 2021 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 12,518 | 13,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,011 | 2011-01-01T00:00:00 | Month | null | null | Tanzania: Flood - 01/01/2011 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 12,000 | 12,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,021 | 2021-10-01T00:00:00 | Day | 2021-10-31T00:00:00 | Day | Tanzania: Storm - Rukwa - October 2021 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 100 | 100 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,017 | 2017-10-25T00:00:00 | Day | 2017-10-28T00:00:00 | Week | Tanzania: Floods - Dar Es Salaam - 25/10/2017 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 343 | 340 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,020 | 2020-01-27T00:00:00 | Day | 2020-03-08T00:00:00 | Week | Tanzania: Floods- Lindi (Kilwa, Ruangwa, Lindi, Liwale)- 27/01/2020 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 28,258 | 28,000 | 8,352 | 8,400 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,024 | 2024-12-07T00:00:00 | Day | 2024-12-08T00:00:00 | Day | Tanzania: Flood - Njombe (Makambako) - 07/12/2024 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 63 | 63 | 5 | 5 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-03-06T00:00:00 | Day | 2019-03-11T00:00:00 | Day | Tanzania: Hailstorm- Same- (Kilimanjaro Region)- 06/03/2019 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 19 | 445 | 440 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,024 | 2024-11-05T00:00:00 | Day | 2024-11-05T00:00:00 | Day | Tanzania: Flood - Geita (Geita) - 05/11/2024 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 10 | 10 | 10 | 10 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,016 | 2016-09-10T00:00:00 | Day | 2016-09-10T00:00:00 | Day | Tanzania: Earthquake - Kagera Region - 10/09/2016 | 1 | Geophysical | 1 | Geophysical | 1 | Earthquake | 1 | 10,153 | 10,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-03-21T00:00:00 | Day | 2019-03-21T00:00:00 | Day | Tanzania: Earthquake - Lake Rukwa - 21/03/2019 | 1 | Geophysical | 1 | Geophysical | 1 | Earthquake | 1 | 19 | 19 | 19 | 19 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,014 | 2014-04-05T00:00:00 | Day | 2014-04-12T00:00:00 | Day | Buboka flash flood | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 250 | 250 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-10-01T00:00:00 | Week | 2019-10-14T00:00:00 | Week | Tanzania: Floods- Tanga- 01/10/2019 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 1,435 | 1,400 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-03-08T00:00:00 | Day | 2019-03-08T00:00:00 | Day | Tanzania: Rainstorm- Morogoro (Morogoro Region)- 08/03/2019 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 1,081 | 1,100 | 1,081 | 1,100 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,017 | 2017-03-10T00:00:00 | Day | 2017-03-10T00:00:00 | Day | Tanzania: Storm - Lindi - 10/03/2017 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 1,225 | 1,200 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,018 | 2018-05-30T00:00:00 | Day | 2018-05-30T00:00:00 | Week | Tanzania: Flood - Marwa; Ruvu Mferejini; Ruvu Jiungeni; Kilimanjaro Region - 30/05/2018 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 12 | 5,700 | 5,700 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,024 | 2024-05-03T00:00:00 | Day | 2024-05-04T00:00:00 | Day | Tanzania: Tropical Cyclone Hidaya - Lindi, Mtwara, Pwani and Morogoro - 03/05/2024 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 24 | 5,922 | 5,900 | 3,288 | 3,300 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,015 | 2015-03-03T00:00:00 | Day | 2015-03-03T00:00:00 | Day | Shinyanga region hailstorm | 2 | Weather related | 4 | Meteorological | 14 | Storm | 19 | 3,500 | 3,500 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-12-26T00:00:00 | Week | 2019-12-30T00:00:00 | Week | Tanzania: Floods- Morongoro- 26/12/2019 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 957 | 960 | 239 | 240 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,024 | 2024-01-09T00:00:00 | Day | 2024-01-11T00:00:00 | Day | Tanzania: Landslide - Morogoro and Kilimanjaro - 09/01/2023 | 2 | Weather related | 3 | Hydrological | 11 | Mass Movement | 15 | 49 | 49 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,021 | 2021-04-24T00:00:00 | Day | 2021-04-26T00:00:00 | Day | Tanzania: Tropical Storm Jobo - 8 regions - 24/04/2021 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 24 | 30,005 | 30,000 | 938 | 940 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,020 | 2020-04-24T00:00:00 | Day | 2020-04-26T00:00:00 | Day | Tanzania: Floods- Arusha Region (Arumeru District)- 24/04/2020 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 239 | 240 | 239 | 240 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-05-08T00:00:00 | Day | 2019-05-23T00:00:00 | Week | Tanzania: Flood - Dar es Salaam - 08/05/2019 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 5,812 | 5,800 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,021 | 2021-12-01T00:00:00 | Day | 2021-12-31T00:00:00 | Day | Tanzania: Heavy Rains - Ruvuma - December 2021 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 636 | 640 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,008 | 2008-10-01T00:00:00 | Day | 2008-03-31T00:00:00 | Day | Tanzania: Flood - 01/10/2008 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 442 | 440 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,018 | 2018-01-17T00:00:00 | Day | 2018-01-17T00:00:00 | Day | Tanzania: Flood - Morogoro; Kilosa - 17/01/2018 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 6,300 | 6,300 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,009 | 2009-01-01T00:00:00 | Month | null | null | Tanzania: Flood - 01/01/2009 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 10,599 | 11,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,022 | 2022-02-01T00:00:00 | Day | 2022-02-28T00:00:00 | Day | Tanzania: Heavy Rains - Rukwa - February 2022 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 131 | 130 | 131 | 130 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,020 | 2020-09-28T00:00:00 | Day | 2020-09-29T00:00:00 | Day | Tanzania: Storm- Rukwa (Nkasi district)- 28/09/2020 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 81 | 81 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,020 | 2020-03-10T00:00:00 | Day | 2020-03-18T00:00:00 | Week | Tanzania: Flash flood - Pwani (Rufiji) - 10/03/2020 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 16,742 | 17,000 | 16,742 | 17,000 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,018 | 2018-05-06T00:00:00 | Day | 2018-05-08T00:00:00 | Day | Tanzania: Flood - Kilimanjaro - 06/05/2018 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 720 | 720 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,023 | 2023-04-01T00:00:00 | Week | 2023-04-08T00:00:00 | Week | Tanzania: Flood - Mtwara (Kivava, Angazo, Kilambona) - 01/04/2023 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 1,400 | 1,400 | 291 | 290 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,014 | 2014-04-11T00:00:00 | Day | 2014-04-15T00:00:00 | Day | Dar es salaam flood | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 2,000 | 2,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,018 | 2018-04-12T00:00:00 | Day | 2018-04-18T00:00:00 | Week | Tanzania: Flood - Dar es Salaam; Arusha; Zanzibar; Kilimanjaro; Tanga; Manyara; Tabora; Pwani; Mwanza; Morogoro; Dodoma; Mbeya; Rukwa; Mtwara; Shinyanga; Geita - 12/04/2018 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 11,242 | 11,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,017 | 2017-05-14T00:00:00 | Week | 2017-05-30T00:00:00 | Week | Tanzania: Storm - Tanga - May 2017 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 200 | 200 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,024 | 2024-12-23T00:00:00 | Day | 2024-12-23T00:00:00 | Day | Tanzania: Flood - Kilimanjaro (Same) - 23/12/2024 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 121 | 120 | 121 | 120 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,018 | 2018-01-09T00:00:00 | Day | 2018-01-11T00:00:00 | Day | Tanzania: Storm - Dodoma - 09/01/2018 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 2,563 | 2,600 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,014 | 2014-02-06T00:00:00 | Day | 2014-02-07T00:00:00 | Day | Tanga flash floods | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 400 | 400 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,021 | 2021-05-01T00:00:00 | Day | 2021-05-31T00:00:00 | Day | Tanzania: Floods - Rukwa Region - May 2021 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 3,348 | 3,300 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,016 | 2016-04-01T00:00:00 | Week | 2016-04-30T00:00:00 | Week | Floods in northeastern, southwestern and central regions | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 17,292 | 17,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,019 | 2019-04-23T00:00:00 | Day | 2019-04-29T00:00:00 | Day | Mozambique, Comoros, Tanzania, Mayotte: Cyclone Kenneth - 23/04/2019 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 24 | 1,000 | 1,000 | null | null | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,023 | 2023-10-15T00:00:00 | Week | 2023-12-11T00:00:00 | Day | Tanzania: Flood (El Niño) - 7 regions - 15/10/2023 | 2 | Weather related | 3 | Hydrological | 10 | Flood | 13 | 44,169 | 44,000 | 30,080 | 30,000 | HDX | 2026-04-12 |
TZA | United Republic of Tanzania | 2,020 | 2020-09-23T00:00:00 | Week | 2020-09-23T00:00:00 | Week | Tanzania: Storm- Mara Region (Tarime district)- 23/09/2020 | 2 | Weather related | 4 | Meteorological | 14 | Storm | 21 | 100 | 100 | 100 | 100 | HDX | 2026-04-12 |
United Republic of Tanzania - 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: TZA.
Curated into ML-ready Parquet format by Electric Sheep Africa.
Dataset Characteristics
| Domain | Conflict and security |
| Unit of observation | Country-level aggregates |
| Rows (total) | 60 |
| Columns | 21 (9 numeric, 10 categorical, 2 datetime) |
| Train split | 48 rows |
| Test split | 12 rows |
| Geographic scope | TZA |
| Publisher | Internal Displacement Monitoring Centre (IDMC) |
| HDX last updated | 2026-03-18 |
Variables
Geographic — iso3 (TZA), country_name (United Republic of Tanzania), year (range 2008.0–2024.0), start_date_accuracy (Day, Week, Month), end_date_accuracy (Day, Week, Month) and 11 others.
Temporal — start_date, end_date.
Identifier / Metadata — event_name (Tanzania: Flood - 01/01/2011, Tanzania: Flood - 17/03/2008, Tanzania: Heavy Rains/Strong Winds - Tanga - December 2021), esa_source (HDX), esa_processed (2026-04-12).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-idmc-idp-data-tza")
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% | TZA |
country_name |
object | 0.0% | United Republic of Tanzania |
year |
int64 | 0.0% | 2008.0 – 2024.0 (mean 2018.5) |
start_date |
datetime64[ns] | 0.0% | |
start_date_accuracy |
object | 0.0% | Day, Week, Month |
end_date |
datetime64[ns] | 6.7% | |
end_date_accuracy |
object | 6.7% | Day, Week, Month |
event_name |
object | 0.0% | Tanzania: Flood - 01/01/2011, Tanzania: Flood - 17/03/2008, Tanzania: Heavy Rains/Strong Winds - Tanga - December 2021 |
hazard_category |
int64 | 0.0% | 1.0 – 2.0 (mean 1.9667) |
hazard_category_name |
object | 0.0% | Weather related, Geophysical |
hazard_sub_category |
int64 | 0.0% | 1.0 – 4.0 (mean 3.2167) |
hazard_sub_category_name |
object | 0.0% | Hydrological, Meteorological, Geophysical |
hazard_type |
int64 | 0.0% | 1.0 – 14.0 (mean 10.85) |
hazard_type_name |
object | 0.0% | Flood, Storm, Earthquake |
hazard_sub_type |
int64 | 0.0% | 1.0 – 24.0 (mean 14.9667) |
new_displacement |
int64 | 0.0% | 10.0 – 85010.0 (mean 6363.8167) |
new_displacement_rounded |
int64 | 0.0% | 10.0 – 85000.0 (mean 6369.8667) |
total_displacement |
float64 | 65.0% | 5.0 – 71693.0 (mean 7067.7143) |
total_displacement_rounded |
float64 | 65.0% | 5.0 – 72000.0 (mean 7096.8571) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-12 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
year |
2008.0 | 2024.0 | 2018.5 | 2019.0 |
hazard_category |
1.0 | 2.0 | 1.9667 | 2.0 |
hazard_sub_category |
1.0 | 4.0 | 3.2167 | 3.0 |
hazard_type |
1.0 | 14.0 | 10.85 | 10.0 |
hazard_sub_type |
1.0 | 24.0 | 14.9667 | 13.0 |
new_displacement |
10.0 | 85010.0 | 6363.8167 | 1153.0 |
new_displacement_rounded |
10.0 | 85000.0 | 6369.8667 | 1150.0 |
total_displacement |
5.0 | 71693.0 | 7067.7143 | 291.0 |
total_displacement_rounded |
5.0 | 72000.0 | 7096.8571 | 290.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_tza,
title = {United Republic of Tanzania - Internal Displacements (New Displacements) – IDPs},
author = {Internal Displacement Monitoring Centre (IDMC)},
year = {2026},
url = {https://data.humdata.org/dataset/idmc-idp-data-tza},
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
- 74