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
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-regression
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- csv
|
| 14 |
+
- africa
|
| 15 |
+
- namibia
|
| 16 |
+
- official-statistics
|
| 17 |
+
- open-data
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train-00000-of-00001.parquet
|
| 23 |
+
pretty_name: "Namibia - Trade | Africa (Namibia official open data)"
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Namibia - Trade | Africa (Namibia official open data)
|
| 27 |
+
|
| 28 |
+
3,589 rows - 1 Africa country - 1980-2025 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+

|
| 32 |
+

|
| 33 |
+

|
| 34 |
+

|
| 35 |
+
|
| 36 |
+
## TL;DR
|
| 37 |
+
|
| 38 |
+
This dataset packages one official `CSV` resource from **Namibia** as
|
| 39 |
+
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 40 |
+
indicators or tabular columns from the resource stay together in this repo.
|
| 41 |
+
|
| 42 |
+
## About the source
|
| 43 |
+
|
| 44 |
+
- **Source:** [Namibia - Trade](https://data.humdata.org/dataset/world-bank-trade-indicators-for-namibia)
|
| 45 |
+
- **Publisher:** World Bank Group
|
| 46 |
+
- **Resource:** [Trade Indicators for Namibia](https://data.humdata.org/dataset/d9cb31ea-827d-46f7-8155-cf0be20f4d4b/resource/40904efd-24f0-4b32-a63f-2ca41a563420/download/trade_nam.csv)
|
| 47 |
+
- **Format:** `CSV`
|
| 48 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 49 |
+
- **Packaging mode:** `indicator_long`
|
| 50 |
+
|
| 51 |
+
## Geographic coverage
|
| 52 |
+
|
| 53 |
+
1 Africa country:
|
| 54 |
+
|
| 55 |
+
| Country | Rows | First year | Last year | Name |
|
| 56 |
+
|---------|-----:|-----------:|----------:|------|
|
| 57 |
+
| `NAM` | 3,589 | 1980 | 2025 | `Namibia` |
|
| 58 |
+
|
| 59 |
+
## Indicators or Resource Contents
|
| 60 |
+
|
| 61 |
+
- `namibia-trade-6f4dafbd` - Namibia - Trade
|
| 62 |
+
|
| 63 |
+
## Schema
|
| 64 |
+
|
| 65 |
+
| Column | Type | Description | Example |
|
| 66 |
+
|--------|------|-------------|---------|
|
| 67 |
+
| `indicator_id` | `string` | Stable indicator identifier. | `namibia-trade-6f4dafbd` |
|
| 68 |
+
| `indicator_name` | `string` | Human-readable indicator name. | `Namibia - Trade` |
|
| 69 |
+
| `country_iso3` | `string` | ISO3 country code. | `NAM` |
|
| 70 |
+
| `country_name` | `string` | Country name. | `Namibia` |
|
| 71 |
+
| `year` | `Int64` | Observation year. | `2024` |
|
| 72 |
+
| `value` | `float64` | Numeric observation value. | `27.5554321998927` |
|
| 73 |
+
| `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
|
| 74 |
+
| `dimension_country_name` | `string` | Source dimension. | `Namibia` |
|
| 75 |
+
| `dimension_country_iso3` | `string` | Source dimension. | `NAM` |
|
| 76 |
+
| `dimension_indicator_name` | `string` | Source dimension. | `Trade in services (% of GDP)` |
|
| 77 |
+
| `dimension_indicator_code` | `string` | Source dimension. | `BG.GSR.NFSV.GD.ZS` |
|
| 78 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
|
| 79 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
|
| 80 |
+
| `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
|
| 81 |
+
| `source_provider` | `category` | Publishing organization. | `World Bank Group` |
|
| 82 |
+
| `source_dataset` | `category` | Source package title. | `Namibia - Trade` |
|
| 83 |
+
| `source_resource` | `category` | Source resource title. | `Trade Indicators for Namibia` |
|
| 84 |
+
| `source_package_id` | `category` | CKAN package UUID. | `d9cb31ea-827d-46f7-8155-cf0be20f4d4b` |
|
| 85 |
+
| `source_resource_id` | `category` | CKAN resource UUID. | `40904efd-24f0-4b32-a63f-2ca41a563420` |
|
| 86 |
+
| `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/d9cb31ea-827d-46f7-8155-cf0be20f4d4b/re` |
|
| 87 |
+
| `license_id` | `category` | Source license identifier. | `cc-by` |
|
| 88 |
+
| `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-30T05:38:32Z` |
|
| 89 |
+
|
| 90 |
+
## Usage
|
| 91 |
+
|
| 92 |
+
```python
|
| 93 |
+
from datasets import load_dataset
|
| 94 |
+
|
| 95 |
+
ds = load_dataset("electricsheepafrica/africa-namibia-namibia-trade-8e81a459")
|
| 96 |
+
df = ds["train"].to_pandas()
|
| 97 |
+
print(df.head())
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### Filter to one country
|
| 101 |
+
|
| 102 |
+
```python
|
| 103 |
+
sample_country = df[df["country_iso3"] == "NAM"]
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
### Work with indicators
|
| 107 |
+
|
| 108 |
+
```python
|
| 109 |
+
if "indicator_id" in df.columns:
|
| 110 |
+
print(df["indicator_id"].value_counts().head())
|
| 111 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
## Citation
|
| 115 |
+
|
| 116 |
+
```bibtex
|
| 117 |
+
@misc{electric_sheep_africa_africa_namibia_namibia_trade_8e81a459_2025,
|
| 118 |
+
title = {Namibia - Trade | Africa (Namibia official open data)},
|
| 119 |
+
author = {World Bank Group},
|
| 120 |
+
year = {2025},
|
| 121 |
+
url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-namibia},
|
| 122 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 123 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-namibia-namibia-trade-8e81a459}}
|
| 124 |
+
}
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
## License
|
| 128 |
+
|
| 129 |
+
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 130 |
+
|
| 131 |
+
Original data (c) World Bank Group. When using this dataset, please cite both the
|
| 132 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 133 |
+
|
| 134 |
+
## About Electric Sheep
|
| 135 |
+
|
| 136 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 137 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 138 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 139 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 140 |
+
to start working in seconds.
|
| 141 |
+
|
| 142 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
Provenance: ingested 2026-08-30 via the Electric Sheep pipeline. Source URL:
|
| 147 |
+
https://data.humdata.org/dataset/d9cb31ea-827d-46f7-8155-cf0be20f4d4b/resource/40904efd-24f0-4b32-a63f-2ca41a563420/download/trade_nam.csv
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a6116060373c9b7d628f0ab4c1b838427523d57cd974e944512e9deb5b83812
|
| 3 |
+
size 49145
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"indicator_id",
|
| 4 |
+
"indicator_name",
|
| 5 |
+
"country_iso3",
|
| 6 |
+
"country_name",
|
| 7 |
+
"year",
|
| 8 |
+
"value",
|
| 9 |
+
"unit",
|
| 10 |
+
"dimension_country_name",
|
| 11 |
+
"dimension_country_iso3",
|
| 12 |
+
"dimension_indicator_name",
|
| 13 |
+
"dimension_indicator_code",
|
| 14 |
+
"source_period_start_year",
|
| 15 |
+
"source_period_end_year",
|
| 16 |
+
"source_period_label",
|
| 17 |
+
"source_provider",
|
| 18 |
+
"source_dataset",
|
| 19 |
+
"source_resource",
|
| 20 |
+
"source_package_id",
|
| 21 |
+
"source_resource_id",
|
| 22 |
+
"source_url",
|
| 23 |
+
"license_id",
|
| 24 |
+
"retrieved_at"
|
| 25 |
+
],
|
| 26 |
+
"generated_at": "2026-08-30T05:54:14Z",
|
| 27 |
+
"indicator_count": 1,
|
| 28 |
+
"mode": "indicator_long",
|
| 29 |
+
"repo_id": "electricsheepafrica/africa-namibia-namibia-trade-8e81a459",
|
| 30 |
+
"rows": 3589,
|
| 31 |
+
"source": {
|
| 32 |
+
"api_base_url": "https://data.humdata.org/api/3/action",
|
| 33 |
+
"country_iso3": "NAM",
|
| 34 |
+
"country_name": "Namibia",
|
| 35 |
+
"group_names": "nam",
|
| 36 |
+
"license_id": "cc-by",
|
| 37 |
+
"license_title": "Creative Commons Attribution International (CC BY)",
|
| 38 |
+
"license_url": "http://www.opendefinition.org/licenses/cc-by",
|
| 39 |
+
"organization_name": "world-bank-group",
|
| 40 |
+
"organization_title": "World Bank Group",
|
| 41 |
+
"package_id": "d9cb31ea-827d-46f7-8155-cf0be20f4d4b",
|
| 42 |
+
"package_name": "world-bank-trade-indicators-for-namibia",
|
| 43 |
+
"package_notes": "Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-namibia) 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.",
|
| 44 |
+
"package_page_url": "https://data.humdata.org/dataset/world-bank-trade-indicators-for-namibia",
|
| 45 |
+
"package_title": "Namibia - Trade",
|
| 46 |
+
"portal_url": "https://data.humdata.org",
|
| 47 |
+
"resource_description": "csv containing Trade indicators Indicators: Agricultural raw materials exports, Agricultural raw materials imports, Arms imports, Average time to clear exports through customs, Binding coverage, Bound rate, Commercial service exports, Commercial service imports, Communications, Computer, Customs and other import duties, Energy imports, Export unit value index, Export value index, Export volume index, Exports as a capacity to import, Exports of goods, Exports of goods and services, External balance on goods and services, Food exports, Food imports, Fuel exports, Fuel imports, Goods exports, Goods imports, High-technology exports, ICT goods exports, ICT goods imports, ICT service exports, Import unit value index, Import value index, Import volume index, Imports of goods, Imports of goods and services, Insurance and financial services, International tourism, Lead time to export, Lead time to import, Logistics performance index, Manufactures exports, Manufactures imports, Medium and high-tech exports, Merchandise exports, Merchandise exports by the reporting economy, Merchandise exports to economies in the Arab World, Merchandise exports to high-income economies, Merchandise exports to low- and middle-income economies in East Asia & Pacific, Merchandise exports to low- and middle-income economies in Europe & Central Asia, Merchandise exports to low- and middle-income economies in Latin America & the Caribbean, Merchandise exports to low- and middle-income economies in Middle East & North Africa, Merchandise exports to low- and middle-income economies in South Asia, Merchandise exports to low- and middle-income economies in Sub-Saharan Africa, Merchandise exports to low- and middle-income economies outside region, Merchandise exports to low- and middle-income economies within region, Merchandise imports, Merchandise imports by the reporting economy, Merchandise imports from economies in the Arab World, Merchandise imports from high-income economies, Merchandise imports from low- and middle-income economies in East Asia & Pacific, Merchandise imports from low- and middle-income economies in Europe & Central Asia, Merchandise imports from low- and middle-income economies in Latin America & the Caribbean, Merchandise imports from low- and middle-income economies in Middle East & North Africa, Merchandise imports from low- and middle-income economies in South Asia, Merchandise imports from low- and middle-income economies in Sub-Saharan Africa, Merchandise imports from low- and middle-income economies outside region, Merchandise imports from low- and middle-income economies within region, Merchandise trade, Net barter terms of trade index, Net trade in goods, Net trade in goods and services, Ores and metals exports, Ores and metals imports, Service exports, Service imports, Tariff rate, Taxes on exports, Trade, Trade in services, Transport services, Travel services",
|
| 48 |
+
"resource_format": "CSV",
|
| 49 |
+
"resource_id": "40904efd-24f0-4b32-a63f-2ca41a563420",
|
| 50 |
+
"resource_last_modified": "2026-07-17T00:53:10.485801",
|
| 51 |
+
"resource_name": "Trade Indicators for Namibia",
|
| 52 |
+
"resource_position": "0",
|
| 53 |
+
"resource_url": "https://data.humdata.org/dataset/d9cb31ea-827d-46f7-8155-cf0be20f4d4b/resource/40904efd-24f0-4b32-a63f-2ca41a563420/download/trade_nam.csv",
|
| 54 |
+
"tag_names": "indicators,trade"
|
| 55 |
+
},
|
| 56 |
+
"year_max": 2025,
|
| 57 |
+
"year_min": 1980
|
| 58 |
+
}
|