--- license: other language: - en task_categories: - tabular-classification - tabular-regression - time-series-forecasting multilinguality: monolingual size_categories: - n<1K tags: - tabular - africa - un-comtrade - international-merchandise-trade - trade - exports-imports - hs - bilateral - time-series pretty_name: "Central African Rep. โ€” Exports by Trading Partner | Africa (UN Comtrade)" --- # Central African Rep. โ€” Exports by Trading Partner | Africa (UN Comtrade) ๐ŸŒ **925 observations** ยท **1 Africa countries** ยท **2000โ€“2023** ยท *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)* ![rows](https://img.shields.io/badge/rows-925-blue) ![countries](https://img.shields.io/badge/countries-1-green) ![years](https://img.shields.io/badge/years-2000โ€“2023-orange) ![indicators](https://img.shields.io/badge/indicators-119-purple) ![license](https://img.shields.io/badge/license-other-lightgrey) ## TL;DR This dataset contains **925 observations** of `International merchandise trade` data across **1 Africa countries**, spanning **2000โ€“2023**, covering **119 distinct indicators**. ## About the source - **Source:** [UN Comtrade](https://comtradeplus.un.org/) - **Publisher:** United Nations Statistics Division (UN Comtrade) - **License:** [other](https://comtradeplus.un.org/TermsOfUse) - **Topic:** International merchandise trade ## Geographic coverage 1 Africa countries ยท top rows shown below, sorted by row count: | Country | Rows | First year | Last year | |---------|-----:|-----------:|----------:| | `Central African Rep.` | 925 | 2000 | 2023 | ## Indicators (sample) - `Afghanistan` โ€” Afghanistan - `Albania` โ€” Albania - `Algeria` โ€” Algeria - `Andorra` โ€” Andorra - `Angola` โ€” Angola - `Areas, nes` โ€” Areas, nes - `Argentina` โ€” Argentina - `Australia` โ€” Australia - `Austria` โ€” Austria - `Bangladesh` โ€” Bangladesh - _... and 109 more indicators_ ## Schema | Column | Type | Description | Example | |--------|------|-------------|---------| | `country_name` | `string` | โ€” | `Central African Rep.` | | `country_iso3` | `string` | โ€” | `CAF` | | `partner_name` | `string` | โ€” | `Dem. Rep. of the Congo` | | `partner_iso3` | `string` | โ€” | `COD` | | `year` | `int64` | โ€” | `2001` | | `flow` | `string` | โ€” | `exports` | | `trade_value_usd` | `float64` | โ€” | `289412.0` | ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-comtrade-central-african-rep-exports-by-partner") df = ds["train"].to_pandas() print(df.head()) ``` ### Filter to one country ```python kenya = df[df["country_name"] == "KEN"] ``` ### Time-series for a single indicator ```python sample = (df[df["partner_name"] == "Dem. Rep. of the Congo"] .sort_values("year")) sample.plot(x="year", y="trade_value_usd", title="Dem. Rep. of the Congo") ``` ### Pivot to country ร— year matrix ```python matrix = (df[df["partner_name"] == "Dem. Rep. of the Congo"] .pivot_table(index="year", columns="country_name", values="trade_value_usd")) print(matrix.tail()) ``` ## Citation ```bibtex @misc{africa_comtrade_central_african_rep_exports_by_partner_2023, title = {Central African Rep. โ€” Exports by Trading Partner | Africa (UN Comtrade)}, author = {United Nations Statistics Division (UN Comtrade)}, year = {2023}, url = {https://comtradeplus.un.org/}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-central-african-rep-exports-by-partner}} } ``` ## License Released under [other](https://comtradeplus.un.org/TermsOfUse). 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](https://huggingface.co/electricsheepafrica) --- _Provenance: ingested 2026-06-17 via the Electric Sheep pipeline. Source URL: https://comtradeplus.un.org/_