Dataset Viewer
Auto-converted to Parquet Duplicate
adm0_en
string
adm0_pcode
string
villages
int64
households
int64
t_tl
int64
esa_source
string
esa_processed
string
Eritrea
ER
2,594
670,390
2,908,795
HDX
2026-04-04

Eritrea - Subnational Population Statistics

Publisher: OCHA Regional Office for Southern and Eastern Africa (ROSEA) · Source: HDX · License: cc-by-igo · Updated: 2025-03-05


Abstract

Eritrea level 0 (national), level 1 (region), and level 2 (district) 2001 population statistics including number of individuals, number of households, number of administrative villages, and number of villages.

REFERENCE YEAR: 2001

These tables are suitable for database or GIS linkage to the Eritrea - Subnational Administrative Boundaries.

Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-03-05. Geographic scope: ERI.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Demographics and population
Unit of observation Tabular records
Rows (total) 1
Columns 7 (3 numeric, 4 categorical, 0 datetime)
Train split 0 rows
Test split 0 rows
Geographic scope ERI
Publisher OCHA Regional Office for Southern and Eastern Africa (ROSEA)
HDX last updated 2025-03-05

Variables

Demographicvillages (range 2594.0–2594.0), households (range 670390.0–670390.0).

Identifier / Metadataadm0_pcode (ER), esa_source (HDX), esa_processed (2026-04-04).

Otheradm0_en (Eritrea), t_tl (range 2908795.0–2908795.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-cod-ps-eri")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
adm0_en object 0.0% Eritrea
adm0_pcode object 0.0% ER
villages int64 0.0% 2594.0 – 2594.0 (mean 2594.0)
households int64 0.0% 670390.0 – 670390.0 (mean 670390.0)
t_tl int64 0.0% 2908795.0 – 2908795.0 (mean 2908795.0)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-04

Numeric Summary

Column Min Max Mean Median
villages 2594.0 2594.0 2594.0 2594.0
households 670390.0 670390.0 670390.0 670390.0
t_tl 2908795.0 2908795.0 2908795.0 2908795.0

Curation

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.


Limitations

  • Data originates from OCHA Regional Office for Southern and Eastern Africa (ROSEA) and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_cod_ps_eri,
  title     = {Eritrea - Subnational Population Statistics},
  author    = {OCHA Regional Office for Southern and Eastern Africa (ROSEA)},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/cod-ps-eri},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.

Downloads last month
27

Collection including electricsheepafrica/africa-cod-ps-eri