Add README.md
Browse files
README.md
CHANGED
|
@@ -1,48 +1,160 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: year
|
| 5 |
-
dtype: int64
|
| 6 |
-
- name: country_of_origin_code
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: country_of_asylum_code
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: country_of_origin_name
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: country_of_asylum_name
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: refugees
|
| 15 |
-
dtype: int64
|
| 16 |
-
- name: asylum_seekers
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: other_people_in_need_of_international_protection
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: internally_displaced_persons
|
| 21 |
-
dtype: int64
|
| 22 |
-
- name: stateless_persons
|
| 23 |
-
dtype: int64
|
| 24 |
-
- name: others_of_concern_to_unhcr
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: host_community
|
| 27 |
-
dtype: int64
|
| 28 |
-
- name: esa_source
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: esa_processed
|
| 31 |
-
dtype: string
|
| 32 |
splits:
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
num_bytes: 52243
|
| 38 |
-
num_examples: 422
|
| 39 |
-
download_size: 38049
|
| 40 |
-
dataset_size: 260858
|
| 41 |
-
configs:
|
| 42 |
-
- config_name: default
|
| 43 |
-
data_files:
|
| 44 |
-
- split: train
|
| 45 |
-
path: data/train-*
|
| 46 |
-
- split: test
|
| 47 |
-
path: data/test-*
|
| 48 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
- tabular-regression
|
| 18 |
+
task_ids: []
|
| 19 |
+
tags:
|
| 20 |
+
- africa
|
| 21 |
+
- humanitarian
|
| 22 |
+
- hdx
|
| 23 |
+
- electric-sheep-africa
|
| 24 |
+
- asylum-seekers
|
| 25 |
+
- internally-displaced-persons-idp
|
| 26 |
+
- population
|
| 27 |
+
- refugees
|
| 28 |
+
- stateless-persons
|
| 29 |
+
- nga
|
| 30 |
+
pretty_name: "Nigeria - Data on forcibly displaced populations and stateless persons"
|
| 31 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
splits:
|
| 33 |
+
- name: train
|
| 34 |
+
num_examples: 1687
|
| 35 |
+
- name: test
|
| 36 |
+
num_examples: 421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
---
|
| 38 |
+
|
| 39 |
+
# Nigeria - Data on forcibly displaced populations and stateless persons
|
| 40 |
+
|
| 41 |
+
**Publisher:** UNHCR - The UN Refugee Agency · **Source:** [HDX](https://data.humdata.org/dataset/unhcr-population-data-for-nga) · **License:** `cc-by-igo` · **Updated:** 2026-02-25
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## Abstract
|
| 46 |
+
|
| 47 |
+
Data collated by UNHCR, containing information about forcibly displaced populations and stateless persons, spanning across more than 70 years of statistical activities. The data includes the countries / territories of asylum and origin. Specific resources are available for end-year population totals, demographics, asylum applications, decisions, and solutions availed by refugees and IDPs (resettlement, naturalisation or returns).
|
| 48 |
+
|
| 49 |
+
Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-02-25. Geographic scope: **NGA**.
|
| 50 |
+
|
| 51 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## Dataset Characteristics
|
| 56 |
+
|
| 57 |
+
| | |
|
| 58 |
+
|---|---|
|
| 59 |
+
| **Domain** | Demographics and population |
|
| 60 |
+
| **Unit of observation** | First-level administrative unit observations |
|
| 61 |
+
| **Rows (total)** | 2,109 |
|
| 62 |
+
| **Columns** | 14 (8 numeric, 6 categorical, 0 datetime) |
|
| 63 |
+
| **Train split** | 1,687 rows |
|
| 64 |
+
| **Test split** | 421 rows |
|
| 65 |
+
| **Geographic scope** | NGA |
|
| 66 |
+
| **Publisher** | UNHCR - The UN Refugee Agency |
|
| 67 |
+
| **HDX last updated** | 2026-02-25 |
|
| 68 |
+
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
## Variables
|
| 72 |
+
|
| 73 |
+
**Geographic** — `year` (range 1968.0–2025.0), `country_of_origin_code` (NGA), `country_of_asylum_code` (ITA, GBR, SWE), `country_of_origin_name` (Nigeria), `country_of_asylum_name` (Italy, United Kingdom of Great Britain and Northern Ireland, Sweden) and 4 others.
|
| 74 |
+
|
| 75 |
+
**Identifier / Metadata** — `refugees` (range 0.0–264553.0), `esa_source` (HDX), `esa_processed` (2026-04-04).
|
| 76 |
+
|
| 77 |
+
**Other** — `other_people_in_need_of_international_protection` (range 0.0–0.0), `others_of_concern_to_unhcr` (range 0.0–70000.0).
|
| 78 |
+
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
+
## Quick Start
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
|
| 86 |
+
ds = load_dataset("electricsheepafrica/africa-unhcr-population-data-for-nga")
|
| 87 |
+
train = ds["train"].to_pandas()
|
| 88 |
+
test = ds["test"].to_pandas()
|
| 89 |
+
|
| 90 |
+
print(train.shape)
|
| 91 |
+
train.head()
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
## Schema
|
| 97 |
+
|
| 98 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 99 |
+
|---|---|---|---|
|
| 100 |
+
| `year` | int64 | 0.0% | 1968.0 – 2025.0 (mean 2012.3589) |
|
| 101 |
+
| `country_of_origin_code` | object | 0.0% | NGA |
|
| 102 |
+
| `country_of_asylum_code` | object | 0.0% | ITA, GBR, SWE |
|
| 103 |
+
| `country_of_origin_name` | object | 0.0% | Nigeria |
|
| 104 |
+
| `country_of_asylum_name` | object | 0.0% | Italy, United Kingdom of Great Britain and Northern Ireland, Sweden |
|
| 105 |
+
| `refugees` | int64 | 0.0% | 0.0 – 264553.0 (mean 1946.2319) |
|
| 106 |
+
| `asylum_seekers` | int64 | 0.0% | 0.0 – 37967.0 (mean 508.5524) |
|
| 107 |
+
| `other_people_in_need_of_international_protection` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
|
| 108 |
+
| `internally_displaced_persons` | int64 | 0.0% | 0.0 – 3575114.0 (mean 14675.844) |
|
| 109 |
+
| `stateless_persons` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
|
| 110 |
+
| `others_of_concern_to_unhcr` | int64 | 0.0% | 0.0 – 70000.0 (mean 33.9654) |
|
| 111 |
+
| `host_community` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
|
| 112 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 113 |
+
| `esa_processed` | object | 0.0% | 2026-04-04 |
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
## Numeric Summary
|
| 118 |
+
|
| 119 |
+
| Column | Min | Max | Mean | Median |
|
| 120 |
+
|---|---|---|---|---|
|
| 121 |
+
| `year` | 1968.0 | 2025.0 | 2012.3589 | 2014.0 |
|
| 122 |
+
| `refugees` | 0.0 | 264553.0 | 1946.2319 | 9.0 |
|
| 123 |
+
| `asylum_seekers` | 0.0 | 37967.0 | 508.5524 | 12.0 |
|
| 124 |
+
| `other_people_in_need_of_international_protection` | 0.0 | 0.0 | 0.0 | 0.0 |
|
| 125 |
+
| `internally_displaced_persons` | 0.0 | 3575114.0 | 14675.844 | 0.0 |
|
| 126 |
+
| `stateless_persons` | 0.0 | 0.0 | 0.0 | 0.0 |
|
| 127 |
+
| `others_of_concern_to_unhcr` | 0.0 | 70000.0 | 33.9654 | 0.0 |
|
| 128 |
+
| `host_community` | 0.0 | 0.0 | 0.0 | 0.0 |
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Curation
|
| 133 |
+
|
| 134 |
+
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`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## Limitations
|
| 139 |
+
|
| 140 |
+
- Data originates from UNHCR - The UN Refugee Agency and has not been independently validated by ESA.
|
| 141 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 142 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/unhcr-population-data-for-nga) for the publisher's own methodology notes and caveats.
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## Citation
|
| 147 |
+
|
| 148 |
+
```bibtex
|
| 149 |
+
@dataset{hdx_africa_unhcr_population_data_for_nga,
|
| 150 |
+
title = {Nigeria - Data on forcibly displaced populations and stateless persons},
|
| 151 |
+
author = {UNHCR - The UN Refugee Agency},
|
| 152 |
+
year = {2026},
|
| 153 |
+
url = {https://data.humdata.org/dataset/unhcr-population-data-for-nga},
|
| 154 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 155 |
+
}
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|