CoolFace
Datasetpublic

electricsheepasia/asia-settlements-iraq-populated-places-2021

Iraq - Populated Places (Cities, Villages, Towns) Publisher: OCHA Iraq (inactive) · Source: HDX · License: cc-by-igo · Updated: 2025-02-02 Abstract Settlement locations representing cities, towns, villages, and neighborhoods P-coded in accordance with Iraq - Subnational Administrative Boundaries (COD-AB). The "Iraq populated places 2021 P-coded.xlsx" spreadsheet contains two tables . Table "IRQ populated places master" contains all 12,494 available records.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepasia/asia-settlements-iraq-populated-places-2021.

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

Iraq - Populated Places (Cities, Villages, Towns)

Publisher: OCHA Iraq (inactive) · Source: HDX · License: cc-by-igo · Updated: 2025-02-02


Abstract

Settlement locations representing cities, towns, villages, and neighborhoods P-coded in accordance with Iraq - Subnational Administrative Boundaries (COD-AB).

The "Iraq populated places 2021 P-coded.xlsx" spreadsheet contains two tables . Table "IRQ populated places master" contains all 12,494 available records. Table '"RQ populated places filter" excludes 338 master records that have blank English (ADM3EN) and blank Arabic (ADM4AR) names, and is the basis for the shapefile.

The "IRQ populated places V04" contains the 12,156 points of the "IRQ populated places filter" table.

When names are verified for the 338 excluded records the spreadsheet and shapefile will be updated.

The Iraq - Subnational Administrative Boundaries (COD-AB) administrative level 0-3 gazetteer is also included.

Each row in this dataset represents geolocated point observations. Data was last updated on HDX on 2025-02-02. Geographic scope: IRQ.

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


Dataset Characteristics

DomainHumanitarian and development data
Unit of observationGeolocated point observations
Rows (total)12,157
Columns20 (3 numeric, 17 categorical, 0 datetime)
Train split9,725 rows
Test split2,431 rows
Geographic scopeIRQ
PublisherOCHA Iraq (inactive)
HDX last updated2025-02-02

Variables

Geographic — place_en, place_ar, longitude (range 38.9293–48.5536), latituate (range 29.1097–37.35).

Demographic — world_pop (range 0.0–355.0).

Identifier / Metadata — adm0_pcode (IRQ, #adm0 +code), adm1_pcode (IQG16, IQG07, IQG15), adm2_pcode (IQG07Q01, IQG16Q05, IQG11Q05), adm3_pcode, adm4_pcode and 2 others.

Other — adm0_en (Iraq, #adm0 +name +ien), `adm0ar (العراق, #adm0 +name +i_AR), adm1en` (Salah Al-Din, Babil, Ninewa), `adm1ar (صلاح الدين, بابل, نينوى), adm2_en` (Al-Hashimiya, Samarra, Rawanduz) and 3 others.


Quick Start

python
from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/asia-settlements-all")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

ColumnTypeNull %Range / Sample Values
adm0_enobject0.0%Iraq, #adm0 +name +i_en
adm0_arobject0.0%العراق, #adm0 +name +i_AR
adm0_pcodeobject0.0%IRQ, #adm0 +code
adm1_enobject0.0%Salah Al-Din, Babil, Ninewa
adm1_arobject0.0%صلاح الدين, بابل, نينوى
adm1_pcodeobject0.0%IQG16, IQG07, IQG15
adm2_enobject0.0%Al-Hashimiya, Samarra, Rawanduz
adm2_arobject0.0%الهاشمية, سامراء, راوندوز
adm2_pcodeobject0.0%IQG07Q01, IQG16Q05, IQG11Q05
adm3_enobject0.0%Al-Tharthar, Al-Qasim, Al-Madhatiya
adm3_arobject0.0%
adm3_pcodeobject0.0%
place_enobject0.0%
place_arobject0.0%
adm4_pcodeobject0.0%
longitudefloat640.0%38.9293 – 48.5536 (mean 44.6151)
latituatefloat640.0%29.1097 – 37.35 (mean 33.8529)
world_popfloat640.0%0.0 – 355.0 (mean 4.1163)
esa_sourceobject0.0%
esa_processedobject0.0%

Numeric Summary

ColumnMinMaxMeanMedian
longitude38.929348.553644.615144.536
latituate29.109737.3533.852933.6028
world_pop0.0355.04.11632.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. 2 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 OCHA Iraq (inactive) 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

bibtex
@dataset{hdx_asia_settlements_all,
  title     = {Iraq - Populated Places (Cities, Villages, Towns)},
  author    = {OCHA Iraq (inactive)},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/iraq-populated-places-2021},
  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.