CollosaAI commited on
Commit
e5eaaaf
·
verified ·
1 Parent(s): e90b938

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - mali
16
+ - official-statistics
17
+ - open-data
18
+ - population
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: data/train-00000-of-00001.parquet
24
+ pretty_name: "Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM] | Africa (Mali official open data)"
25
+ ---
26
+
27
+ # Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM] | Africa (Mali official open data)
28
+
29
+ 98 rows - 1 Africa country - 2012-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
+
31
+ ![rows](https://img.shields.io/badge/rows-98-blue)
32
+ ![countries](https://img.shields.io/badge/countries-1-green)
33
+ ![years](https://img.shields.io/badge/years-2012-2021-orange)
34
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
35
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
36
+
37
+ ## TL;DR
38
+
39
+ This dataset packages one official `XLSX` resource from **Mali** as
40
+ ML-ready Parquet. The source file is the provenance boundary; all usable
41
+ indicators or tabular columns from the resource stay together in this repo.
42
+
43
+ ## About the source
44
+
45
+ - **Source:** [Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM]](https://data.humdata.org/dataset/mali-baseline-assessment-data-iom-dtm)
46
+ - **Publisher:** International Organization for Migration (IOM)
47
+ - **Resource:** [DTM Mali Baseline Assessment Round 73](https://data.humdata.org/dataset/ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b/resource/ff07cfc3-95da-48bf-b77f-b80a14741b3b/download/hdx-dtm_dataset_mali_r73.xlsx)
48
+ - **Format:** `XLSX`
49
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
50
+ - **Packaging mode:** `tabular_resource`
51
+
52
+ ## Geographic coverage
53
+
54
+ 1 Africa country:
55
+
56
+ | Country | Rows | First year | Last year | Name |
57
+ |---------|-----:|-----------:|----------:|------|
58
+ | `MLI` | 98 | 2012 | 2021 | `Mali` |
59
+
60
+ ## Indicators or Resource Contents
61
+
62
+ - This source file is packaged as a normalized tabular resource.
63
+
64
+ ## Schema
65
+
66
+ | Column | Type | Description | Example |
67
+ |--------|------|-------------|---------|
68
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `ff07cfc3-95da-48bf-b77f-b80a14741b3b:baseline:0` |
69
+ | `country_iso3` | `category` | ISO3 country code. | `MLI` |
70
+ | `country_name` | `category` | Country name. | `Mali` |
71
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Baseline` |
72
+ | `snapshot_date` | `string` | Source column. | `#date+reported` |
73
+ | `admin_0` | `string` | Source column. | `#country+name` |
74
+ | `admin_0_pcode` | `string` | Source column. | `#country+code` |
75
+ | `admin_1` | `string` | Source column. | `#adm1+name` |
76
+ | `admin_1_pcode` | `string` | Source column. | `#adm1+code` |
77
+ | `admin_2` | `string` | Source column. | `#adm2+name` |
78
+ | `admin_2_pcode` | `string` | Source column. | `#adm2+code` |
79
+ | `admin_3` | `string` | Source column. | `#adm3+name` |
80
+ | `admin_3_pcode` | `string` | Source column. | `#adm3+code` |
81
+ | `lowest_admin_level` | `string` | Source column. | `` |
82
+ | `total_no_of_idps_hh` | `float64` | Source column. | `` |
83
+ | `total_no_of_idps_ind` | `float64` | Source column. | `` |
84
+ | `num_ret_from_abroad_ind` | `float64` | Source column. | `` |
85
+ | `num_ret_from_abroad_hh` | `float64` | Source column. | `` |
86
+ | `num_ret_idp_hh` | `float64` | Source column. | `` |
87
+ | `num_ret_idp_ind` | `float64` | Source column. | `` |
88
+ | `total_no_of_returnees_hh` | `float64` | Source column. | `` |
89
+ | `total_no_of_returnees_ind` | `float64` | Source column. | `` |
90
+ | `country_of_origin_of_idp` | `string` | Source column. | `` |
91
+ | `admin_0_origin_majority_ret_from_abroad` | `string` | Source column. | `` |
92
+ | `admin_1_area_of_origin_of_idp` | `string` | Source column. | `` |
93
+ | `confidentiality` | `string` | Source column. | `` |
94
+ | `type_of_displacement` | `string` | Source column. | `` |
95
+ | `conflict` | `float64` | Source column. | `` |
96
+ | `insecurity` | `float64` | Source column. | `` |
97
+ | `natural_disaster` | `float64` | Source column. | `` |
98
+ | `political_reasons` | `float64` | Source column. | `` |
99
+ | `economic_reasons` | `float64` | Source column. | `` |
100
+ | `main_displacement_start_date` | `float64` | Source column. | `` |
101
+ | `updateddate` | `string` | Source column. | `` |
102
+ | `roundno` | `float64` | Source column. | `` |
103
+ | `returns` | `float64` | Source column. | `` |
104
+ | `migration_flows` | `float64` | Source column. | `` |
105
+ | `other_reason` | `float64` | Source column. | `` |
106
+ | `methodology` | `string` | Source column. | `` |
107
+ | `admin_0_pcode_origin_majority_ret_from_abroad` | `string` | Source column. | `` |
108
+ | `admin_1_pcode_origin_majority_present_idp` | `string` | Source column. | `` |
109
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2012` |
110
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
111
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2012-2021` |
112
+ | `source_provider` | `category` | Publishing organization. | `International Organization for Migration (IOM)` |
113
+ | `source_dataset` | `category` | Source package title. | `Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM]` |
114
+ | `source_resource` | `category` | Source resource title. | `DTM Mali Baseline Assessment Round 73` |
115
+ | `source_package_id` | `category` | CKAN package UUID. | `ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b` |
116
+ | `source_resource_id` | `category` | CKAN resource UUID. | `ff07cfc3-95da-48bf-b77f-b80a14741b3b` |
117
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b/re` |
118
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
119
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-12T23:12:09Z` |
120
+ | `column_name` | `string` | Source column. | `` |
121
+ | `description` | `string` | Source column. | `` |
122
+
123
+ ## Usage
124
+
125
+ ```python
126
+ from datasets import load_dataset
127
+
128
+ ds = load_dataset("electricsheepafrica/africa-mali-mali-displacement-idps-returnees-baseline-assessment-iom-d-f49d0bb1")
129
+ df = ds["train"].to_pandas()
130
+ print(df.head())
131
+ ```
132
+
133
+ ### Filter to one country
134
+
135
+ ```python
136
+ sample_country = df[df["country_iso3"] == "MLI"]
137
+ ```
138
+
139
+ ### Work with indicators
140
+
141
+ ```python
142
+ if "indicator_id" in df.columns:
143
+ print(df["indicator_id"].value_counts().head())
144
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
145
+ ```
146
+
147
+ ## Citation
148
+
149
+ ```bibtex
150
+ @misc{electric_sheep_africa_africa_mali_mali_displacement_idps_returnees_baseline_assessment_iom_d_f49d0bb1_2021,
151
+ title = {Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM] | Africa (Mali official open data)},
152
+ author = {International Organization for Migration (IOM)},
153
+ year = {2021},
154
+ url = {https://data.humdata.org/dataset/mali-baseline-assessment-data-iom-dtm},
155
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
156
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mali-mali-displacement-idps-returnees-baseline-assessment-iom-d-f49d0bb1}}
157
+ }
158
+ ```
159
+
160
+ ## License
161
+
162
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
163
+
164
+ Original data (c) International Organization for Migration (IOM). When using this dataset, please cite both the
165
+ original source above and the Electric Sheep Africa repackaging.
166
+
167
+ ## About Electric Sheep
168
+
169
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
170
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
171
+ open sources, normalize the schemas, package as Parquet, and publish with
172
+ consistent dataset cards so researchers and developers can use `load_dataset()`
173
+ to start working in seconds.
174
+
175
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
176
+
177
+ ---
178
+
179
+ Provenance: ingested 2026-08-13 via the Electric Sheep pipeline. Source URL:
180
+ https://data.humdata.org/dataset/ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b/resource/ff07cfc3-95da-48bf-b77f-b80a14741b3b/download/hdx-dtm_dataset_mali_r73.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10a74ad53f8c31ceadbb49c9cafeb5d1ac47f52e842d4165557e9616019f0006
3
+ size 42813
metadata/source_snapshot.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "snapshot_date",
8
+ "admin_0",
9
+ "admin_0_pcode",
10
+ "admin_1",
11
+ "admin_1_pcode",
12
+ "admin_2",
13
+ "admin_2_pcode",
14
+ "admin_3",
15
+ "admin_3_pcode",
16
+ "lowest_admin_level",
17
+ "total_no_of_idps_hh",
18
+ "total_no_of_idps_ind",
19
+ "num_ret_from_abroad_ind",
20
+ "num_ret_from_abroad_hh",
21
+ "num_ret_idp_hh",
22
+ "num_ret_idp_ind",
23
+ "total_no_of_returnees_hh",
24
+ "total_no_of_returnees_ind",
25
+ "country_of_origin_of_idp",
26
+ "admin_0_origin_majority_ret_from_abroad",
27
+ "admin_1_area_of_origin_of_idp",
28
+ "confidentiality",
29
+ "type_of_displacement",
30
+ "conflict",
31
+ "insecurity",
32
+ "natural_disaster",
33
+ "political_reasons",
34
+ "economic_reasons",
35
+ "main_displacement_start_date",
36
+ "updateddate",
37
+ "roundno",
38
+ "returns",
39
+ "migration_flows",
40
+ "other_reason",
41
+ "methodology",
42
+ "admin_0_pcode_origin_majority_ret_from_abroad",
43
+ "admin_1_pcode_origin_majority_present_idp",
44
+ "source_period_start_year",
45
+ "source_period_end_year",
46
+ "source_period_label",
47
+ "source_provider",
48
+ "source_dataset",
49
+ "source_resource",
50
+ "source_package_id",
51
+ "source_resource_id",
52
+ "source_url",
53
+ "license_id",
54
+ "retrieved_at",
55
+ "column_name",
56
+ "description"
57
+ ],
58
+ "generated_at": "2026-08-12T23:54:10Z",
59
+ "indicator_count": 0,
60
+ "mode": "tabular_resource",
61
+ "repo_id": "electricsheepafrica/africa-mali-mali-displacement-idps-returnees-baseline-assessment-iom-d-f49d0bb1",
62
+ "rows": 98,
63
+ "source": {
64
+ "api_base_url": "https://data.humdata.org/api/3/action",
65
+ "country_iso3": "MLI",
66
+ "country_name": "Mali",
67
+ "group_names": "mli",
68
+ "license_id": "cc-by",
69
+ "license_title": "Creative Commons Attribution International (CC BY)",
70
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
71
+ "organization_name": "international-organization-for-migration",
72
+ "organization_title": "International Organization for Migration (IOM)",
73
+ "package_id": "ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b",
74
+ "package_name": "mali-baseline-assessment-data-iom-dtm",
75
+ "package_notes": "The dataset contains IDPs, returnees at sub national level. The dataset also has reason of displacement, origin and dates of multiple displacements. The context of displacement in Mali remains complex and fluid. Movements of IDPs currently residing in the southern regions to the northern regions continue to be reported. While some have indicated that they have returned definitively, other IDPs say they travel back and forth between the place of travel and the place of origin.",
76
+ "package_page_url": "https://data.humdata.org/dataset/mali-baseline-assessment-data-iom-dtm",
77
+ "package_title": "Mali Displacement - [IDPs, Returnees] - Baseline Assessment [IOM DTM]",
78
+ "portal_url": "https://data.humdata.org",
79
+ "resource_description": "La crise sécuritaire que le Mali a connu en 2012 a provoqué d’importants déplacements de populations tant à l’intérieur du territoire que vers les pays limitrophes. Afin d’orienter la réponse humanitaire et de faciliter le retour et la réintégration des personnes déplacées internes (PDIs) et des réfugiés, la Direction Nationale du Développement Social (DNDS), fournit depuis décembre 2014 des informations à l’ensemble de la communauté humanitaire et aux pouvoirs publics afin de répondre aux besoins des populations déplacées, retournées et rapatriées au Mali. Les opérations de collecte et de mise à jour des données menées dans le cadre du programme DTM confirment la baisse du nombre de personnes déplacées au Mali. Le nombre de PDIs est en effet passé de 401 736 personnes (rapport CMP de septembre 2021) à 350 110 en décembre 2021. Ainsi entre septembre et décembre 2021, une baisse de 51 626 personnes déplacées (13%) a été constatée. Pendant que nous observions une tendance au retour, entre septembre et décembre 2021, des violences variées ont continué à être signalées dans les régions de Mopti, Ségou, Tombouctou et Gao. En effet, ces violences ont provoqué la fuite de populations de leurs villages et hameaux pour trouver refuge dans des localités des dites régions où la situation sécuritaire semble plus calme.",
80
+ "resource_format": "XLSX",
81
+ "resource_id": "ff07cfc3-95da-48bf-b77f-b80a14741b3b",
82
+ "resource_last_modified": "2022-06-14T07:55:40.587136",
83
+ "resource_name": "DTM Mali Baseline Assessment Round 73",
84
+ "resource_position": "10",
85
+ "resource_url": "https://data.humdata.org/dataset/ea41f7c7-2ebe-456b-b5eb-e3e0ac8d708b/resource/ff07cfc3-95da-48bf-b77f-b80a14741b3b/download/hdx-dtm_dataset_mali_r73.xlsx",
86
+ "tag_names": "affected population,baseline population,displacement,hxl,internally displaced persons-idp,migration,populated places-settlements,refugees,returnees"
87
+ },
88
+ "year_max": 2021,
89
+ "year_min": 2012
90
+ }