Kossisoroyce's picture
Upload README.md with huggingface_hub
3e366b4 verified
|
Raw
History Blame Contribute Delete
4.36 kB
metadata
license: other
language:
  - en
task_categories:
  - tabular-classification
  - tabular-regression
  - time-series-forecasting
multilinguality: monolingual
size_categories:
  - 1K<n<10K
tags:
  - tabular
  - africa
  - un-comtrade
  - international-merchandise-trade
  - trade
  - exports-imports
  - hs
  - bilateral
  - time-series
pretty_name: Algeria  Exports by Trading Partner | Africa (UN Comtrade)

Algeria — Exports by Trading Partner | Africa (UN Comtrade)

🌍 2,014 observations · 1 Africa countries · 2000–2017 · Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset contains 2,014 observations of International merchandise trade data across 1 Africa countries, spanning 2000–2017, covering 182 distinct indicators.

About the source

  • Source: UN Comtrade
  • Publisher: United Nations Statistics Division (UN Comtrade)
  • License: other
  • Topic: International merchandise trade

Geographic coverage

1 Africa countries · top rows shown below, sorted by row count:

Country Rows First year Last year
Algeria 2,014 2000 2017

Indicators (sample)

  • Afghanistan — Afghanistan
  • Albania — Albania
  • Angola — Angola
  • Antigua and Barbuda — Antigua and Barbuda
  • Areas, nes — Areas, nes
  • Argentina — Argentina
  • Armenia — Armenia
  • Australia — Australia
  • Austria — Austria
  • Azerbaijan — Azerbaijan
  • ... and 172 more indicators

Schema

Column Type Description Example
country_name string Algeria
country_iso3 string DZA
partner_name string Angola
partner_iso3 string AGO
year int64 2000
flow string exports
trade_value_usd float64 1977.0

Usage

from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-comtrade-algeria-exports-by-partner")
df = ds["train"].to_pandas()
print(df.head())

Filter to one country

kenya = df[df["country_name"] == "KEN"]

Time-series for a single indicator

sample = (df[df["partner_name"] == "Angola"]
          .sort_values("year"))
sample.plot(x="year", y="trade_value_usd", title="Angola")

Pivot to country × year matrix

matrix = (df[df["partner_name"] == "Angola"]
          .pivot_table(index="year", columns="country_name", values="trade_value_usd"))
print(matrix.tail())

Citation

@misc{africa_comtrade_algeria_exports_by_partner_2017,
  title        = {Algeria — Exports by Trading Partner | Africa (UN Comtrade)},
  author       = {United Nations Statistics Division (UN Comtrade)},
  year         = {2017},
  url          = {https://comtradeplus.un.org/},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-algeria-exports-by-partner}}
}

License

Released under other.

Original data © United Nations Statistics Division (UN Comtrade). When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.

About Electric Sheep

Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on HuggingFace. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use load_dataset() to start working in seconds.

Browse the full collection: huggingface.co/electricsheepafrica


Provenance: ingested 2026-06-17 via the Electric Sheep pipeline. Source URL: https://comtradeplus.un.org/