CollosaAI commited on
Commit
84903ec
·
verified ·
1 Parent(s): a41fcf5

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - csv
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: "Future Displacement Forecasts | Africa (Libya official open data)"
24
+ ---
25
+
26
+ # Future Displacement Forecasts | Africa (Libya official open data)
27
+
28
+ 241 rows - 1 Africa country - 2010-2023 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-241-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2010-2023-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-1-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 `CSV` 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:** [Future Displacement Forecasts](https://data.humdata.org/dataset/drc-displacement-forecasts)
45
+ - **Publisher:** Danish Refugee Council
46
+ - **Resource:** [Foresight historical forecasts](https://data.humdata.org/dataset/dd000cd0-5757-484f-9df8-4aee6c7362c5/resource/63418dc7-e3a9-41bc-980f-631b39365681/download/foresight-forecasts-historical.csv)
47
+ - **Format:** `CSV`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `indicator_long`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `LBY` | 241 | 2010 | 2023 | `Libya` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - `future-displacement-forecasts-e3b760f7` - Future Displacement Forecasts
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `indicator_id` | `string` | Stable indicator identifier. | `future-displacement-forecasts-e3b760f7` |
68
+ | `indicator_name` | `string` | Human-readable indicator name. | `Future Displacement Forecasts` |
69
+ | `country_iso3` | `string` | ISO3 country code. | `LBY` |
70
+ | `country_name` | `string` | Country name. | `Libya` |
71
+ | `year` | `Int64` | Observation year. | `2010` |
72
+ | `value` | `float64` | Numeric observation value. | `3133594.0` |
73
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
74
+ | `dimension_country_name` | `string` | Source dimension. | `Afghanistan` |
75
+ | `dimension_country_code` | `string` | Source dimension. | `AFG` |
76
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
77
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
78
+ | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
79
+ | `source_provider` | `category` | Publishing organization. | `Danish Refugee Council` |
80
+ | `source_dataset` | `category` | Source package title. | `Future Displacement Forecasts` |
81
+ | `source_resource` | `category` | Source resource title. | `Foresight historical forecasts` |
82
+ | `source_package_id` | `category` | CKAN package UUID. | `dd000cd0-5757-484f-9df8-4aee6c7362c5` |
83
+ | `source_resource_id` | `category` | CKAN resource UUID. | `63418dc7-e3a9-41bc-980f-631b39365681` |
84
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/dd000cd0-5757-484f-9df8-4aee6c7362c5/re` |
85
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
86
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-17T13:13:43Z` |
87
+
88
+ ## Usage
89
+
90
+ ```python
91
+ from datasets import load_dataset
92
+
93
+ ds = load_dataset("electricsheepafrica/africa-libya-future-displacement-forecasts-e3b760f7")
94
+ df = ds["train"].to_pandas()
95
+ print(df.head())
96
+ ```
97
+
98
+ ### Filter to one country
99
+
100
+ ```python
101
+ sample_country = df[df["country_iso3"] == "LBY"]
102
+ ```
103
+
104
+ ### Work with indicators
105
+
106
+ ```python
107
+ if "indicator_id" in df.columns:
108
+ print(df["indicator_id"].value_counts().head())
109
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
110
+ ```
111
+
112
+ ## Citation
113
+
114
+ ```bibtex
115
+ @misc{electric_sheep_africa_africa_libya_future_displacement_forecasts_e3b760f7_2023,
116
+ title = {Future Displacement Forecasts | Africa (Libya official open data)},
117
+ author = {Danish Refugee Council},
118
+ year = {2023},
119
+ url = {https://data.humdata.org/dataset/drc-displacement-forecasts},
120
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
121
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-libya-future-displacement-forecasts-e3b760f7}}
122
+ }
123
+ ```
124
+
125
+ ## License
126
+
127
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
128
+
129
+ Original data (c) Danish Refugee Council. When using this dataset, please cite both the
130
+ original source above and the Electric Sheep Africa repackaging.
131
+
132
+ ## About Electric Sheep
133
+
134
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
135
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
136
+ open sources, normalize the schemas, package as Parquet, and publish with
137
+ consistent dataset cards so researchers and developers can use `load_dataset()`
138
+ to start working in seconds.
139
+
140
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
141
+
142
+ ---
143
+
144
+ Provenance: ingested 2026-08-17 via the Electric Sheep pipeline. Source URL:
145
+ https://data.humdata.org/dataset/dd000cd0-5757-484f-9df8-4aee6c7362c5/resource/63418dc7-e3a9-41bc-980f-631b39365681/download/foresight-forecasts-historical.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2eaa3b64829f8f0dc1c60a3b8b51207f30b4d07d2c539e7a9e0df396ec826c4
3
+ size 17322
metadata/source_snapshot.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "country_name",
7
+ "year",
8
+ "value",
9
+ "unit",
10
+ "dimension_country_name",
11
+ "dimension_country_code",
12
+ "source_period_start_year",
13
+ "source_period_end_year",
14
+ "source_period_label",
15
+ "source_provider",
16
+ "source_dataset",
17
+ "source_resource",
18
+ "source_package_id",
19
+ "source_resource_id",
20
+ "source_url",
21
+ "license_id",
22
+ "retrieved_at"
23
+ ],
24
+ "generated_at": "2026-08-17T13:35:05Z",
25
+ "indicator_count": 1,
26
+ "mode": "indicator_long",
27
+ "repo_id": "electricsheepafrica/africa-libya-future-displacement-forecasts-e3b760f7",
28
+ "rows": 241,
29
+ "source": {
30
+ "api_base_url": "https://data.humdata.org/api/3/action",
31
+ "country_iso3": "LBY",
32
+ "country_name": "Libya",
33
+ "group_names": "afg,bfa,bdi,cmr,caf,tcd,col,cod,slv,eth,gtm,hnd,irq,lby,mli,moz,mmr,ner,nga,som,ssd,sdn,syr,ukr,ven,yem",
34
+ "license_id": "cc-by",
35
+ "license_title": "Creative Commons Attribution International (CC BY)",
36
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
37
+ "organization_name": "danish-refugee-council",
38
+ "organization_title": "Danish Refugee Council",
39
+ "package_id": "dd000cd0-5757-484f-9df8-4aee6c7362c5",
40
+ "package_name": "drc-displacement-forecasts",
41
+ "package_notes": "Forecasts of forced displacement (IDPs, asylum seekers and refugees) one to three years into the future based on machine learning model.",
42
+ "package_page_url": "https://data.humdata.org/dataset/drc-displacement-forecasts",
43
+ "package_title": "Future Displacement Forecasts",
44
+ "portal_url": "https://data.humdata.org",
45
+ "resource_description": "All historical forecasts made using the Foresight model.",
46
+ "resource_format": "CSV",
47
+ "resource_id": "63418dc7-e3a9-41bc-980f-631b39365681",
48
+ "resource_last_modified": "2024-08-09T08:19:44.607111",
49
+ "resource_name": "Foresight historical forecasts",
50
+ "resource_position": "3",
51
+ "resource_url": "https://data.humdata.org/dataset/dd000cd0-5757-484f-9df8-4aee6c7362c5/resource/63418dc7-e3a9-41bc-980f-631b39365681/download/foresight-forecasts-historical.csv",
52
+ "tag_names": "asylum seekers,displacement,forecasting,internally displaced persons-idp,refugees"
53
+ },
54
+ "year_max": 2023,
55
+ "year_min": 2010
56
+ }