Dataset Viewer
Auto-converted to Parquet Duplicate
country_name
stringclasses
1 value
country_iso3
stringclasses
1 value
commodity_code
stringlengths
6
6
commodity
stringlengths
13
263
year
int64
2k
2.02k
flow
stringclasses
1 value
trade_value_usd
float64
0.03
926M
Benin
BEN
220850
220850 - Gin and geneva
2,000
imports
598,059
Benin
BEN
220860
220860 - Vodka
2,000
imports
7,920
Benin
BEN
220870
220870 - Liqueurs and cordials
2,000
imports
131,152
Benin
BEN
220890
220890 - Spirits, liqueurs and other spirituous beverages; n.e.c. in heading no. 2208
2,000
imports
651,316
Benin
BEN
220900
220900 - Vinegar and substitutes for vinegar; obtained from acetic acid
2,000
imports
37,034
Benin
BEN
230110
230110 - Flours, meals and pellets; of meat or meat offal, greaves
2,000
imports
13,329
Benin
BEN
230120
230120 - Flours, meals and pellets; of fish or of crustaceans, molluscs or other aquatic invertebrates
2,000
imports
59,213
Benin
BEN
210130
210130 - Chicory, roasted and other roasted coffee substitutes; extracts, essences and concentrates thereof
2,000
imports
22,348
Benin
BEN
210120
210120 - Extracts, essences and concentrates; of tea or mate, and preparations with a basis of these extracts, essences or concentrates or with a basis of tea or mate
2,000
imports
1,470
Benin
BEN
210112
210112 - Preparations with a basis of extracts, essences or concentrates or with a basis of coffee
2,000
imports
4,529
Benin
BEN
210111
210111 - Extracts, essences and concentrates; of coffee, and preparations with a basis of these extracts, essences or concentrates or with a basis of coffee
2,000
imports
71,610
Benin
BEN
200990
200990 - Juices; mixtures of fruits or vegetables (but not nut juice), unfermented, not containing added spirit, whether or not containing added sugar or other sweetening matter
2,000
imports
170,395
Benin
BEN
200980
200980 - - Juice of any other single fruit or vegetable
2,000
imports
106,572
Benin
BEN
200970
200970 - Apple juice
2,000
imports
13,727
Benin
BEN
200960
200960 - Grape juice (including grape must)
2,000
imports
14,051
Benin
BEN
200950
200950 - Juice; tomato, unfermented, not containing added spirit, whether or not containing added sugar or other sweetening matter
2,000
imports
277
Benin
BEN
200940
200940 - Pineapple juice
2,000
imports
11,801
Benin
BEN
200590
200590 - - Other vegetables and Mixtures Of vegetables
2,000
imports
181,315
Benin
BEN
200580
200580 - Vegetable preparations; sweetcorn (zea mays var. saccharata), prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
12,763
Benin
BEN
200570
200570 - Vegetable preparations; olives, prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
94,985
Benin
BEN
200560
200560 - Vegetable preparations; asparagus, prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
412
Benin
BEN
200559
200559 - Vegetable preparations; beans, (not shelled), prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
37,864
Benin
BEN
200551
200551 - Vegetable preparations; beans, shelled, prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
1,408
Benin
BEN
200540
200540 - Vegetable preparations; peas (pisum sativum), prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
84,068
Benin
BEN
200520
200520 - Vegetable preparations; potatoes, prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
6,175
Benin
BEN
200510
200510 - Vegetable preparations; homogenised vegetables, prepared or preserved otherwise than by vinegar or acetic acid, not frozen
2,000
imports
19,415
Benin
BEN
200490
200490 - Vegetable preparations; vegetables and mixtures of vegetables (excluding potatoes), prepared or preserved otherwise than by vinegar or acetic acid, frozen
2,000
imports
829
Benin
BEN
200410
200410 - Vegetable preparations; potatoes, prepared or preserved otherwise than by vinegar or acetic acid, frozen
2,000
imports
2,790
Benin
BEN
190420
190420 - Food preparations; obtained from unroasted cereal flakes or from mixtures of unroasted cereal flakes and roasted cereal flakes or swelled cereals
2,000
imports
11,724
Benin
BEN
190410
190410 - Food preparations; obtained by the swelling or roasting of cereals or cereal products
2,000
imports
18,877
Benin
BEN
190240
190240 - Food preparations; couscous
2,000
imports
336,515
Benin
BEN
190230
190230 - Food preparations; pasta (excluding stuffed), cooked or otherwise prepared
2,000
imports
1,881,594
Benin
BEN
190220
190220 - Food preparations; pasta, stuffed (with meat or other substances), whether or not cooked or otherwise prepared
2,000
imports
226
Benin
BEN
190219
190219 - Food preparations; pasta, uncooked (excluding that containing eggs), not stuffed or otherwise prepared
2,000
imports
1,517,262
Benin
BEN
190211
190211 - Food preparations; pasta, containing eggs, uncooked, not stuffed or otherwise prepared
2,000
imports
2,170
Benin
BEN
190190
190190 - Food preparations; of flour, meal, starch, malt extract or milk products, for uses n.e.c. in heading no. 1901
2,000
imports
16,759
Benin
BEN
190120
190120 - Food preparations; mixes and doughs for the preparation of bread, pastry, cakes, biscuits and other bakers' wares
2,000
imports
5,056
Benin
BEN
190110
190110 - Food preparations; of flour, meal, starch, malt extract or milk products, suitable for infants or young children, put up for retail sale
2,000
imports
161,235
Benin
BEN
180690
180690 - Chocolate and other food preparations containing cocoa; n.e.c. in chapter 18
2,000
imports
118,705
Benin
BEN
180632
180632 - Chocolate and other food preparations containing cocoa; in blocks, slabs or bars, (not filled), weighing 2kg or less
2,000
imports
34,214
Benin
BEN
180631
180631 - Chocolate and other food preparations containing cocoa; in blocks, slabs or bars, filled, weighing 2kg or less
2,000
imports
1,571
Benin
BEN
180620
180620 - Chocolate & other food preparations containing cocoa; in blocks, slabs or bars weighing more than 2kg or in liquid, paste, powder, granular or other bulk form in containers or immediate packings, content exceeding 2kg
2,000
imports
1,951
Benin
BEN
180610
180610 - Cocoa; powder, containing added sugar or other sweetening matter
2,000
imports
19,203
Benin
BEN
180500
180500 - Cocoa; powder, not containing added sugar or other sweetening matter
2,000
imports
251
Benin
BEN
170490
170490 - Sugar confectionery; (excluding chewing gum, including white chocolate), not containing cocoa
2,000
imports
125,253
Benin
BEN
170410
170410 - Sugar confectionery; chewing gum, whether or not sugar-coated, not containing cocoa
2,000
imports
27,772
Benin
BEN
170290
170290 - Sugars; n.e.c. in heading no. 1702, including invert sugar and other sugar and sugar syrup blends containing, in the dry state, 50% by weight of fructose
2,000
imports
3,438
Benin
BEN
170230
170230 - Sugars; glucose and glucose syrup, not containing fructose or containing in the dry state less than 20% by weight of fructose, the syrup not containing added flavouring or colouring matter
2,000
imports
199
Benin
BEN
170199
170199 - Sugars; sucrose, chemically pure, in solid form, not containing added flavouring or colouring matter
2,000
imports
4,599,515
Benin
BEN
170191
170191 - Sugars; sucrose, chemically pure, in solid form, containing added flavouring or colouring matter
2,000
imports
405,983
Benin
BEN
170111
170111 - -- Cane sugar
2,000
imports
544
Benin
BEN
160590
160590 - - Other
2,000
imports
2,020
Benin
BEN
160520
160520 - - Shrimps and prawns
2,000
imports
1,005
Benin
BEN
160420
160420 - Fish preparations; fish minced or in forms n.e.c. in heading no. 1604, prepared or preserved
2,000
imports
1,947
Benin
BEN
160419
160419 - Fish preparations; fish prepared or preserved, whole or in pieces (but not minced), n.e.c. in heading no. 1604
2,000
imports
2,606
Benin
BEN
160100
160100 - Meat preparations; sausages and similar products, of meat, meat offal, blood or insects, and food preparations based on these products
2,000
imports
32,211
Benin
BEN
152190
152190 - Waxes, other than vegetable, n.e.c. in heading no. 1521; whether or not refined or coloured
2,000
imports
148,878
Benin
BEN
151790
151790 - Edible mixtures or preparations of animal, vegetable or microbial fats or oils or of fractions of different fats or oils of this Chapter, n.e.c. in heading 1517, other than edible fats and oils or their fractions of heading 15.16
2,000
imports
52,002
Benin
BEN
151710
151710 - Margarine; excluding liquid margarine
2,000
imports
2,253,038
Benin
BEN
151620
151620 - Vegetable fats and oils and their fractions; partly or wholly hydrogenated, inter-esterified, re-esterified or elaidinised, whether or not refined, but not further prepared
2,000
imports
939,185
Benin
BEN
151590
151590 - Fixed vegetable fats and oils and their fractions n.e.c. in heading 1515; other than linseed, maize (corn), castor, sesame, microbial oils, whether or not refined, but not chemically modified
2,000
imports
277,377
Benin
BEN
151530
151530 - Vegetable oils; castor oil and its fractions, whether or not refined, but not chemically modified
2,000
imports
1,221
Benin
BEN
151529
151529 - Vegetable oils; maize (corn) oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
1,885
Benin
BEN
151519
151519 - Vegetable oils; linseed oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
535
Benin
BEN
151511
151511 - Vegetable oils; linseed oil and its fractions, crude, not chemically modified
2,000
imports
376
Benin
BEN
151490
151490 - Other
2,000
imports
635,532
Benin
BEN
151319
151319 - Vegetable oils; coconut (copra) oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
49
Benin
BEN
151311
151311 - Vegetable oils; coconut (copra) oil and its fractions, crude, not chemically modified
2,000
imports
180
Benin
BEN
151229
151229 - Vegetable oils; cotton-seed oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
938
Benin
BEN
151219
151219 - Vegetable oils; sunflower seed or safflower oil and their fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
41,085
Benin
BEN
151190
151190 - Vegetable oils; palm oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
1,768,290
Benin
BEN
151110
151110 - Vegetable oils; palm oil and its fractions, crude, not chemically modified
2,000
imports
940,762
Benin
BEN
151000
151000 - Vegetable oils; oils and their fractions n.e.c. in chapter 15, obtained solely from olives, whether or not refined, but not chemically modified, including blends of these oils or fractions with oils or fractions of heading no. 1509
2,000
imports
5,615
Benin
BEN
150990
150990 - Vegetable oils; olive oil and its fractions, other than virgin, whether or not refined, but not chemically modified
2,000
imports
28,591
Benin
BEN
150910
150910 - Vegetable oils; olive oil and its fractions, virgin, whether or not refined, but not chemically modified
2,000
imports
4,662
Benin
BEN
150890
150890 - Vegetable oils; ground-nut oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
4,202
Benin
BEN
150790
150790 - Vegetable oils; soya-bean oil and its fractions, other than crude, whether or not refined, but not chemically modified
2,000
imports
49,261
Benin
BEN
140490
140490 - Vegetable products; n.e.c. in chapter 14
2,000
imports
8,820
Benin
BEN
130213
130213 - Vegetable saps and extracts; of hops
2,000
imports
352,267
Benin
BEN
130190
130190 - Natural gums, resins, gum-resins and oleoresins, n.e.c. in heading no. 1301
2,000
imports
315
Benin
BEN
121220
121220 - - Seaweeds and other algae
2,000
imports
870
Benin
BEN
121190
121190 - Plants and parts (including seeds and fruits) n.e.c. in heading no. 1211, of a kind used primarily in perfumery, in pharmacy or for insecticidal, fungicidal or similar purposes, fresh, chilled, frozen or dried, whether or not cut, crushed or powdered
2,000
imports
15,838
Benin
BEN
121020
121020 - Hop cones; ground, powdered or in the form of pellets; lupulin
2,000
imports
160
Benin
BEN
120999
120999 - Seeds; n.e.c. in heading 1209, of a kind used for sowing
2,000
imports
12,336
Benin
BEN
120991
120991 - Seeds; vegetable seeds, of a kind used for sowing
2,000
imports
11,721
Benin
BEN
120930
120930 - Seeds of herbaceous plants; cultivated principally for their flowers, of a kind used for sowing
2,000
imports
3,446
Benin
BEN
120919
120919 - Beet seed :-- Other
2,000
imports
892
Benin
BEN
120799
120799 - Oil seeds and oleaginous fruits; n.e.c. in heading no. 1207, whether or not broken
2,000
imports
82
Benin
BEN
120100
120100 - Soya beans, whether or not broken.
2,000
imports
212,942
Benin
BEN
110900
110900 - Wheat gluten; whether or not dried
2,000
imports
12,985
Benin
BEN
110819
110819 - Starch; n.e.c. in item no. 1108.11 to 1108.14
2,000
imports
88
Benin
BEN
110813
110813 - Starch; potato
2,000
imports
336
Benin
BEN
110710
110710 - Malt; not roasted
2,000
imports
1,680,955
Benin
BEN
110520
110520 - Flakes, granules and pellets; of potatoes
2,000
imports
1,683
Benin
BEN
110423
110423 - Cereal grains; worked (e.g. hulled, pearled, sliced or kibbled) of maize (corn)
2,000
imports
167,186
Benin
BEN
110311
110311 - Cereal groats and meal; of wheat
2,000
imports
1,701
Benin
BEN
110290
110290 - Cereal flours; other than wheat, meslin, and maize (corn)
2,000
imports
2,778
Benin
BEN
110220
110220 - Cereal flour; of maize (corn)
2,000
imports
2,406
Benin
BEN
110210
110210 - - Rye flour
2,000
imports
361
Benin
BEN
110100
110100 - Wheat or meslin flour
2,000
imports
4,773,992
End of preview. Expand in Data Studio

Benin β€” Imports by Commodity (HS6) | Africa (UN Comtrade)

🌍 192,089 observations Β· 1 Africa countries Β· 2000–2023 Β· Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset contains 192,089 observations of International merchandise trade data across 1 Africa countries, spanning 2000–2023, covering 5383 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
Benin 192,089 2000 2023

Indicators (sample)

  • 010110 β€” 010110 - - Pure-bred breeding animals
  • 010119 β€” 010119 - Horses :-- Other
  • 010121 β€” 010121 - Horses; live, pure-bred breeding animals
  • 010129 β€” 010129 - Horses; live, other than pure-bred breeding animals
  • 010130 β€” 010130 - Asses; live
  • 010190 β€” 010190 - Mules and hinnies; live
  • 010210 β€” 010210 - - Pure-bred breeding animals
  • 010229 β€” 010229 - Cattle; live, other than pure-bred breeding animals
  • 010290 β€” 010290 - Bovine animals; live, other than cattle and buffalo
  • 010310 β€” 010310 - Swine; live, pure-bred breeding animals
  • ... and 5373 more indicators

Schema

Column Type Description Example
country_name string β€” Benin
country_iso3 string β€” BEN
commodity_code string β€” 220850
commodity string β€” 220850 - Gin and geneva
year int64 β€” 2000
flow string β€” imports
trade_value_usd float64 β€” 598059.0

Usage

from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-comtrade-benin-imports-by-commodity")
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["commodity_code"] == "220850"]
          .sort_values("year"))
sample.plot(x="year", y="trade_value_usd", title="220850")

Pivot to country Γ— year matrix

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

Citation

@misc{africa_comtrade_benin_imports_by_commodity_2023,
  title        = {Benin β€” Imports by Commodity (HS6) | 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-benin-imports-by-commodity}}
}

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/

Downloads last month
33