Kossiesa commited on
Commit
dd50671
·
verified ·
1 Parent(s): f269bbe

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - 1K<n<10K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - libya
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM] | Africa (Libya official open data)"
24
+ ---
25
+
26
+ # Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM] | Africa (Libya official open data)
27
+
28
+ 4,610 rows - 1 Africa country - 2022-2023 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-4610-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2022-2023-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `XLSX` resource from **Libya** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM]](https://data.humdata.org/dataset/libya-migration-data-migrants-baseline-assessment-iom-dtm)
45
+ - **Publisher:** International Organization for Migration (IOM)
46
+ - **Resource:** [DTM Libya Migrants Baseline Assessment Round 46](https://data.humdata.org/dataset/cacf12d4-22b1-438f-bcb4-78aa9078ab94/resource/290a8091-b017-4637-9209-70c2a80402ec/download/dtm-libya-r46-public-migrants-dataset.xlsx)
47
+ - **Format:** `XLSX`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `tabular_resource`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `LBY` | 4,610 | 2022 | 2023 | `Libya` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - This source file is packaged as a normalized tabular resource.
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `290a8091-b017-4637-9209-70c2a80402ec:summary:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `LBY` |
69
+ | `country_name` | `category` | Country name. | `Libya` |
70
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Summary` |
71
+ | `east` | `string` | Source column. | `West` |
72
+ | `al_jabal_al_akhdar` | `string` | Source column. | `Al Jabal Al Gharbi` |
73
+ | `d_17850` | `float64` | Source column. | `25430.0` |
74
+ | `d_0_025281065968710964` | `float64` | Source column. | `0.0360166670915585` |
75
+ | `column_5` | `float64` | Source column. | `` |
76
+ | `column_6` | `float64` | Source column. | `` |
77
+ | `niger` | `string` | Source column. | `Egypt` |
78
+ | `d_171614` | `float64` | Source column. | `160699.0` |
79
+ | `d_0_2430579750786758` | `float64` | Source column. | `0.2275989927230186` |
80
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2022` |
81
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2023` |
82
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2022-2023` |
83
+ | `source_provider` | `category` | Publishing organization. | `International Organization for Migration (IOM)` |
84
+ | `source_dataset` | `category` | Source package title. | `Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM]` |
85
+ | `source_resource` | `category` | Source resource title. | `DTM Libya Migrants Baseline Assessment Round 46` |
86
+ | `source_package_id` | `category` | CKAN package UUID. | `cacf12d4-22b1-438f-bcb4-78aa9078ab94` |
87
+ | `source_resource_id` | `category` | CKAN resource UUID. | `290a8091-b017-4637-9209-70c2a80402ec` |
88
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/cacf12d4-22b1-438f-bcb4-78aa9078ab94/re` |
89
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
90
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-17T13:13:43Z` |
91
+ | `adm_1_geodivision_en` | `string` | Source column. | `` |
92
+ | `adm_1_geodivision_ar` | `string` | Source column. | `` |
93
+ | `adm_2_mantika_region_en` | `string` | Source column. | `` |
94
+ | `adm_2_mantika_region_ar` | `string` | Source column. | `` |
95
+ | `adm_3_baladiya_area_en` | `string` | Source column. | `` |
96
+ | `adm_3_baladiya_area_ar` | `string` | Source column. | `` |
97
+ | `baladiya_pcode` | `string` | Source column. | `` |
98
+ | `lat` | `float64` | Source column. | `` |
99
+ | `long` | `float64` | Source column. | `` |
100
+ | `assessmentround` | `float64` | Source column. | `` |
101
+ | `migrants_ind` | `float64` | Source column. | `` |
102
+ | `adm1_region_en` | `string` | Source column. | `` |
103
+ | `adm2_mantika_en` | `string` | Source column. | `` |
104
+ | `adm3_baladiya_en` | `string` | Source column. | `` |
105
+ | `adm4_muhalla_en` | `string` | Source column. | `` |
106
+ | `adm4_muhalla_ar` | `string` | Source column. | `` |
107
+ | `muhalla_pcode` | `string` | Source column. | `` |
108
+ | `muhalla_type` | `string` | Source column. | `` |
109
+ | `migrants_in_muhalla` | `string` | Source column. | `` |
110
+ | `migrant_ind` | `float64` | Source column. | `` |
111
+ | `rented_accomodation_self_paid_ind` | `float64` | Source column. | `` |
112
+ | `rented_accomodation_paind_by_others_ind` | `float64` | Source column. | `` |
113
+ | `rented_accomodation_paind_by_employer_ind` | `float64` | Source column. | `` |
114
+ | `squatting_on_other_people_s_properties_ind` | `float64` | Source column. | `` |
115
+ | `abondoned_buildings_ind` | `float64` | Source column. | `` |
116
+ | `sheltered_in_their_workplace_ind` | `float64` | Source column. | `` |
117
+ | `schools_or_other_public_buildings_ind` | `float64` | Source column. | `` |
118
+ | `in_informal_camp_setting_ind` | `float64` | Source column. | `` |
119
+ | `no_accomodation_ind` | `float64` | Source column. | `` |
120
+ | `other_shelter` | `float64` | Source column. | `` |
121
+ | `migrants_arrived_last_month` | `float64` | Source column. | `` |
122
+ | `migrants_arrived_between_1_to_6_months_ago` | `float64` | Source column. | `` |
123
+ | `migrants_arrived_between_6_to_12_months_ago` | `float64` | Source column. | `` |
124
+ | `migrants_arrived_over_12_months_ago` | `float64` | Source column. | `` |
125
+ | `migrants_arrival_time_unknown` | `float64` | Source column. | `` |
126
+ | `migrants_with_residency_permit` | `float64` | Source column. | `` |
127
+ | `migrants_with_work_permit` | `float64` | Source column. | `` |
128
+ | `migrants_with_no_permit` | `float64` | Source column. | `` |
129
+ | `migrants_permit_status_unknown` | `float64` | Source column. | `` |
130
+ | `migrants_adult_men` | `float64` | Source column. | `` |
131
+ | `migrants_adult_women` | `float64` | Source column. | `` |
132
+ | `migrants_children` | `float64` | Source column. | `` |
133
+ | `priority_need_1` | `string` | Source column. | `` |
134
+ | `priority_need_1_problem` | `string` | Source column. | `` |
135
+ | `priority_need_2` | `string` | Source column. | `` |
136
+ | `priority_need_2_problem` | `string` | Source column. | `` |
137
+ | `priority_need_3` | `string` | Source column. | `` |
138
+ | `priority_need_3_problem` | `string` | Source column. | `` |
139
+ | `adm_4_muhalla_en` | `string` | Source column. | `` |
140
+ | `adm_4_muhalla_ar` | `string` | Source column. | `` |
141
+ | `muhalla_p_code` | `string` | Source column. | `` |
142
+ | `region1` | `string` | Source column. | `` |
143
+ | `region_2` | `string` | Source column. | `` |
144
+ | `migrant_nationality` | `string` | Source column. | `` |
145
+ | `migrant_individuals` | `float64` | Source column. | `` |
146
+
147
+ ## Usage
148
+
149
+ ```python
150
+ from datasets import load_dataset
151
+
152
+ ds = load_dataset("electricsheepafrica/africa-libya-libya-migration-data-migrants-baseline-assessment-iom-dtm-adb1f6ca")
153
+ df = ds["train"].to_pandas()
154
+ print(df.head())
155
+ ```
156
+
157
+ ### Filter to one country
158
+
159
+ ```python
160
+ sample_country = df[df["country_iso3"] == "LBY"]
161
+ ```
162
+
163
+ ### Work with indicators
164
+
165
+ ```python
166
+ if "indicator_id" in df.columns:
167
+ print(df["indicator_id"].value_counts().head())
168
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
169
+ ```
170
+
171
+ ## Citation
172
+
173
+ ```bibtex
174
+ @misc{electric_sheep_africa_africa_libya_libya_migration_data_migrants_baseline_assessment_iom_dtm_adb1f6ca_2023,
175
+ title = {Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM] | Africa (Libya official open data)},
176
+ author = {International Organization for Migration (IOM)},
177
+ year = {2023},
178
+ url = {https://data.humdata.org/dataset/libya-migration-data-migrants-baseline-assessment-iom-dtm},
179
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
180
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-libya-libya-migration-data-migrants-baseline-assessment-iom-dtm-adb1f6ca}}
181
+ }
182
+ ```
183
+
184
+ ## License
185
+
186
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
187
+
188
+ Original data (c) International Organization for Migration (IOM). When using this dataset, please cite both the
189
+ original source above and the Electric Sheep Africa repackaging.
190
+
191
+ ## About Electric Sheep
192
+
193
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
194
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
195
+ open sources, normalize the schemas, package as Parquet, and publish with
196
+ consistent dataset cards so researchers and developers can use `load_dataset()`
197
+ to start working in seconds.
198
+
199
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
200
+
201
+ ---
202
+
203
+ Provenance: ingested 2026-08-17 via the Electric Sheep pipeline. Source URL:
204
+ https://data.humdata.org/dataset/cacf12d4-22b1-438f-bcb4-78aa9078ab94/resource/290a8091-b017-4637-9209-70c2a80402ec/download/dtm-libya-r46-public-migrants-dataset.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3a73b6c855782a546fe107065f0553c645c0c226f0ef7500bb73999ae2c0877
3
+ size 140992
metadata/source_snapshot.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "east",
8
+ "al_jabal_al_akhdar",
9
+ "d_17850",
10
+ "d_0_025281065968710964",
11
+ "column_5",
12
+ "column_6",
13
+ "niger",
14
+ "d_171614",
15
+ "d_0_2430579750786758",
16
+ "source_period_start_year",
17
+ "source_period_end_year",
18
+ "source_period_label",
19
+ "source_provider",
20
+ "source_dataset",
21
+ "source_resource",
22
+ "source_package_id",
23
+ "source_resource_id",
24
+ "source_url",
25
+ "license_id",
26
+ "retrieved_at",
27
+ "adm_1_geodivision_en",
28
+ "adm_1_geodivision_ar",
29
+ "adm_2_mantika_region_en",
30
+ "adm_2_mantika_region_ar",
31
+ "adm_3_baladiya_area_en",
32
+ "adm_3_baladiya_area_ar",
33
+ "baladiya_pcode",
34
+ "lat",
35
+ "long",
36
+ "assessmentround",
37
+ "migrants_ind",
38
+ "adm1_region_en",
39
+ "adm2_mantika_en",
40
+ "adm3_baladiya_en",
41
+ "adm4_muhalla_en",
42
+ "adm4_muhalla_ar",
43
+ "muhalla_pcode",
44
+ "muhalla_type",
45
+ "migrants_in_muhalla",
46
+ "migrant_ind",
47
+ "rented_accomodation_self_paid_ind",
48
+ "rented_accomodation_paind_by_others_ind",
49
+ "rented_accomodation_paind_by_employer_ind",
50
+ "squatting_on_other_people_s_properties_ind",
51
+ "abondoned_buildings_ind",
52
+ "sheltered_in_their_workplace_ind",
53
+ "schools_or_other_public_buildings_ind",
54
+ "in_informal_camp_setting_ind",
55
+ "no_accomodation_ind",
56
+ "other_shelter",
57
+ "migrants_arrived_last_month",
58
+ "migrants_arrived_between_1_to_6_months_ago",
59
+ "migrants_arrived_between_6_to_12_months_ago",
60
+ "migrants_arrived_over_12_months_ago",
61
+ "migrants_arrival_time_unknown",
62
+ "migrants_with_residency_permit",
63
+ "migrants_with_work_permit",
64
+ "migrants_with_no_permit",
65
+ "migrants_permit_status_unknown",
66
+ "migrants_adult_men",
67
+ "migrants_adult_women",
68
+ "migrants_children",
69
+ "priority_need_1",
70
+ "priority_need_1_problem",
71
+ "priority_need_2",
72
+ "priority_need_2_problem",
73
+ "priority_need_3",
74
+ "priority_need_3_problem",
75
+ "adm_4_muhalla_en",
76
+ "adm_4_muhalla_ar",
77
+ "muhalla_p_code",
78
+ "region1",
79
+ "region_2",
80
+ "migrant_nationality",
81
+ "migrant_individuals"
82
+ ],
83
+ "generated_at": "2026-08-17T13:33:35Z",
84
+ "indicator_count": 0,
85
+ "mode": "tabular_resource",
86
+ "repo_id": "electricsheepafrica/africa-libya-libya-migration-data-migrants-baseline-assessment-iom-dtm-adb1f6ca",
87
+ "rows": 4610,
88
+ "source": {
89
+ "api_base_url": "https://data.humdata.org/api/3/action",
90
+ "country_iso3": "LBY",
91
+ "country_name": "Libya",
92
+ "group_names": "lby",
93
+ "license_id": "cc-by",
94
+ "license_title": "Creative Commons Attribution International (CC BY)",
95
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
96
+ "organization_name": "international-organization-for-migration",
97
+ "organization_title": "International Organization for Migration (IOM)",
98
+ "package_id": "cacf12d4-22b1-438f-bcb4-78aa9078ab94",
99
+ "package_name": "libya-migration-data-migrants-baseline-assessment-iom-dtm",
100
+ "package_notes": "The dataset contains number of migrants in Libya at sub national level. The dataset also contains nationality of the migrants and their needs.",
101
+ "package_page_url": "https://data.humdata.org/dataset/libya-migration-data-migrants-baseline-assessment-iom-dtm",
102
+ "package_title": "Libya Migration Data - [Migrants] - Baseline Assessment [IOM DTM]",
103
+ "portal_url": "https://data.humdata.org",
104
+ "resource_description": "IOM Libya’s Displacement Tracking Matrix (DTM) programme identified a total of 706,062 migrants from over 44 nationalities in the 100 Libyan municipalities during round 46 of data collection (January - February 2023). The number of migrants in Libya has continued to increase slightly compared to the previous round of data collection (694,398 migrants, Round 45, November – December 2022).",
105
+ "resource_format": "XLSX",
106
+ "resource_id": "290a8091-b017-4637-9209-70c2a80402ec",
107
+ "resource_last_modified": "2023-05-25T11:28:52.370443",
108
+ "resource_name": "DTM Libya Migrants Baseline Assessment Round 46",
109
+ "resource_position": "14",
110
+ "resource_url": "https://data.humdata.org/dataset/cacf12d4-22b1-438f-bcb4-78aa9078ab94/resource/290a8091-b017-4637-9209-70c2a80402ec/download/dtm-libya-r46-public-migrants-dataset.xlsx",
111
+ "tag_names": "demographics,displacement,hxl,migration"
112
+ },
113
+ "year_max": 2023,
114
+ "year_min": 2022
115
+ }