Kossisoroyce commited on
Commit
1543537
·
verified ·
1 Parent(s): 1b468fa

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +175 -70
README.md CHANGED
@@ -1,74 +1,179 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country
5
- dtype: string
6
- - name: age_group
7
- dtype: string
8
- - name: gender
9
- dtype: string
10
- - name: employmenttype
11
- dtype: string
12
- - name: jobtype
13
- dtype: string
14
- - name: informalworker
15
- dtype: string
16
- - name: informal_work_type
17
- dtype: string
18
- - name: jobloss
19
- dtype: string
20
- - name: jobregain
21
- dtype: string
22
- - name: monthlyincome
23
- dtype: string
24
- - name: monthlyincome_bracket
25
- dtype: float64
26
- - name: incomechange
27
- dtype: string
28
- - name: expenseresponsibility
29
- dtype: string
30
- - name: lengthsurvival
31
- dtype: string
32
- - name: moneyforexpenses
33
- dtype: string
34
- - name: concernexpenses
35
- dtype: string
36
- - name: expense_concern_rating
37
- dtype: float64
38
- - name: monthlyneed
39
- dtype: string
40
- - name: toppriority
41
- dtype: string
42
- - name: lowpriority
43
- dtype: string
44
- - name: aid
45
- dtype: string
46
- - name: covidloans
47
- dtype: string
48
- - name: mobilemoneyactivity
49
- dtype: string
50
- - name: mobilemoneydeposit
51
- dtype: string
52
- - name: governmentpriority
53
- dtype: string
54
- - name: esa_source
55
- dtype: string
56
- - name: esa_processed
57
- dtype: string
58
  splits:
59
- - name: train
60
- num_bytes: 556580
61
- num_examples: 1940
62
- - name: test
63
- num_bytes: 136743
64
- num_examples: 486
65
- download_size: 54873
66
- dataset_size: 693323
67
- configs:
68
- - config_name: default
69
- data_files:
70
- - split: train
71
- path: data/train-*
72
- - split: test
73
- path: data/test-*
74
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-regression
17
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - covid-19
25
+ - demographics
26
+ - eastern-africa
27
+ - economics
28
+ - employment
29
+ - geodata
30
+ - indicators
31
+ - civ
32
+ - ken
33
+ - moz
34
+ - nga
35
+ - zaf
36
+ pretty_name: "Economic Impact of COVID-19 in Sub-Saharan Africa"
37
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  splits:
39
+ - name: train
40
+ num_examples: 1940
41
+ - name: test
42
+ num_examples: 485
 
 
 
 
 
 
 
 
 
 
 
43
  ---
44
+
45
+ # Economic Impact of COVID-19 in Sub-Saharan Africa
46
+
47
+ **Publisher:** Mobile Accord, Inc. (GeoPoll) · **Source:** [HDX](https://data.humdata.org/dataset/economic-impact-of-covid-19-in-sub-saharan-africa) · **License:** `cc-by` · **Updated:** 2025-09-26
48
+
49
+ ---
50
+
51
+ ## Abstract
52
+
53
+ This data looks at the impact of COVID-19 on employment, income, ability to pay expenses, and more in Côte D'Ivoire, Kenya, Mozambique Nigeria, and South Africa. Data is nationally representative by age, gender, and location, and is broken down by job type and formal or informal workers. Please contact us for data broken down by province or more information on the methodology.
54
+
55
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2025-09-26. Geographic scope: **CIV, KEN, MOZ, NGA, ZAF**.
56
+
57
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
58
+
59
+ ---
60
+
61
+ ## Dataset Characteristics
62
+
63
+ | | |
64
+ |---|---|
65
+ | **Domain** | Humanitarian and development data |
66
+ | **Unit of observation** | Country-level aggregates |
67
+ | **Rows (total)** | 2,426 |
68
+ | **Columns** | 27 (2 numeric, 25 categorical, 0 datetime) |
69
+ | **Train split** | 1,940 rows |
70
+ | **Test split** | 485 rows |
71
+ | **Geographic scope** | CIV, KEN, MOZ, NGA, ZAF |
72
+ | **Publisher** | Mobile Accord, Inc. (GeoPoll) |
73
+ | **HDX last updated** | 2025-09-26 |
74
+
75
+ ---
76
+
77
+ ## Variables
78
+
79
+ **Geographic** — `country` (Ivory Coast (Cote D'Ivoire), Kenya, South Africa), `employmenttype` (Unemployed, Employed full time, Student), `jobtype` (Educator, Small business owner/employee, Large business), `informal_work_type` (Seller, Agriculture, Other), `monthlyincome` (0-100000, 0-150000, 0-15000) and 11 others.
80
+
81
+ **Demographic** — `age_group` (36+, 26-35, 18-25), `gender` (Male, Female).
82
+
83
+ **Outcome / Measurement** — `incomechange`.
84
+
85
+ **Identifier / Metadata** — `aid`, `covidloans`, `esa_source`, `esa_processed`.
86
+
87
+ **Other** — `informalworker` (Yes, No, Not sure), `jobloss` (Yes, No-I’m still able to work, Prefer not to say), `jobregain` (Yes, Don't know, No), `lengthsurvival`.
88
+
89
+ ---
90
+
91
+ ## Quick Start
92
+
93
+ ```python
94
+ from datasets import load_dataset
95
+
96
+ ds = load_dataset("electricsheepafrica/africa-economic-impact-of-covid-19-in-sub-saharan-africa")
97
+ train = ds["train"].to_pandas()
98
+ test = ds["test"].to_pandas()
99
+
100
+ print(train.shape)
101
+ train.head()
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Schema
107
+
108
+ | Column | Type | Null % | Range / Sample Values |
109
+ |---|---|---|---|
110
+ | `country` | object | 0.0% | Ivory Coast (Cote D'Ivoire), Kenya, South Africa |
111
+ | `age_group` | object | 0.0% | 36+, 26-35, 18-25 |
112
+ | `gender` | object | 0.0% | Male, Female |
113
+ | `employmenttype` | object | 0.0% | Unemployed, Employed full time, Student |
114
+ | `jobtype` | object | 65.6% | Educator, Small business owner/employee, Large business |
115
+ | `informalworker` | object | 49.5% | Yes, No, Not sure |
116
+ | `informal_work_type` | object | 73.5% | Seller, Agriculture, Other |
117
+ | `jobloss` | object | 46.9% | Yes, No-I’m still able to work, Prefer not to say |
118
+ | `jobregain` | object | 68.6% | Yes, Don't know, No |
119
+ | `monthlyincome` | object | 46.9% | 0-100000, 0-150000, 0-15000 |
120
+ | `monthlyincome_bracket` | float64 | 47.2% | 1.0 – 11.0 (mean 1.6846) |
121
+ | `incomechange` | object | 47.0% | |
122
+ | `expenseresponsibility` | object | 0.0% | |
123
+ | `lengthsurvival` | object | 21.8% | |
124
+ | `moneyforexpenses` | object | 21.8% | |
125
+ | `concernexpenses` | object | 21.8% | |
126
+ | `expense_concern_rating` | float64 | 21.8% | 1.0 – 5.0 (mean 3.9612) |
127
+ | `monthlyneed` | object | 20.5% | |
128
+ | `toppriority` | object | 19.0% | |
129
+ | `lowpriority` | object | 19.0% | |
130
+ | `aid` | object | 0.0% | |
131
+ | `covidloans` | object | 0.0% | |
132
+ | `mobilemoneyactivity` | object | 0.0% | |
133
+ | `mobilemoneydeposit` | object | 0.0% | |
134
+ | `governmentpriority` | object | 0.0% | |
135
+ | `esa_source` | object | 0.0% | |
136
+ | `esa_processed` | object | 0.0% | |
137
+
138
+ ---
139
+
140
+ ## Numeric Summary
141
+
142
+ | Column | Min | Max | Mean | Median |
143
+ |---|---|---|---|---|
144
+ | `monthlyincome_bracket` | 1.0 | 11.0 | 1.6846 | 1.0 |
145
+ | `expense_concern_rating` | 1.0 | 5.0 | 3.9612 | 5.0 |
146
+
147
+ ---
148
+
149
+ ## Curation
150
+
151
+ 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`. 8 column(s) with >80% missing values were removed: `otherjob`, `aidsource_aid_organisations`, `aidsource_charities_donations`, `aidsource_friends_family`, `aidsource_government`, `aidsource_not_sure`.... 74 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.
152
+
153
+ ---
154
+
155
+ ## Limitations
156
+
157
+ - Data originates from Mobile Accord, Inc. (GeoPoll) and has not been independently validated by ESA.
158
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
159
+ - The following columns have >20% missing values and should be treated with caution in modelling: `jobtype`, `informalworker`, `informal_work_type`, `jobloss`, `jobregain`, `monthlyincome`, `monthlyincome_bracket`, `incomechange`....
160
+ - This dataset spans 5 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
161
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/economic-impact-of-covid-19-in-sub-saharan-africa) for the publisher's own methodology notes and caveats.
162
+
163
+ ---
164
+
165
+ ## Citation
166
+
167
+ ```bibtex
168
+ @dataset{hdx_africa_economic_impact_of_covid_19_in_sub_saharan_africa,
169
+ title = {Economic Impact of COVID-19 in Sub-Saharan Africa},
170
+ author = {Mobile Accord, Inc. (GeoPoll)},
171
+ year = {2025},
172
+ url = {https://data.humdata.org/dataset/economic-impact-of-covid-19-in-sub-saharan-africa},
173
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
174
+ }
175
+ ```
176
+
177
+ ---
178
+
179
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*