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.
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
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
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
Numeric Summary
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
@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.
