Kossisoroyce commited on
Commit
35ff087
·
verified ·
1 Parent(s): d28a189

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +136 -22
README.md CHANGED
@@ -1,26 +1,140 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: id_date_iso_3_pays_id_pays_region_id_region_contaminés_décès_guéris_femme_homme_genre_non_spécifié_source
5
- dtype: string
6
- - name: esa_source
7
- dtype: string
8
- - name: esa_processed
9
- dtype: string
10
  splits:
11
- - name: train
12
- num_bytes: 249459
13
- num_examples: 2360
14
- - name: test
15
- num_bytes: 62517
16
- num_examples: 591
17
- download_size: 65070
18
- dataset_size: 311976
19
- configs:
20
- - config_name: default
21
- data_files:
22
- - split: train
23
- path: data/train-*
24
- - split: test
25
- path: data/test-*
26
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ task_ids: []
18
+ tags:
19
+ - africa
20
+ - humanitarian
21
+ - hdx
22
+ - electric-sheep-africa
23
+ - disease
24
+ - epidemics-outbreaks
25
+ - fatalities
26
+ - health
27
+ - hxl
28
+ - west-africa
29
+ - ben
30
+ pretty_name: "Bénin: Coronavirus (Covid-19) Subnational"
31
  dataset_info:
 
 
 
 
 
 
 
32
  splits:
33
+ - name: train
34
+ num_examples: 2360
35
+ - name: test
36
+ num_examples: 590
 
 
 
 
 
 
 
 
 
 
 
37
  ---
38
+
39
+ # Bénin: Coronavirus (Covid-19) Subnational
40
+
41
+ **Publisher:** HERA - Humanitarian Emergency Response Africa · **Source:** [HDX](https://data.humdata.org/dataset/benin-covid-19-subnational) · **License:** `cc-by` · **Updated:** 2025-04-10
42
+
43
+ ---
44
+
45
+ ## Abstract
46
+
47
+ Subnational data about Covid19 in Bénin - Infections (new cases, gender), Deaths, Recoveries when available. Unfortunately the country does not give the details per region anymore, we keep the database updated at the national level while waiting for the disaggregated data.
48
+
49
+ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2025-04-10. Geographic scope: **BEN**.
50
+
51
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
52
+
53
+ ---
54
+
55
+ ## Dataset Characteristics
56
+
57
+ | | |
58
+ |---|---|
59
+ | **Domain** | Public health |
60
+ | **Unit of observation** | First-level administrative unit observations |
61
+ | **Rows (total)** | 2,951 |
62
+ | **Columns** | 3 (0 numeric, 3 categorical, 0 datetime) |
63
+ | **Train split** | 2,360 rows |
64
+ | **Test split** | 590 rows |
65
+ | **Geographic scope** | BEN |
66
+ | **Publisher** | HERA - Humanitarian Emergency Response Africa |
67
+ | **HDX last updated** | 2025-04-10 |
68
+
69
+ ---
70
+
71
+ ## Variables
72
+
73
+ **Geographic** — `id_date_iso_3_pays_id_pays_region_id_region_contaminés_décès_guéris_femme_homme_genre_non_spécifié_source` (1;16/03/2020;BEN;Bénin;10;Alibori;96;0;0;0;0;0;0;VOA AFRIQUE, 1972;14/08/2020;BEN;Bénin;10;Ouémé;104;0;0;0;0;0;0;Gouvernement du Bénin, 1963;13/08/2020;BEN;Bénin;10;Non spécifié;108;62;1;9;null;null;62;Gouvernement du Bénin).
74
+
75
+ **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-05).
76
+
77
+ ---
78
+
79
+ ## Quick Start
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("electricsheepafrica/africa-benin-covid-19-subnational")
85
+ train = ds["train"].to_pandas()
86
+ test = ds["test"].to_pandas()
87
+
88
+ print(train.shape)
89
+ train.head()
90
+ ```
91
+
92
+ ---
93
+
94
+ ## Schema
95
+
96
+ | Column | Type | Null % | Range / Sample Values |
97
+ |---|---|---|---|
98
+ | `id_date_iso_3_pays_id_pays_region_id_region_contaminés_décès_guéris_femme_homme_genre_non_spécifié_source` | object | 0.0% | 1;16/03/2020;BEN;Bénin;10;Alibori;96;0;0;0;0;0;0;VOA AFRIQUE, 1972;14/08/2020;BEN;Bénin;10;Ouémé;104;0;0;0;0;0;0;Gouvernement du Bénin, 1963;13/08/2020;BEN;Bénin;10;Non spécifié;108;62;1;9;null;null;62;Gouvernement du Bénin |
99
+ | `esa_source` | object | 0.0% | HDX |
100
+ | `esa_processed` | object | 0.0% | 2026-04-05 |
101
+
102
+ ---
103
+
104
+ ## Numeric Summary
105
+
106
+ | Column | Min | Max | Mean | Median |
107
+ |---|---|---|---|---|
108
+ _No numeric columns._
109
+
110
+ ---
111
+
112
+ ## Curation
113
+
114
+ 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.
115
+
116
+ ---
117
+
118
+ ## Limitations
119
+
120
+ - Data originates from HERA - Humanitarian Emergency Response Africa and has not been independently validated by ESA.
121
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
122
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/benin-covid-19-subnational) for the publisher's own methodology notes and caveats.
123
+
124
+ ---
125
+
126
+ ## Citation
127
+
128
+ ```bibtex
129
+ @dataset{hdx_africa_benin_covid_19_subnational,
130
+ title = {Bénin: Coronavirus (Covid-19) Subnational},
131
+ author = {HERA - Humanitarian Emergency Response Africa},
132
+ year = {2025},
133
+ url = {https://data.humdata.org/dataset/benin-covid-19-subnational},
134
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
135
+ }
136
+ ```
137
+
138
+ ---
139
+
140
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*