CoolFace
Datasetpublic

electricsheepasia/asia-refugees-afghanistan-voluntary-repatriation-2023

Afghanistan Voluntary Repatriation 2023 Publisher: UNHCR Afghanistan · Source: HDX · License: cc-by · Updated: 2025-08-04 Abstract Number of Refugees returning to Afghanistan for the period of 01 January 2022 to 31 December 2023 by district of destination and origin. Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-08-04. Geographic scope: AFG. Curated into ML-ready Parquet format by Electric Sheep Africa.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepasia/asia-refugees-afghanistan-voluntary-repatriation-2023.

sourceHugging Facecc-by-4.0updated 5mo agoView on Hugging Face
0likes13downloads
Dataset Card

Afghanistan Voluntary Repatriation 2023

Publisher: UNHCR Afghanistan · Source: HDX · License: cc-by · Updated: 2025-08-04


Abstract

Number of Refugees returning to Afghanistan for the period of 01 January 2022 to 31 December 2023 by district of destination and origin.

Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-08-04. Geographic scope: AFG.

Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).


Dataset Characteristics

DomainHumanitarian and development data
Unit of observationTabular records
Rows (total)50
Columns33 (24 numeric, 9 categorical, 0 datetime)
Train split40 rows
Test split10 rows
Geographic scopeAFG
PublisherUNHCR Afghanistan
HDX last updated2025-08-04

Variables

Geographic — number_of_afghan_refugees_returning_to_afghanistan_01_january_to_31_december_2023_destination_per_providences (Pakistan, Iran, Other).

Identifier / Metadata — unnamed_3 (range 1.0–859.0), unnamed_4 (range 1.0–708.0), unnamed_5 (range 1.0–9.0), unnamed_6 (range 1.0–11.0), unnamed_7 (range 1.0–182.0) and 27 others.


Quick Start

python
from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/asia-refugees-afghanistan-voluntary-repatriation-2023")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

ColumnTypeNull %Range / Sample Values
number_of_afghan_refugees_returning_to_afghanistan_01_january_to_31_december_2023_destination_per_providencesobject0.0%Pakistan, Iran, Other
unnamed_3float6446.0%1.0 – 859.0 (mean 151.7037)
unnamed_4float6436.0%1.0 – 708.0 (mean 150.9375)
unnamed_5float6480.0%1.0 – 9.0 (mean 2.7)
unnamed_6float6478.0%1.0 – 11.0 (mean 3.0)
unnamed_7float6476.0%1.0 – 182.0 (mean 45.5)
unnamed_8float6446.0%1.0 – 636.0 (mean 70.6667)
unnamed_9float6434.0%1.0 – 290.0 (mean 26.3636)
unnamed_11object42.0%46 , 10 , 69
unnamed_12float6422.0%1.0 – 835.0 (mean 64.2308)
unnamed_13float6446.0%1.0 – 256.0 (mean 85.1111)
unnamed_14float6416.0%1.0 – 559.0 (mean 153.119)
unnamed_15object40.0%90 , 216 , 159
unnamed_16float6468.0%1.0 – 73.0 (mean 13.6875)
unnamed_17float6462.0%7.0 – 549.0 (mean 86.6842)
unnamed_18float6462.0%1.0 – 234.0 (mean 36.9474)
unnamed_19object40.0%19 , 4 , 399
unnamed_20object48.0%53 , 18 , 8
unnamed_21float6448.0%1.0 – 537.0 (mean 97.1538)
unnamed_22float6464.0%1.0 – 160.0 (mean 26.6667)
unnamed_23object48.0%69 , 30 , 55
unnamed_24float6464.0%3.0 – 280.0 (mean 46.6667)
unnamed_26float6474.0%1.0 – 148.0 (mean 34.1538)
unnamed_27float6454.0%1.0 – 418.0 (mean 54.5217)
unnamed_29float6446.0%1.0 – 659.0 (mean 73.2222)
unnamed_30float6474.0%4.0 – 119.0 (mean 27.4615)
unnamed_31float6446.0%
unnamed_32float6444.0%
unnamed_33float6466.0%
unnamed_34float6458.0%
unnamed_35object2.0%10 , 1 , 318
esa_sourceobject0.0%HDX
esa_processedobject0.0%2026-05-05

Numeric Summary

ColumnMinMaxMeanMedian
unnamed_31.0859.0151.703777.0
unnamed_41.0708.0150.937570.5
unnamed_51.09.02.72.0
unnamed_61.011.03.01.0
unnamed_71.0182.045.517.0
unnamed_81.0636.070.666712.0
unnamed_91.0290.026.363618.0
unnamed_121.0835.064.230815.0
unnamed_131.0256.085.111198.0
unnamed_141.0559.0153.11931.5
unnamed_161.073.013.687510.0
unnamed_177.0549.086.684227.0
unnamed_181.0234.036.947413.0
unnamed_211.0537.097.153829.0
unnamed_221.0160.026.666710.0

Curation

Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snakecase. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. 5 column(s) with >80% missing values were removed: `unnamed1, unnamed2`, `unnamed10, unnamed25`, `unnamed28`. 24 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.


Limitations

  • —Data originates from UNHCR Afghanistan and has not been independently validated by ESA.
  • —Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • —The following columns have >20% missing values and should be treated with caution in modelling: unnamed_3, unnamed_4, unnamed_5, unnamed_6, unnamed_7, unnamed_8, unnamed_9, unnamed_11....
  • —Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

bibtex
@dataset{hdx_asia_refugees_afghanistan_voluntary_repatriation_2023,
  title     = {Afghanistan Voluntary Repatriation 2023},
  author    = {UNHCR Afghanistan},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/afghanistan-voluntary-repatriation-2023},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.