CoolFace
Datasetpublic

electricsheepasia/asia-displacement-sri-lanka-iom-dtm-from-api

Sri Lanka IOM Displacement Tracking Matrix (DTM) from API Publisher: International Organization for Migration (IOM) · Source: HDX · License: hdx-other · Updated: 2026-05-04 Abstract This dataset comes from the International Organization for Migration (IOM)'s displacement tracking matrix (DTM) publicly accessible API. This API allows the humanitarian community, academia, media, government, and non-governmental organizations to utilize the data collected by DTM.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepasia/asia-displacement-sri-lanka-iom-dtm-from-api.

sourceHugging Faceotherupdated 5mo agoView on Hugging Face
0likes13downloads
Dataset Card

Sri Lanka IOM Displacement Tracking Matrix (DTM) from API

Publisher: International Organization for Migration (IOM) · Source: HDX · License: hdx-other · Updated: 2026-05-04


Abstract

This dataset comes from the International Organization for Migration (IOM)'s displacement tracking matrix (DTM) publicly accessible API. This API allows the humanitarian community, academia, media, government, and non-governmental organizations to utilize the data collected by DTM. The DTM API only provides non-sensitive IDP figures, aggregated at the country, Admin 1 (states, provinces, or equivalent), and Admin 2 (smaller subnational administrative areas) levels. For more detailed information, please see the country-specific DTM datasets on HDX.

Each row in this dataset represents subnational administrative unit observations. Temporal coverage is indicated by the reportingdate column(s). Geographic scope: LKA.

Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).


Dataset Characteristics

DomainConflict and security
Unit of observationSubnational administrative unit observations
Rows (total)129
Columns21 (6 numeric, 14 categorical, 1 datetime)
Train split103 rows
Test split25 rows
Geographic scopeLKA
PublisherInternational Organization for Migration (IOM)
HDX last updated2026-05-04

Variables

Geographic — admin0name (Sri Lanka, Sri lanka), admin0pcode (LKA), admin1name (Northern, Sabaragamuwa, Central), admin1pcode (LK4, LK9, LK2), admin2name (Ratnapura, Trincomalee, Puttalam) and 7 others.

Temporal — reportingdate, monthreportingdate (range 7.0–12.0).

Outcome / Measurement — roundnumber (range 1.0–4.0).

Identifier / Metadata — id (range 1489.0–145473.0), numpresentidpind (range 4.0–286377.0), esa_source, esa_processed.

Other — operation (Tropical Cyclone Ditwah, Sri Lanka Floods (2017)), operationstatus.


Quick Start

python
from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/asia-displacement-sri-lanka-iom-dtm-from-api")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

ColumnTypeNull %Range / Sample Values
idfloat644.7%1489.0 – 145473.0 (mean 51983.5854)
operationobject0.0%Tropical Cyclone Ditwah, Sri Lanka Floods (2017)
admin0nameobject0.0%Sri Lanka, Sri lanka
admin0pcodeobject0.0%LKA
admin1nameobject4.7%Northern, Sabaragamuwa, Central
admin1pcodeobject4.7%LK4, LK9, LK2
admin2nameobject34.1%Ratnapura, Trincomalee, Puttalam
admin2pcodeobject34.1%LK91, LK53, LK62
adminlevelint640.0%0.0 – 2.0 (mean 1.6124)
numpresentidpindint640.0%4.0 – 286377.0 (mean 24157.9302)
reportingdatedatetime64[ns]0.0%
yearreportingdateint640.0%2017.0 – 2025.0 (mean 2024.5039)
monthreportingdateint640.0%7.0 – 12.0 (mean 11.7597)
roundnumberint640.0%1.0 – 4.0 (mean 2.2868)
displacementreasonobject0.0%Natural disaster
idporiginadmin1nameobject0.0%Not available
idporiginadmin1pcodeobject0.0%Not available
assessmenttypeobject0.0%
operationstatusobject0.0%
esa_sourceobject0.0%
esa_processedobject0.0%

Numeric Summary

ColumnMinMaxMeanMedian
id1489.0145473.051983.585442725.0
adminlevel0.02.01.61242.0
numpresentidpind4.0286377.024157.93022323.0
yearreportingdate2017.02025.02024.50392025.0
monthreportingdate7.012.011.759712.0
roundnumber1.04.02.28682.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: numbermales, numberfemales. 1 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 International Organization for Migration (IOM) 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: admin2name, admin2pcode.
  • —Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

bibtex
@dataset{hdx_asia_displacement_sri_lanka_iom_dtm_from_api,
  title     = {Sri Lanka IOM Displacement Tracking Matrix (DTM) from API},
  author    = {International Organization for Migration (IOM)},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/lka-iom-dtm-from-api},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.