Add README.md
Browse files
README.md
CHANGED
|
@@ -1,62 +1,168 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: id
|
| 5 |
-
dtype: float64
|
| 6 |
-
- name: operation
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: admin0name
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: admin0pcode
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: admin1name
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: admin1pcode
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: admin2name
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: admin2pcode
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: adminlevel
|
| 21 |
-
dtype: int64
|
| 22 |
-
- name: numpresentidpind
|
| 23 |
-
dtype: int64
|
| 24 |
-
- name: reportingdate
|
| 25 |
-
dtype: timestamp[ns]
|
| 26 |
-
- name: yearreportingdate
|
| 27 |
-
dtype: int64
|
| 28 |
-
- name: monthreportingdate
|
| 29 |
-
dtype: int64
|
| 30 |
-
- name: roundnumber
|
| 31 |
-
dtype: int64
|
| 32 |
-
- name: displacementreason
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: idporiginadmin1name
|
| 35 |
-
dtype: string
|
| 36 |
-
- name: idporiginadmin1pcode
|
| 37 |
-
dtype: string
|
| 38 |
-
- name: assessmenttype
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: operationstatus
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: esa_source
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: esa_processed
|
| 45 |
-
dtype: string
|
| 46 |
splits:
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
num_bytes: 3697
|
| 52 |
-
num_examples: 15
|
| 53 |
-
download_size: 20945
|
| 54 |
-
dataset_size: 18102
|
| 55 |
-
configs:
|
| 56 |
-
- config_name: default
|
| 57 |
-
data_files:
|
| 58 |
-
- split: train
|
| 59 |
-
path: data/train-*
|
| 60 |
-
- split: test
|
| 61 |
-
path: data/test-*
|
| 62 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: other
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
- other
|
| 18 |
+
task_ids: []
|
| 19 |
+
tags:
|
| 20 |
+
- africa
|
| 21 |
+
- humanitarian
|
| 22 |
+
- hdx
|
| 23 |
+
- electric-sheep-africa
|
| 24 |
+
- conflict-violence
|
| 25 |
+
- displacement
|
| 26 |
+
- forced-displacement
|
| 27 |
+
- internally-displaced-persons-idp
|
| 28 |
+
- bgd
|
| 29 |
+
pretty_name: "Bangladesh IOM Displacement Tracking Matrix (DTM) from API"
|
| 30 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
splits:
|
| 32 |
+
- name: train
|
| 33 |
+
num_examples: 58
|
| 34 |
+
- name: test
|
| 35 |
+
num_examples: 14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
---
|
| 37 |
+
|
| 38 |
+
# Bangladesh IOM Displacement Tracking Matrix (DTM) from API
|
| 39 |
+
|
| 40 |
+
**Publisher:** International Organization for Migration (IOM) · **Source:** [HDX](https://data.humdata.org/dataset/bgd-iom-dtm-from-api) · **License:** `hdx-other` · **Updated:** 2026-05-04
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## Abstract
|
| 45 |
+
|
| 46 |
+
This dataset comes from the International Organization for Migration (IOM)'s displacement tracking matrix (DTM) [publicly accessible API](https://dtm.iom.int/data-and-analysis/dtm-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](https://data.humdata.org/dataset/?dataseries_name=IOM%20-%20DTM%20Baseline%20Assessment&dataseries_name=IOM%20-%20DTM%20Event%20and%20Flow%20Tracking&dataseries_name=IOM%20-%20DTM%20Site%20and%20Location%20Assessment&organization=international-organization-for-migration&q=&sort=last_modified%20desc&ext_page_size=25).
|
| 47 |
+
|
| 48 |
+
Each row in this dataset represents subnational administrative unit observations. Temporal coverage is indicated by the `reportingdate` column(s). Geographic scope: **BGD**.
|
| 49 |
+
|
| 50 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Dataset Characteristics
|
| 55 |
+
|
| 56 |
+
| | |
|
| 57 |
+
|---|---|
|
| 58 |
+
| **Domain** | Conflict and security |
|
| 59 |
+
| **Unit of observation** | Subnational administrative unit observations |
|
| 60 |
+
| **Rows (total)** | 73 |
|
| 61 |
+
| **Columns** | 21 (6 numeric, 14 categorical, 1 datetime) |
|
| 62 |
+
| **Train split** | 58 rows |
|
| 63 |
+
| **Test split** | 14 rows |
|
| 64 |
+
| **Geographic scope** | BGD |
|
| 65 |
+
| **Publisher** | International Organization for Migration (IOM) |
|
| 66 |
+
| **HDX last updated** | 2026-05-04 |
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## Variables
|
| 71 |
+
|
| 72 |
+
**Geographic** — `admin0name` (Bangladesh), `admin0pcode` (BGD), `admin1name` (Dhaka, Chittagong, Khulna), `admin1pcode` (BD30, BD20, BD40), `admin2name` (Rajbari, Rangpur, Kurigram) and 7 others.
|
| 73 |
+
|
| 74 |
+
**Temporal** — `reportingdate`, `monthreportingdate` (range 10.0–10.0).
|
| 75 |
+
|
| 76 |
+
**Outcome / Measurement** — `roundnumber` (range 1.0–1.0).
|
| 77 |
+
|
| 78 |
+
**Identifier / Metadata** — `id` (range 360.0–136356.0), `numpresentidpind` (range 1121.0–4955527.0), `esa_source`, `esa_processed`.
|
| 79 |
+
|
| 80 |
+
**Other** — `operation` (Mobility Monitoring due to Disasters), `operationstatus`.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## Quick Start
|
| 85 |
+
|
| 86 |
+
```python
|
| 87 |
+
from datasets import load_dataset
|
| 88 |
+
|
| 89 |
+
ds = load_dataset("electricsheepafrica/asia-displacement-bangladesh-iom-dtm-from-api")
|
| 90 |
+
train = ds["train"].to_pandas()
|
| 91 |
+
test = ds["test"].to_pandas()
|
| 92 |
+
|
| 93 |
+
print(train.shape)
|
| 94 |
+
train.head()
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
## Schema
|
| 100 |
+
|
| 101 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 102 |
+
|---|---|---|---|
|
| 103 |
+
| `id` | float64 | 1.4% | 360.0 – 136356.0 (mean 59232.5) |
|
| 104 |
+
| `operation` | object | 0.0% | Mobility Monitoring due to Disasters |
|
| 105 |
+
| `admin0name` | object | 0.0% | Bangladesh |
|
| 106 |
+
| `admin0pcode` | object | 0.0% | BGD |
|
| 107 |
+
| `admin1name` | object | 1.4% | Dhaka, Chittagong, Khulna |
|
| 108 |
+
| `admin1pcode` | object | 1.4% | BD30, BD20, BD40 |
|
| 109 |
+
| `admin2name` | object | 12.3% | Rajbari, Rangpur, Kurigram |
|
| 110 |
+
| `admin2pcode` | object | 12.3% | BD3082, BD5585, BD5549 |
|
| 111 |
+
| `adminlevel` | int64 | 0.0% | 0.0 – 2.0 (mean 1.863) |
|
| 112 |
+
| `numpresentidpind` | int64 | 0.0% | 1121.0 – 4955527.0 (mean 203651.7945) |
|
| 113 |
+
| `reportingdate` | datetime64[ns] | 0.0% | |
|
| 114 |
+
| `yearreportingdate` | int64 | 0.0% | 2025.0 – 2025.0 (mean 2025.0) |
|
| 115 |
+
| `monthreportingdate` | int64 | 0.0% | 10.0 – 10.0 (mean 10.0) |
|
| 116 |
+
| `roundnumber` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
|
| 117 |
+
| `displacementreason` | object | 0.0% | Natural disaster |
|
| 118 |
+
| `idporiginadmin1name` | object | 0.0% | Not available |
|
| 119 |
+
| `idporiginadmin1pcode` | object | 0.0% | Not available |
|
| 120 |
+
| `assessmenttype` | object | 0.0% | |
|
| 121 |
+
| `operationstatus` | object | 0.0% | |
|
| 122 |
+
| `esa_source` | object | 0.0% | |
|
| 123 |
+
| `esa_processed` | object | 0.0% | |
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
+
|
| 127 |
+
## Numeric Summary
|
| 128 |
+
|
| 129 |
+
| Column | Min | Max | Mean | Median |
|
| 130 |
+
|---|---|---|---|---|
|
| 131 |
+
| `id` | 360.0 | 136356.0 | 59232.5 | 56194.0 |
|
| 132 |
+
| `adminlevel` | 0.0 | 2.0 | 1.863 | 2.0 |
|
| 133 |
+
| `numpresentidpind` | 1121.0 | 4955527.0 | 203651.7945 | 60003.0 |
|
| 134 |
+
| `yearreportingdate` | 2025.0 | 2025.0 | 2025.0 | 2025.0 |
|
| 135 |
+
| `monthreportingdate` | 10.0 | 10.0 | 10.0 | 10.0 |
|
| 136 |
+
| `roundnumber` | 1.0 | 1.0 | 1.0 | 1.0 |
|
| 137 |
+
|
| 138 |
+
---
|
| 139 |
+
|
| 140 |
+
## Curation
|
| 141 |
+
|
| 142 |
+
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.
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## Limitations
|
| 147 |
+
|
| 148 |
+
- Data originates from International Organization for Migration (IOM) and has not been independently validated by ESA.
|
| 149 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 150 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/bgd-iom-dtm-from-api) for the publisher's own methodology notes and caveats.
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
## Citation
|
| 155 |
+
|
| 156 |
+
```bibtex
|
| 157 |
+
@dataset{hdx_asia_displacement_bangladesh_iom_dtm_from_api,
|
| 158 |
+
title = {Bangladesh IOM Displacement Tracking Matrix (DTM) from API},
|
| 159 |
+
author = {International Organization for Migration (IOM)},
|
| 160 |
+
year = {2026},
|
| 161 |
+
url = {https://data.humdata.org/dataset/bgd-iom-dtm-from-api},
|
| 162 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 163 |
+
}
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
---
|
| 167 |
+
|
| 168 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|