Kossisoroyce commited on
Commit
b43eb69
·
verified ·
1 Parent(s): f5feba7

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: 697453
23
- num_examples: 4672
24
- - name: test
25
- num_bytes: 173602
26
- num_examples: 1168
27
- download_size: 111344
28
- dataset_size: 871055
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
+ - egy
27
+ pretty_name: "Egypt, Arab Rep. - Trade"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 4672
32
+ - name: test
33
+ num_examples: 1168
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Egypt, Arab Rep. - Trade
37
+
38
+ **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep) · **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-egypt-arab-rep) 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: **EGY**.
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)** | 5,840 |
61
+ | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
62
+ | **Train split** | 4,672 rows |
63
+ | **Test split** | 1,168 rows |
64
+ | **Geographic scope** | EGY |
65
+ | **Publisher** | World Bank Group |
66
+ | **HDX last updated** | 2026-03-27 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country_name` (Egypt, Arab Rep.), `country_iso3` (EGY), `year` (range 1960.0–2024.0).
73
+
74
+ **Outcome / Measurement** — `value` (range -38060200000.0–1554406232699.76).
75
+
76
+ **Identifier / Metadata** — `indicator_name` (Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$)), `indicator_code` (NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT), `esa_source` (HDX), `esa_processed` (2026-04-14).
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-egypt-arab-rep")
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% | Egypt, Arab Rep. |
100
+ | `country_iso3` | object | 0.0% | EGY |
101
+ | `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 1997.3211) |
102
+ | `indicator_name` | object | 0.0% | Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$) |
103
+ | `indicator_code` | object | 0.0% | NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT |
104
+ | `value` | float64 | 0.0% | -38060200000.0 – 1554406232699.76 (mean 7918360378.6662) |
105
+ | `esa_source` | object | 0.0% | HDX |
106
+ | `esa_processed` | object | 0.0% | 2026-04-14 |
107
+
108
+ ---
109
+
110
+ ## Numeric Summary
111
+
112
+ | Column | Min | Max | Mean | Median |
113
+ |---|---|---|---|---|
114
+ | `year` | 1960.0 | 2024.0 | 1997.3211 | 2000.0 |
115
+ | `value` | -38060200000.0 | 1554406232699.76 | 7918360378.6662 | 22.4416 |
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-egypt-arab-rep) 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_egypt_arab_rep,
137
+ title = {Egypt, Arab Rep. - Trade},
138
+ author = {World Bank Group},
139
+ year = {2026},
140
+ url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep},
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.*