Kossisoroyce commited on
Commit
91c039d
·
verified ·
1 Parent(s): 21d3eb9

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -32
README.md CHANGED
@@ -1,36 +1,147 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country_name
5
- dtype: string
6
- - name: country_iso3
7
- dtype: string
8
- - name: year
9
- dtype: int64
10
- - name: indicator_name
11
- dtype: string
12
- - name: indicator_code
13
- dtype: string
14
- - name: value
15
- dtype: float64
16
- - name: esa_source
17
- dtype: string
18
- - name: esa_processed
19
- dtype: string
20
  splits:
21
- - name: train
22
- num_bytes: 470450
23
- num_examples: 3358
24
- - name: test
25
- num_bytes: 117668
26
- num_examples: 840
27
- download_size: 80147
28
- dataset_size: 588118
29
- configs:
30
- - config_name: default
31
- data_files:
32
- - split: train
33
- path: data/train-*
34
- - split: test
35
- path: data/test-*
36
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-4.0
9
+ multilinguality:
10
+ - monolingual
11
+ size_categories:
12
+ - 1K<n<10K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - indicators
25
+ - trade
26
+ - zwe
27
+ pretty_name: "Zimbabwe - Trade"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 3358
32
+ - name: test
33
+ num_examples: 839
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Zimbabwe - Trade
37
+
38
+ **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-trade-indicators-for-zimbabwe) · **License:** `cc-by` · **Updated:** 2026-03-27
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ 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-zimbabwe) on HDX.
45
+
46
+ 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.
47
+
48
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **ZWE**.
49
+
50
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
51
+
52
+ ---
53
+
54
+ ## Dataset Characteristics
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Domain** | Poverty and economic vulnerability |
59
+ | **Unit of observation** | Country-level aggregates |
60
+ | **Rows (total)** | 4,198 |
61
+ | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
62
+ | **Train split** | 3,358 rows |
63
+ | **Test split** | 839 rows |
64
+ | **Geographic scope** | ZWE |
65
+ | **Publisher** | World Bank Group |
66
+ | **HDX last updated** | 2026-03-27 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country_name` (Zimbabwe), `country_iso3` (ZWE), `year` (range 1960.0–2024.0).
73
+
74
+ **Outcome / Measurement** — `value` (range -4402366967.1392–22074260817.5123).
75
+
76
+ **Identifier / Metadata** — `indicator_name` (Merchandise trade (% of GDP), Merchandise imports (current US$), Merchandise exports (current US$)), `indicator_code` (TG.VAL.TOTL.GD.ZS, TM.VAL.MRCH.CD.WT, TX.VAL.MRCH.CD.WT), `esa_source` (HDX), `esa_processed` (2026-04-11).
77
+
78
+ ---
79
+
80
+ ## Quick Start
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("electricsheepafrica/africa-world-bank-trade-indicators-for-zimbabwe")
86
+ train = ds["train"].to_pandas()
87
+ test = ds["test"].to_pandas()
88
+
89
+ print(train.shape)
90
+ train.head()
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Schema
96
+
97
+ | Column | Type | Null % | Range / Sample Values |
98
+ |---|---|---|---|
99
+ | `country_name` | object | 0.0% | Zimbabwe |
100
+ | `country_iso3` | object | 0.0% | ZWE |
101
+ | `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 2001.4474) |
102
+ | `indicator_name` | object | 0.0% | Merchandise trade (% of GDP), Merchandise imports (current US$), Merchandise exports (current US$) |
103
+ | `indicator_code` | object | 0.0% | TG.VAL.TOTL.GD.ZS, TM.VAL.MRCH.CD.WT, TX.VAL.MRCH.CD.WT |
104
+ | `value` | float64 | 0.0% | -4402366967.1392 – 22074260817.5123 (mean 539633016.6936) |
105
+ | `esa_source` | object | 0.0% | HDX |
106
+ | `esa_processed` | object | 0.0% | 2026-04-11 |
107
+
108
+ ---
109
+
110
+ ## Numeric Summary
111
+
112
+ | Column | Min | Max | Mean | Median |
113
+ |---|---|---|---|---|
114
+ | `year` | 1960.0 | 2024.0 | 2001.4474 | 2003.0 |
115
+ | `value` | -4402366967.1392 | 22074260817.5123 | 539633016.6936 | 30.0528 |
116
+
117
+ ---
118
+
119
+ ## Curation
120
+
121
+ Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
122
+
123
+ ---
124
+
125
+ ## Limitations
126
+
127
+ - Data originates from World Bank Group and has not been independently validated by ESA.
128
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
129
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-trade-indicators-for-zimbabwe) for the publisher's own methodology notes and caveats.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ ```bibtex
136
+ @dataset{hdx_africa_world_bank_trade_indicators_for_zimbabwe,
137
+ title = {Zimbabwe - Trade},
138
+ author = {World Bank Group},
139
+ year = {2026},
140
+ url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-zimbabwe},
141
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
142
+ }
143
+ ```
144
+
145
+ ---
146
+
147
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*