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.02 6.43B |
|---|---|---|---|---|---|---|
Botswana | BWA | 050400 | 050400 - Animal products; guts, bladders and stomachs of animals (other than fish), whole and pieces thereof, fresh, chilled, frozen, salted, in brine, dried or smoked | 2,000 | exports | 1,191 |
Botswana | BWA | 050610 | 050610 - Animal products; ossein and bones treated with acid | 2,000 | exports | 802 |
Botswana | BWA | 071290 | 071290 - Vegetables; mixtures of vegetables n.e.c. in heading no. 0712, whole, cut, sliced, broken or in powder but not further prepared, dried | 2,000 | exports | 2 |
Botswana | BWA | 151229 | 151229 - Vegetable oils; cotton-seed oil and its fractions, other than crude, whether or not refined, but not chemically modified | 2,000 | exports | 149 |
Botswana | BWA | 151319 | 151319 - Vegetable oils; coconut (copra) oil and its fractions, other than crude, whether or not refined, but not chemically modified | 2,000 | exports | 18 |
Botswana | BWA | 040210 | 040210 - Dairy produce; milk and cream, concentrated or containing added sugar or other sweetening matter, in powder, granules or other solid forms, of a fat content not exceeding 1.5% (by weight) | 2,000 | exports | 16,487 |
Botswana | BWA | 040221 | 040221 - Dairy produce; milk and cream, concentrated, not containing added sugar or other sweetening matter, in powder, granules or other solid forms, of a fat content exceeding 1.5% (by weight) | 2,000 | exports | 9,031 |
Botswana | BWA | 040229 | 040229 - Dairy produce; milk and cream, containing added sugar or other sweetening matter, in powder, granules or other solid forms, of a fat content exceeding 1.5% (by weight) | 2,000 | exports | 13,895 |
Botswana | BWA | 040299 | 040299 - Dairy produce; milk and cream, containing added sugar or other sweetening matter, other than in powder, granules or other solid forms | 2,000 | exports | 18,491 |
Botswana | BWA | 040310 | 040310 - Dairy produce; yoghurt, whether or not concentrated or containing added sugar or other sweetening matter or flavoured or containing added fruit or cocoa | 2,000 | exports | 34 |
Botswana | BWA | 040390 | 040390 - Dairy produce; buttermilk, curdled milk or cream, kephir, fermented or acidified milk or cream, whether or not concentrated or containing added sweetening, flavouring, fruit, nuts or cocoa (excluding yoghurt) | 2,000 | exports | 2,274 |
Botswana | BWA | 040490 | 040490 - Dairy produce; natural milk constituents (excluding whey), whether or not containing added sugar or other sweetening matter, n.e.c. in chapter 04 | 2,000 | exports | 639 |
Botswana | BWA | 040590 | 040590 - Dairy produce; fats and oils derived from milk (other than butter or dairy spreads) | 2,000 | exports | 1,055 |
Botswana | BWA | 040620 | 040620 - Dairy produce; cheese of all kinds, grated or powdered | 2,000 | exports | 2,626 |
Botswana | BWA | 040630 | 040630 - Dairy produce; cheese, processed (not grated or powdered) | 2,000 | exports | 1,505 |
Botswana | BWA | 040700 | 040700 - Birds' eggs, in shell, fresh, preserved or cooked. | 2,000 | exports | 88 |
Botswana | BWA | 040819 | 040819 - Eggs; birds' eggs, yolks, fresh, cooked by steaming or by boiling in water, moulded, frozen or otherwise preserved, whether or not containing added sugar or other sweetening matter | 2,000 | exports | 402 |
Botswana | BWA | 041000 | 041000 - Animal products; edible, n.e.c. in this or other chapters | 2,000 | exports | 162 |
Botswana | BWA | 050790 | 050790 - Animal products; tortoise-shell, whalebone and whalebone hair, horns, antlers, hooves, nails, claws and beaks, unworked or simply prepared but not cut to shape, waste and powder of these products | 2,000 | exports | 30 |
Botswana | BWA | 050900 | 050900 - Natural sponges of animal origin | 2,000 | exports | 27 |
Botswana | BWA | 051000 | 051000 - Animal products; ambergris, castoreum, civet, musk, cantharides, bile (dried or not) glands and other animal products, for pharmaceutical purposes, fresh, chilled, frozen or otherwise provisionally preserved | 2,000 | exports | 30 |
Botswana | BWA | 051199 | 051199 - Animal products; n.e.c. in chapter 5 | 2,000 | exports | 627 |
Botswana | BWA | 060210 | 060210 - Plants, live; unrooted cuttings and slips | 2,000 | exports | 19 |
Botswana | BWA | 060290 | 060290 - Plants, live; n.e.c. in heading no. 0602 | 2,000 | exports | 468 |
Botswana | BWA | 060390 | 060390 - Flowers, cut; flowers and flower buds of a kind suitable for bouquets or ornamental purposes, dried, dyed, bleached, impregnated or otherwise prepared | 2,000 | exports | 141 |
Botswana | BWA | 060499 | 060499 - -- Other | 2,000 | exports | 430 |
Botswana | BWA | 070110 | 070110 - Vegetables; seed potatoes, fresh or chilled | 2,000 | exports | 14 |
Botswana | BWA | 070190 | 070190 - Vegetables; potatoes (other than seed), fresh or chilled | 2,000 | exports | 5,835 |
Botswana | BWA | 070200 | 070200 - Vegetables; tomatoes, fresh or chilled | 2,000 | exports | 2,234 |
Botswana | BWA | 070310 | 070310 - Vegetables, alliaceous; onions and shallots, fresh or chilled | 2,000 | exports | 46,146 |
Botswana | BWA | 070320 | 070320 - Vegetables, alliaceous; garlic, fresh or chilled | 2,000 | exports | 309 |
Botswana | BWA | 070390 | 070390 - Vegetables, alliaceous; leeks and other kinds n.e.c. in heading no. 0703, fresh or chilled | 2,000 | exports | 184 |
Botswana | BWA | 070410 | 070410 - Vegetables, brassica; cauliflowers and broccoli, fresh or chilled | 2,000 | exports | 497 |
Botswana | BWA | 070420 | 070420 - Vegetables, brassica; brussel sprouts, fresh or chilled | 2,000 | exports | 10 |
Botswana | BWA | 070490 | 070490 - Vegetables, brassica; edible, n.e.c. in heading no. 0704, fresh or chilled | 2,000 | exports | 60 |
Botswana | BWA | 070511 | 070511 - Vegetables; cabbage (head) lettuce (lactuca sativa), fresh or chilled | 2,000 | exports | 223 |
Botswana | BWA | 070519 | 070519 - Vegetables; lettuce (lactuca sativa), (other than cabbage lettuce), fresh or chilled | 2,000 | exports | 199 |
Botswana | BWA | 070610 | 070610 - Vegetables, root; carrots and turnips, fresh or chilled | 2,000 | exports | 23,211 |
Botswana | BWA | 070690 | 070690 - Vegetables, root; salad beetroot, salsify, celeric, radishes and similar edible roots, fresh or chilled | 2,000 | exports | 834 |
Botswana | BWA | 070700 | 070700 - Vegetables; cucumbers and gherkins, fresh or chilled | 2,000 | exports | 149 |
Botswana | BWA | 070810 | 070810 - Vegetables, leguminous; peas (pisum sativum), shelled or unshelled, fresh or chilled | 2,000 | exports | 48 |
Botswana | BWA | 070820 | 070820 - Vegetables, leguminous; beans (vigna spp., phaseolus spp.), shelled or unshelled, fresh or chilled | 2,000 | exports | 378 |
Botswana | BWA | 070890 | 070890 - Vegetables, leguminous; (other than peas and beans), shelled or unshelled, fresh or chilled | 2,000 | exports | 21 |
Botswana | BWA | 070910 | 070910 - - Globe artichokes | 2,000 | exports | 35 |
Botswana | BWA | 070930 | 070930 - Vegetables; aubergines, (e.g. plants), fresh or chilled | 2,000 | exports | 60 |
Botswana | BWA | 070940 | 070940 - Vegetables; celery (other than celeriac), fresh or chilled | 2,000 | exports | 211 |
Botswana | BWA | 070951 | 070951 - Vegetables; mushrooms of the genus Agaricus, fresh or chilled | 2,000 | exports | 61 |
Botswana | BWA | 070952 | 070952 - Vegetables; mushrooms of the genus Boletus, fresh or chilled | 2,000 | exports | 3,730 |
Botswana | BWA | 070960 | 070960 - Vegetables; fruits of the genus capsicum or of the genus pimenta, fresh or chilled | 2,000 | exports | 8 |
Botswana | BWA | 070970 | 070970 - Vegetables; spinach, New Zealand spinach and orache spinach (garden spinach), fresh or chilled | 2,000 | exports | 387 |
Botswana | BWA | 070990 | 070990 - - Other | 2,000 | exports | 572 |
Botswana | BWA | 071010 | 071010 - Vegetables; potatoes, uncooked or cooked by steaming or boiling in water, frozen | 2,000 | exports | 2,515 |
Botswana | BWA | 071022 | 071022 - Vegetables, leguminous; beans (vigna spp., phaseolus spp.), shelled or unshelled, uncooked or cooked by steaming or boiling in water, frozen | 2,000 | exports | 27 |
Botswana | BWA | 071030 | 071030 - Vegetables; spinach, New Zealand spinach and orache spinach (garden spinach), uncooked or cooked by steaming or boiling in water, frozen | 2,000 | exports | 4 |
Botswana | BWA | 071040 | 071040 - Vegetables; sweetcorn, uncooked or cooked by steaming or boiling in water, frozen | 2,000 | exports | 6 |
Botswana | BWA | 071080 | 071080 - Vegetables; uncooked or cooked by steaming or boiling in water, n.e.c. in heading no. 0710, frozen | 2,000 | exports | 51 |
Botswana | BWA | 071090 | 071090 - Vegetable mixtures; uncooked or cooked by steaming or boiling in water, frozen | 2,000 | exports | 70 |
Botswana | BWA | 071110 | 071110 - Onions | 2,000 | exports | 6 |
Botswana | BWA | 071190 | 071190 - Vegetables and mixed vegetables; n.e.c. in heading no. 0711, provisionally preserved but unsuitable in that state for immediate consumption | 2,000 | exports | 6,149 |
Botswana | BWA | 071220 | 071220 - Vegetables; onions, whole, cut, sliced, broken or in powder but not further prepared, dried | 2,000 | exports | 50 |
Botswana | BWA | 071230 | 071230 - Mushrooms and truffles | 2,000 | exports | 131 |
Botswana | BWA | 071310 | 071310 - Vegetables, leguminous; peas (pisum sativum), shelled, whether or not skinned or split, dried | 2,000 | exports | 24 |
Botswana | BWA | 071339 | 071339 - Vegetables, leguminous; n.e.c. in item no. 0713.3, shelled, whether or not skinned or split, dried | 2,000 | exports | 3,290 |
Botswana | BWA | 071420 | 071420 - Vegetable roots and tubers; sweet potatoes, with high starch or inulin content, fresh, chilled, frozen or dried, whether or not sliced or in the form of pellets | 2,000 | exports | 5 |
Botswana | BWA | 071490 | 071490 - Vegetable roots and tubers; arrowroot, salep, Jerusalem artichokes and similar roots and tubers (not manioc, sweet potatoes, yams, taro or yautia), high starch or inulin content, fresh, chilled, frozen, dried, sliced or not, or in pellet form; sago pith | 2,000 | exports | 39,322 |
Botswana | BWA | 080111 | 080111 - Nuts, edible; coconuts, desiccated | 2,000 | exports | 456 |
Botswana | BWA | 080121 | 080121 - Nuts, edible; brazil nuts, fresh or dried, in shell | 2,000 | exports | 8,728 |
Botswana | BWA | 080122 | 080122 - Nuts, edible; brazil nuts, fresh or dried, shelled | 2,000 | exports | 55 |
Botswana | BWA | 080132 | 080132 - Nuts, edible; cashew nuts, fresh or dried, shelled | 2,000 | exports | 47 |
Botswana | BWA | 080211 | 080211 - Nuts, edible; almonds, fresh or dried, in shell | 2,000 | exports | 115 |
Botswana | BWA | 080250 | 080250 - - Pistachios | 2,000 | exports | 3 |
Botswana | BWA | 080290 | 080290 - Nuts, edible; n.e.c. in heading no. 0801 and 0802, fresh or dried, whether or not shelled or peeled | 2,000 | exports | 76 |
Botswana | BWA | 080300 | 080300 - Bananas, including plantains, fresh or dried. | 2,000 | exports | 6,055 |
Botswana | BWA | 080420 | 080420 - Fruit, edible; figs, fresh or dried | 2,000 | exports | 58 |
Botswana | BWA | 080430 | 080430 - Fruit, edible; pineapples, fresh or dried | 2,000 | exports | 25 |
Botswana | BWA | 080440 | 080440 - Fruit, edible; avocados, fresh or dried | 2,000 | exports | 12 |
Botswana | BWA | 080450 | 080450 - Fruit, edible; guavas, mangoes and mangosteens, fresh or dried | 2,000 | exports | 841 |
Botswana | BWA | 080510 | 080510 - Fruit, edible; oranges, fresh or dried | 2,000 | exports | 861 |
Botswana | BWA | 080520 | 080520 - -Mandarins (including tangerines and satsumas); clementines, wilkings and similar citrus hybrids | 2,000 | exports | 39 |
Botswana | BWA | 080610 | 080610 - Fruit, edible; grapes, fresh | 2,000 | exports | 993 |
Botswana | BWA | 080620 | 080620 - Fruit, edible; grapes, dried | 2,000 | exports | 14 |
Botswana | BWA | 080711 | 080711 - Fruit, edible; watermelons, fresh | 2,000 | exports | 71 |
Botswana | BWA | 080720 | 080720 - Fruit, edible; papaws (papayas), fresh | 2,000 | exports | 10,172 |
Botswana | BWA | 080810 | 080810 - Fruit, edible; apples, fresh | 2,000 | exports | 1,414 |
Botswana | BWA | 080820 | 080820 - - Pears and quinces | 2,000 | exports | 746 |
Botswana | BWA | 080920 | 080920 - - Cherries | 2,000 | exports | 668 |
Botswana | BWA | 080930 | 080930 - Fruit, edible; peaches, including nectarines, fresh | 2,000 | exports | 276 |
Botswana | BWA | 080940 | 080940 - Fruit, edible; plums and sloes, fresh | 2,000 | exports | 88 |
Botswana | BWA | 081090 | 081090 - Fruit, edible; fruits n.e.c. in heading no. 0801 to 0810, fresh | 2,000 | exports | 129 |
Botswana | BWA | 081110 | 081110 - Fruit, edible; strawberries, uncooked or cooked by steaming or boiling in water, frozen, whether or not containing added sugar or other sweetening matter | 2,000 | exports | 2 |
Botswana | BWA | 081190 | 081190 - Fruit, edible; fruit and nuts n.e.c. in heading no. 0811, uncooked or cooked, frozen whether or not containing added sugar or other sweetening matter | 2,000 | exports | 25 |
Botswana | BWA | 081210 | 081210 - Fruit, edible; cherries, provisionally preserved, but unsuitable in that state for immediate consumption | 2,000 | exports | 15 |
Botswana | BWA | 081220 | 081220 - Strawberries | 2,000 | exports | 261 |
Botswana | BWA | 081310 | 081310 - Fruit, edible; apricots, dried | 2,000 | exports | 6 |
Botswana | BWA | 081320 | 081320 - Fruit, edible; prunes, dried | 2,000 | exports | 974 |
Botswana | BWA | 081330 | 081330 - Fruit, edible; apples, dried | 2,000 | exports | 41 |
Botswana | BWA | 081340 | 081340 - Fruit, edible; fruit n.e.c. in heading no. 0812, dried | 2,000 | exports | 5,433 |
Botswana | BWA | 081350 | 081350 - Nuts, edible; mixtures of nuts or dried fruits of chapter 08 | 2,000 | exports | 919 |
Botswana | BWA | 081400 | 081400 - Peel; of citrus fruit or melons (including watermelons), fresh, frozen, dried or provisionally preserved in brine, in sulphur water and other preservative solutions | 2,000 | exports | 27 |
Botswana | BWA | 090111 | 090111 - Coffee; not roasted or decaffeinated | 2,000 | exports | 8,016 |
Botswana β Exports by Commodity (HS6) | Africa (UN Comtrade)
π 106,222 observations Β· 1 Africa countries Β· 2000β2023 Β· Repackaged by Electric Sheep Africa
TL;DR
This dataset contains 106,222 observations of International merchandise trade data across 1 Africa countries, spanning 2000β2023, covering 5539 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 |
|---|---|---|---|
Botswana |
106,222 | 2000 | 2023 |
Indicators (sample)
010110β 010110 - - Pure-bred breeding animals010111β 010111 - Horses :-- Pure-bred breeding animals010119β 010119 - Horses :-- Other010120β 010120 - Asses, mules and hinnies010121β 010121 - Horses; live, pure-bred breeding animals010129β 010129 - Horses; live, other than pure-bred breeding animals010130β 010130 - Asses; live010190β 010190 - Mules and hinnies; live010210β 010210 - - Pure-bred breeding animals010221β 010221 - Cattle; live, pure-bred breeding animals- ... and 5529 more indicators
Schema
| Column | Type | Description | Example |
|---|---|---|---|
country_name |
string |
β | Botswana |
country_iso3 |
string |
β | BWA |
commodity_code |
string |
β | 050400 |
commodity |
string |
β | 050400 - Animal products; guts, bladdβ¦ |
year |
int64 |
β | 2000 |
flow |
string |
β | exports |
trade_value_usd |
float64 |
β | 1191.0 |
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-comtrade-botswana-exports-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"] == "050400"]
.sort_values("year"))
sample.plot(x="year", y="trade_value_usd", title="050400")
Pivot to country Γ year matrix
matrix = (df[df["commodity_code"] == "050400"]
.pivot_table(index="year", columns="country_name", values="trade_value_usd"))
print(matrix.tail())
Citation
@misc{africa_comtrade_botswana_exports_by_commodity_2023,
title = {Botswana β Exports 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-botswana-exports-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
- 35