Kossisoroyce commited on
Commit
a95b824
·
verified ·
1 Parent(s): a3eff4e

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +159 -50
README.md CHANGED
@@ -1,54 +1,163 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country_code
5
- dtype: string
6
- - name: country
7
- dtype: string
8
- - name: world_bank
9
- dtype: string
10
- - name: ifc
11
- dtype: string
12
- - name: imf
13
- dtype: string
14
- - name: afdb
15
- dtype: string
16
- - name: adb
17
- dtype: string
18
- - name: idb
19
- dtype: string
20
- - name: isdb
21
- dtype: string
22
- - name: ebrd
23
- dtype: string
24
- - name: total_usd_mn
25
- dtype: string
26
- - name: total_per_capita_usd_mn
27
- dtype: string
28
- - name: total_as_percentage_of_gdp
29
- dtype: string
30
- - name: population
31
- dtype: string
32
- - name: gdp_per_capita
33
- dtype: string
34
- - name: esa_source
35
- dtype: string
36
- - name: esa_processed
37
- dtype: string
38
  splits:
39
- - name: train
40
- num_bytes: 36358
41
- num_examples: 216
42
- - name: test
43
- num_bytes: 9211
44
- num_examples: 55
45
- download_size: 28555
46
- dataset_size: 45569
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
- - split: test
53
- path: data/test-*
54
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-regression
17
+ task_ids: []
18
+ tags:
19
+ - africa
20
+ - humanitarian
21
+ - hdx
22
+ - electric-sheep-africa
23
+ - covid-19
24
+ - economics
25
+ - socioeconomics
26
+ - afg
27
+ - alb
28
+ - ago
29
+ - arg
30
+ - arm
31
+ pretty_name: "Compilation of International Financial Institution and Economic Data"
32
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  splits:
34
+ - name: train
35
+ num_examples: 216
36
+ - name: test
37
+ num_examples: 54
 
 
 
 
 
 
 
 
 
 
 
38
  ---
39
+
40
+ # Compilation of International Financial Institution and Economic Data
41
+
42
+ **Publisher:** HDX · **Source:** [HDX](https://data.humdata.org/dataset/compilation-of-international-financial-institution-and-economic-data) · **License:** `cc-by` · **Updated:** 2025-08-26
43
+
44
+ ---
45
+
46
+ ## Abstract
47
+
48
+ Compilation of international financial institution and economic data
49
+
50
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2025-08-26. Geographic scope: **AFG, ALB, AGO, ARG, ARM, BGD, BLR, BLZ, and 9 others**.
51
+
52
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
53
+
54
+ ---
55
+
56
+ ## Dataset Characteristics
57
+
58
+ | | |
59
+ |---|---|
60
+ | **Domain** | Demographics and population |
61
+ | **Unit of observation** | Country-level aggregates |
62
+ | **Rows (total)** | 271 |
63
+ | **Columns** | 17 (0 numeric, 17 categorical, 0 datetime) |
64
+ | **Train split** | 216 rows |
65
+ | **Test split** | 54 rows |
66
+ | **Geographic scope** | AFG, ALB, AGO, ARG, ARM, BGD, BLR, BLZ, and 9 others |
67
+ | **Publisher** | HDX |
68
+ | **HDX last updated** | 2025-08-26 |
69
+
70
+ ---
71
+
72
+ ## Variables
73
+
74
+ **Geographic** — `country_code` ( AFG, ROU, PLW), `country` ( Falkland Islands (Malvinas), Montserrat, Anguilla), `population`.
75
+
76
+ **Demographic** — `total_as_percentage_of_gdp`.
77
+
78
+ **Outcome / Measurement** — `total_usd_mn`, `total_per_capita_usd_mn`, `gdp_per_capita`.
79
+
80
+ **Identifier / Metadata** — `idb` ( - , 990 , 31 ), `esa_source`, `esa_processed`.
81
+
82
+ **Other** — `world_bank` ( - , 25 , 3 ), `ifc` ( - , 10 , 15 ), `imf` ( - , 29 , 14 ), `afdb` ( - , 14 , 2 ), `adb` ( - , 20 , 250 ) and 2 others.
83
+
84
+ ---
85
+
86
+ ## Quick Start
87
+
88
+ ```python
89
+ from datasets import load_dataset
90
+
91
+ ds = load_dataset("electricsheepafrica/africa-compilation-of-international-financial-institution-and-economic-data")
92
+ train = ds["train"].to_pandas()
93
+ test = ds["test"].to_pandas()
94
+
95
+ print(train.shape)
96
+ train.head()
97
+ ```
98
+
99
+ ---
100
+
101
+ ## Schema
102
+
103
+ | Column | Type | Null % | Range / Sample Values |
104
+ |---|---|---|---|
105
+ | `country_code` | object | 1.8% | AFG, ROU, PLW |
106
+ | `country` | object | 1.1% | Falkland Islands (Malvinas), Montserrat, Anguilla |
107
+ | `world_bank` | object | 1.5% | - , 25 , 3 |
108
+ | `ifc` | object | 1.5% | - , 10 , 15 |
109
+ | `imf` | object | 1.5% | - , 29 , 14 |
110
+ | `afdb` | object | 1.5% | - , 14 , 2 |
111
+ | `adb` | object | 1.5% | - , 20 , 250 |
112
+ | `idb` | object | 1.5% | - , 990 , 31 |
113
+ | `isdb` | object | 1.5% | - , 20 , 9 |
114
+ | `ebrd` | object | 1.5% | - , 63 , 49 |
115
+ | `total_usd_mn` | object | 1.5% | |
116
+ | `total_per_capita_usd_mn` | object | 2.2% | |
117
+ | `total_as_percentage_of_gdp` | object | 29.5% | |
118
+ | `population` | object | 2.2% | |
119
+ | `gdp_per_capita` | object | 8.1% | |
120
+ | `esa_source` | object | 0.0% | |
121
+ | `esa_processed` | object | 0.0% | |
122
+
123
+ ---
124
+
125
+ ## Numeric Summary
126
+
127
+ | Column | Min | Max | Mean | Median |
128
+ |---|---|---|---|---|
129
+ _No numeric columns._
130
+
131
+ ---
132
+
133
+ ## Curation
134
+
135
+ 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`. 134 exact duplicate rows were removed. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
136
+
137
+ ---
138
+
139
+ ## Limitations
140
+
141
+ - Data originates from HDX and has not been independently validated by ESA.
142
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
143
+ - The following columns have >20% missing values and should be treated with caution in modelling: `total_as_percentage_of_gdp`.
144
+ - This dataset spans 17 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
145
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/compilation-of-international-financial-institution-and-economic-data) for the publisher's own methodology notes and caveats.
146
+
147
+ ---
148
+
149
+ ## Citation
150
+
151
+ ```bibtex
152
+ @dataset{hdx_africa_compilation_of_international_financial_institution_and_economic_data,
153
+ title = {Compilation of International Financial Institution and Economic Data},
154
+ author = {HDX},
155
+ year = {2025},
156
+ url = {https://data.humdata.org/dataset/compilation-of-international-financial-institution-and-economic-data},
157
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
158
+ }
159
+ ```
160
+
161
+ ---
162
+
163
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*