Kossisoroyce commited on
Commit
047b670
·
verified ·
1 Parent(s): f59198e

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +215 -144
README.md CHANGED
@@ -1,148 +1,219 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: gender_weights
5
- dtype: float64
6
- - name: age_group_weights
7
- dtype: float64
8
- - name: adm1_weights
9
- dtype: float64
10
- - name: total_weights
11
- dtype: float64
12
- - name: survey_date
13
- dtype: timestamp[ns]
14
- - name: country
15
- dtype: string
16
- - name: gender
17
- dtype: string
18
- - name: age_group
19
- dtype: string
20
- - name: admin1
21
- dtype: string
22
- - name: sec
23
- dtype: string
24
- - name: age
25
- dtype: int64
26
- - name: birthyear
27
- dtype: int64
28
- - name: awareness
29
- dtype: string
30
- - name: urban_rural
31
- dtype: string
32
- - name: biggestchallenge
33
- dtype: string
34
- - name: levelconcern
35
- dtype: int64
36
- - name: concerns
37
- dtype: string
38
- - name: riskawareness
39
- dtype: string
40
- - name: tested
41
- dtype: string
42
- - name: virusprevention
43
- dtype: string
44
- - name: preventativemeasures_avoiding_public_places
45
- dtype: bool
46
- - name: preventativemeasures_avoiding_public_transport
47
- dtype: bool
48
- - name: preventativemeasures_increasing_hygiene
49
- dtype: bool
50
- - name: preventativemeasures_other
51
- dtype: bool
52
- - name: preventativemeasures_working_from_home
53
- dtype: bool
54
- - name: handwashing
55
- dtype: string
56
- - name: socialdistancing
57
- dtype: string
58
- - name: healthbehavior
59
- dtype: string
60
- - name: economicimpact
61
- dtype: int64
62
- - name: marketoperability
63
- dtype: string
64
- - name: foodlocations
65
- dtype: string
66
- - name: foodlocations2
67
- dtype: string
68
- - name: foodshopping
69
- dtype: string
70
- - name: foodamount
71
- dtype: string
72
- - name: foodworry
73
- dtype: string
74
- - name: brandpurchase
75
- dtype: string
76
- - name: nonessentialitems
77
- dtype: string
78
- - name: governmenttrust
79
- dtype: int64
80
- - name: commercialtrust_banks
81
- dtype: bool
82
- - name: commercialtrust_brands
83
- dtype: bool
84
- - name: commercialtrust_other
85
- dtype: bool
86
- - name: commercialtrust_retailers
87
- dtype: bool
88
- - name: commercialtrust_telecommuncations
89
- dtype: bool
90
- - name: initiativetaken_limited_store_traffic
91
- dtype: bool
92
- - name: initiativetaken_none
93
- dtype: bool
94
- - name: initiativetaken_sectioned_intercepts
95
- dtype: bool
96
- - name: initiativetaken_staff_in_protective_gear
97
- dtype: bool
98
- - name: groups_brands
99
- dtype: bool
100
- - name: groups_governments
101
- dtype: bool
102
- - name: groups_ngos
103
- dtype: bool
104
- - name: groups_private_sector
105
- dtype: bool
106
- - name: groups_retailers
107
- dtype: bool
108
- - name: informationsources_friends_family
109
- dtype: bool
110
- - name: informationsources_government_messages
111
- dtype: bool
112
- - name: informationsources_newspapers
113
- dtype: bool
114
- - name: informationsources_other
115
- dtype: bool
116
- - name: informationsources_radio
117
- dtype: bool
118
- - name: informationsources_social_media
119
- dtype: bool
120
- - name: informationsources_tv
121
- dtype: bool
122
- - name: socialmedia
123
- dtype: string
124
- - name: mediaconsumption
125
- dtype: string
126
- - name: staypositive
127
- dtype: string
128
- - name: esa_source
129
- dtype: string
130
- - name: esa_processed
131
- dtype: string
132
  splits:
133
- - name: train
134
- num_bytes: 1508650
135
- num_examples: 3189
136
- - name: test
137
- num_bytes: 375701
138
- num_examples: 798
139
- download_size: 260447
140
- dataset_size: 1884351
141
- configs:
142
- - config_name: default
143
- data_files:
144
- - split: train
145
- path: data/train-*
146
- - split: test
147
- path: data/test-*
148
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - covid-19
25
+ - epidemics-outbreaks
26
+ - health
27
+ - ben
28
+ - civ
29
+ - cod
30
+ - gha
31
+ - ken
32
+ pretty_name: "Perceptions and impact of Coronavirus in Sub-Saharan African countries"
33
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  splits:
35
+ - name: train
36
+ num_examples: 3189
37
+ - name: test
38
+ num_examples: 797
 
 
 
 
 
 
 
 
 
 
 
39
  ---
40
+
41
+ # Perceptions and impact of Coronavirus in Sub-Saharan African countries
42
+
43
+ **Publisher:** Mobile Accord, Inc. (GeoPoll) · **Source:** [HDX](https://data.humdata.org/dataset/covid-19-impacts-africa) · **License:** `cc-by` · **Updated:** 2025-09-26
44
+
45
+ ---
46
+
47
+ ## Abstract
48
+
49
+ This data and report examine perceptions and the impact of COVID-19 in 12 countries throughout sub-Saharan Africa. Topics covered include greatest concerns surrounding coronavirus, preventative measures being taken, changes in food market operability and food security, consumer behavior changes, and trust in governments to prevent the spread of coronavirus. This dataset includes data from 10 of the markets. Please contact us for access to data from all markets, the questionnaire, and with any other questions.
50
+
51
+ Each row in this dataset represents first-level administrative unit observations. Temporal coverage is indicated by the `survey_date` column(s). Geographic scope: **BEN, CIV, COD, GHA, KEN, MOZ, NGA, RWA, and 4 others**.
52
+
53
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
54
+
55
+ ---
56
+
57
+ ## Dataset Characteristics
58
+
59
+ | | |
60
+ |---|---|
61
+ | **Domain** | Food security and nutrition |
62
+ | **Unit of observation** | First-level administrative unit observations |
63
+ | **Rows (total)** | 3,987 |
64
+ | **Columns** | 64 (9 numeric, 28 categorical, 1 datetime) |
65
+ | **Train split** | 3,189 rows |
66
+ | **Test split** | 797 rows |
67
+ | **Geographic scope** | BEN, CIV, COD, GHA, KEN, MOZ, NGA, RWA, and 4 others |
68
+ | **Publisher** | Mobile Accord, Inc. (GeoPoll) |
69
+ | **HDX last updated** | 2025-09-26 |
70
+
71
+ ---
72
+
73
+ ## Variables
74
+
75
+ **Geographic** — `survey_date`, `country` (Kenya, Nigeria, Ghana), `admin1` (Lusaka, Abidjan, Kigali), `birthyear` (range 1928.0–2004.0), `preventativemeasures_avoiding_public_places` and 7 others.
76
+
77
+ **Demographic** — `gender_weights` (range 0.7608–1.4586), `age_group_weights` (range 0.619–1.8537), `gender` (Male, Female), `age_group` (15-25, 26-35, 36+), `age` (range 15.0–91.0) and 1 others.
78
+
79
+ **Outcome / Measurement** — `total_weights` (range 0.1396–6.4719), `foodamount`.
80
+
81
+ **Identifier / Metadata** — `preventativemeasures_avoiding_public_transport`, `informationsources_newspapers`, `informationsources_other`, `informationsources_radio`, `informationsources_social_media` and 3 others.
82
+
83
+ **Other** — `adm1_weights` (range 0.2219–3.7881), `sec` (C1, B, A), `awareness` (Yes), `urban_rural` (Urban area, Rural area), `biggestchallenge` (Money, Corona virus, Coronavirus) and 31 others.
84
+
85
+ ---
86
+
87
+ ## Quick Start
88
+
89
+ ```python
90
+ from datasets import load_dataset
91
+
92
+ ds = load_dataset("electricsheepafrica/africa-covid-19-impacts-africa")
93
+ train = ds["train"].to_pandas()
94
+ test = ds["test"].to_pandas()
95
+
96
+ print(train.shape)
97
+ train.head()
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Schema
103
+
104
+ | Column | Type | Null % | Range / Sample Values |
105
+ |---|---|---|---|
106
+ | `gender_weights` | float64 | 0.0% | 0.7608 – 1.4586 (mean 1.0) |
107
+ | `age_group_weights` | float64 | 0.0% | 0.619 – 1.8537 (mean 1.0001) |
108
+ | `adm1_weights` | float64 | 0.0% | 0.2219 – 3.7881 (mean 0.9987) |
109
+ | `total_weights` | float64 | 0.0% | 0.1396 – 6.4719 (mean 0.9881) |
110
+ | `survey_date` | datetime64[ns] | 0.0% | |
111
+ | `country` | object | 0.0% | Kenya, Nigeria, Ghana |
112
+ | `gender` | object | 0.0% | Male, Female |
113
+ | `age_group` | object | 0.0% | 15-25, 26-35, 36+ |
114
+ | `admin1` | object | 0.0% | Lusaka, Abidjan, Kigali |
115
+ | `sec` | object | 0.0% | C1, B, A |
116
+ | `age` | int64 | 0.0% | 15.0 – 91.0 (mean 31.2904) |
117
+ | `birthyear` | int64 | 0.0% | 1928.0 – 2004.0 (mean 1987.7096) |
118
+ | `awareness` | object | 0.0% | Yes |
119
+ | `urban_rural` | object | 0.0% | Urban area, Rural area |
120
+ | `biggestchallenge` | object | 49.9% | Money, Corona virus, Coronavirus |
121
+ | `levelconcern` | int64 | 0.0% | 1.0 – 5.0 (mean 4.3128) |
122
+ | `concerns` | object | 0.0% | Contracting the disease, Economic impact, Global infections |
123
+ | `riskawareness` | object | 0.0% | Yes, No |
124
+ | `tested` | object | 0.0% | |
125
+ | `virusprevention` | object | 0.0% | |
126
+ | `preventativemeasures_avoiding_public_places` | bool | 0.0% | |
127
+ | `preventativemeasures_avoiding_public_transport` | bool | 0.0% | |
128
+ | `preventativemeasures_increasing_hygiene` | bool | 0.0% | |
129
+ | `preventativemeasures_other` | bool | 0.0% | |
130
+ | `preventativemeasures_working_from_home` | bool | 0.0% | |
131
+ | `handwashing` | object | 0.0% | |
132
+ | `socialdistancing` | object | 0.0% | |
133
+ | `healthbehavior` | object | 0.0% | |
134
+ | `economicimpact` | int64 | 0.0% | 1.0 – 5.0 (mean 4.2854) |
135
+ | `marketoperability` | object | 0.0% | |
136
+ | `foodlocations` | object | 0.0% | |
137
+ | `foodlocations2` | object | 48.3% | |
138
+ | `foodshopping` | object | 0.0% | |
139
+ | `foodamount` | object | 0.0% | |
140
+ | `foodworry` | object | 0.0% | |
141
+ | `brandpurchase` | object | 20.3% | |
142
+ | `nonessentialitems` | object | 0.0% | |
143
+ | `governmenttrust` | int64 | 0.0% | 1.0 – 5.0 (mean 3.4542) |
144
+ | `commercialtrust_banks` | bool | 0.0% | |
145
+ | `commercialtrust_brands` | bool | 0.0% | |
146
+ | `commercialtrust_other` | bool | 0.0% | |
147
+ | `commercialtrust_retailers` | bool | 0.0% | |
148
+ | `commercialtrust_telecommuncations` | bool | 0.0% | |
149
+ | `initiativetaken_limited_store_traffic` | bool | 0.0% | |
150
+ | `initiativetaken_none` | bool | 0.0% | |
151
+ | `initiativetaken_sectioned_intercepts` | bool | 0.0% | |
152
+ | `initiativetaken_staff_in_protective_gear` | bool | 0.0% | |
153
+ | `groups_brands` | bool | 0.0% | |
154
+ | `groups_governments` | bool | 0.0% | |
155
+ | `groups_ngos` | bool | 0.0% | |
156
+ | `groups_private_sector` | bool | 0.0% | |
157
+ | `groups_retailers` | bool | 0.0% | |
158
+ | `informationsources_friends_family` | bool | 0.0% | |
159
+ | `informationsources_government_messages` | bool | 0.0% | |
160
+ | `informationsources_newspapers` | bool | 0.0% | |
161
+ | `informationsources_other` | bool | 0.0% | |
162
+ | `informationsources_radio` | bool | 0.0% | |
163
+ | `informationsources_social_media` | bool | 0.0% | |
164
+ | `informationsources_tv` | bool | 0.0% | |
165
+ | `socialmedia` | object | 59.3% | |
166
+ | `mediaconsumption` | object | 0.0% | |
167
+ | `staypositive` | object | 49.9% | |
168
+ | `esa_source` | object | 0.0% | |
169
+ | `esa_processed` | object | 0.0% | |
170
+
171
+ ---
172
+
173
+ ## Numeric Summary
174
+
175
+ | Column | Min | Max | Mean | Median |
176
+ |---|---|---|---|---|
177
+ | `gender_weights` | 0.7608 | 1.4586 | 1.0 | 1.0 |
178
+ | `age_group_weights` | 0.619 | 1.8537 | 1.0001 | 1.0 |
179
+ | `adm1_weights` | 0.2219 | 3.7881 | 0.9987 | 1.0 |
180
+ | `total_weights` | 0.1396 | 6.4719 | 0.9881 | 1.0 |
181
+ | `age` | 15.0 | 91.0 | 31.2904 | 29.0 |
182
+ | `birthyear` | 1928.0 | 2004.0 | 1987.7096 | 1990.0 |
183
+ | `levelconcern` | 1.0 | 5.0 | 4.3128 | 5.0 |
184
+ | `economicimpact` | 1.0 | 5.0 | 4.2854 | 5.0 |
185
+ | `governmenttrust` | 1.0 | 5.0 | 3.4542 | 4.0 |
186
+
187
+ ---
188
+
189
+ ## Curation
190
+
191
+ 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`. 1 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.
192
+
193
+ ---
194
+
195
+ ## Limitations
196
+
197
+ - Data originates from Mobile Accord, Inc. (GeoPoll) and has not been independently validated by ESA.
198
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
199
+ - The following columns have >20% missing values and should be treated with caution in modelling: `biggestchallenge`, `foodlocations2`, `brandpurchase`, `socialmedia`, `staypositive`.
200
+ - This dataset spans 12 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
201
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/covid-19-impacts-africa) for the publisher's own methodology notes and caveats.
202
+
203
+ ---
204
+
205
+ ## Citation
206
+
207
+ ```bibtex
208
+ @dataset{hdx_africa_covid_19_impacts_africa,
209
+ title = {Perceptions and impact of Coronavirus in Sub-Saharan African countries},
210
+ author = {Mobile Accord, Inc. (GeoPoll)},
211
+ year = {2025},
212
+ url = {https://data.humdata.org/dataset/covid-19-impacts-africa},
213
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
214
+ }
215
+ ```
216
+
217
+ ---
218
+
219
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*