Kossisoroyce's picture
Add README.md
b43eb69 verified
metadata
annotations_creators:
  - no-annotation
language_creators:
  - found
language:
  - en
license: cc-by-4.0
multilinguality:
  - monolingual
size_categories:
  - 1K<n<10K
source_datasets:
  - original
task_categories:
  - tabular-classification
  - tabular-regression
task_ids: []
tags:
  - africa
  - humanitarian
  - hdx
  - electric-sheep-africa
  - indicators
  - trade
  - egy
pretty_name: Egypt, Arab Rep. - Trade
dataset_info:
  splits:
    - name: train
      num_examples: 4672
    - name: test
      num_examples: 1168

Egypt, Arab Rep. - Trade

Publisher: World Bank Group · Source: HDX · License: cc-by · Updated: 2026-03-27


Abstract

Contains data from the World Bank's data portal. There is also a consolidated country dataset on HDX.

Trade is a key means to fight poverty and achieve the Millennium Development Goals, specifically by improving developing country access to markets, and supporting a rules based, predictable trading system. In cooperation with other international development partners, the World Bank launched the Transparency in Trade Initiative to provide free and easy access to data on country-specific trade policies.

Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: EGY.

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


Dataset Characteristics

Domain Poverty and economic vulnerability
Unit of observation Country-level aggregates
Rows (total) 5,840
Columns 8 (2 numeric, 6 categorical, 0 datetime)
Train split 4,672 rows
Test split 1,168 rows
Geographic scope EGY
Publisher World Bank Group
HDX last updated 2026-03-27

Variables

Geographiccountry_name (Egypt, Arab Rep.), country_iso3 (EGY), year (range 1960.0–2024.0).

Outcome / Measurementvalue (range -38060200000.0–1554406232699.76).

Identifier / Metadataindicator_name (Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$)), indicator_code (NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT), esa_source (HDX), esa_processed (2026-04-14).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-world-bank-trade-indicators-for-egypt-arab-rep")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
country_name object 0.0% Egypt, Arab Rep.
country_iso3 object 0.0% EGY
year int64 0.0% 1960.0 – 2024.0 (mean 1997.3211)
indicator_name object 0.0% Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$)
indicator_code object 0.0% NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT
value float64 0.0% -38060200000.0 – 1554406232699.76 (mean 7918360378.6662)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-14

Numeric Summary

Column Min Max Mean Median
year 1960.0 2024.0 1997.3211 2000.0
value -38060200000.0 1554406232699.76 7918360378.6662 22.4416

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 World Bank Group 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_world_bank_trade_indicators_for_egypt_arab_rep,
  title     = {Egypt, Arab Rep. - Trade},
  author    = {World Bank Group},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

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