Olaroti commited on
Commit
ac0344d
·
verified ·
1 Parent(s): a517487

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +106 -127
README.md CHANGED
@@ -1,171 +1,150 @@
1
  ---
2
  license: cc-by-4.0
 
 
3
  task_categories:
4
  - tabular-classification
5
  - tabular-regression
6
- language:
7
- - en
8
- tags:
9
- - synthetic
10
- - healthcare
11
- - immunisation
12
- - vaccination
13
- - epi
14
- - zero-dose
15
- - dropout
16
- - equity
17
- - who-unicef
18
- - wuenic
19
- - dhs
20
- - lmic
21
- - gavi
22
- pretty_name: Synthetic Childhood Immunisation Coverage & Dropout Dataset (0-23 months)
23
  size_categories:
24
  - 10K<n<100K
25
- configs:
26
- - config_name: high_coverage
27
- data_files: data/immunisation_high_coverage.csv
28
- - config_name: moderate_coverage
29
- data_files: data/immunisation_moderate_coverage.csv
30
- default: true
31
- - config_name: low_coverage
32
- data_files: data/immunisation_low_coverage.csv
33
- data_type: synthetic
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
 
36
- > ⚠️ **Synthetic dataset** Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference.
37
-
38
- # Synthetic Childhood Immunisation Coverage & Dropout Dataset (0–23 months)
39
-
40
- ## Abstract
41
-
42
- This dataset provides **30,000 synthetic records** (10,000 per scenario) of childhood immunisation status for children aged 0-23 months in LMIC settings. Each record contains 28 variables: demographics, socioeconomic determinants (wealth quintile, maternal education, urban/rural, distance to facility), individual vaccine doses (BCG, OPV0-3, Penta1-3, PCV1-3, Rota1-2, IPV1, MCV1-2), and derived indicators (fully immunised, zero-dose, dropout). Coverage and equity gradients are parameterized from WHO/UNICEF WUENIC estimates, Gavi zero-dose analytics, and DHS vaccination equity analyses. Three scenarios (high, moderate, low coverage) capture the spectrum from well-performing programmes to fragile/conflict-affected settings.
43
-
44
- ## 1. Introduction
45
-
46
- Globally, 14.3 million children received no routine vaccines ("zero-dose") in 2022 (WUENIC 2023). Immunisation coverage inequities by wealth, geography, and education remain a central challenge for the Immunization Agenda 2030. Open-access individual-level vaccination datasets from LMICs are scarce—DHS microdata requires registration and is survey-weighted, making it unsuitable for direct ML training.
47
-
48
- This synthetic dataset addresses this gap for:
49
-
50
- - Training ML models for zero-dose identification and dropout prediction
51
- - Equity analysis and coverage gap modelling
52
- - Prototyping immunisation programme dashboards
53
- - Educational use in vaccinology and public health informatics
54
 
55
- **This dataset is entirely synthetic. It must not be used for clinical decision-making or programme evaluation.**
56
 
57
- ## 2. Methodology
 
 
 
58
 
59
- ### 2.1 Vaccine Schedule
60
 
61
- Based on WHO Expanded Programme on Immunization (EPI) recommendations:
62
 
63
- | Vaccine | Doses | Schedule | Disease Target |
64
- | --- | --- | --- | --- |
65
- | BCG | 1 | Birth | Tuberculosis |
66
- | OPV | 4 (0-3) | Birth, 6, 10, 14 weeks | Poliomyelitis |
67
- | Penta (DTP-HepB-Hib) | 3 | 6, 10, 14 weeks | Diphtheria, tetanus, pertussis, hepatitis B, Hib |
68
- | PCV | 3 | 6, 10, 14 weeks | Pneumococcal disease |
69
- | Rotavirus | 2 | 6, 10 weeks | Rotavirus diarrhoea |
70
- | IPV | 1 | 14 weeks | Poliomyelitis |
71
- | Measles (MCV) | 2 | 9, 15 months | Measles |
72
 
73
- ### 2.2 Equity Determinants
74
 
75
- Individual coverage probability is modulated by five equity determinants, each with literature-grounded multipliers:
76
 
77
- | Determinant | Effect | Source |
78
- | --- | --- | --- |
79
- | Wealth quintile (1-5) | 0.65x (Q1) to 1.30x (Q5) | Restrepo-Méndez et al., Bull WHO 2016 |
80
- | Urban/Rural | 1.10x urban, 0.90x rural | DHS pooled estimates |
81
- | Maternal education | 0.70x (none) to 1.20x (tertiary) | Arsenault et al., Lancet Global Health 2017 |
82
- | Distance to facility | -1.2% per km | DHS access analyses |
83
- | Individual random effect | N(1.0, 0.08) | Unobserved heterogeneity |
84
 
85
- ### 2.3 Scenario Design
 
 
 
 
 
 
 
 
 
 
 
86
 
87
- | Scenario | Context | BCG | Penta3 | MCV1 | MCV2 | Zero-dose |
88
- | --- | --- | --- | --- | --- | --- | --- |
89
- | High coverage | Well-performing LMIC | 75.5% | 34.8% | 64.1% | 40.1% | 4.8% |
90
- | Moderate coverage | Average LMIC | 66.5% | 27.8% | 55.4% | 33.4% | 11.6% |
91
- | Low coverage | Fragile/conflict | 40.5% | 10.7% | 33.1% | 15.8% | 33.9% |
92
 
93
- ## 3. Dataset Description
 
 
 
94
 
95
- ### 3.1 Schema
96
 
97
- | Column | Type | Description |
98
- | --- | --- | --- |
99
- | id | int | Unique identifier |
100
- | sex | categorical (M/F) | Biological sex |
101
- | age_months | float | Age in months (0-23.9) |
102
- | region_type | categorical | Urban or rural |
103
- | ses_quintile | int (1-5) | Socioeconomic status quintile (1=poorest) |
104
- | maternal_education | categorical | None, primary, secondary, tertiary |
105
- | distance_to_facility_km | float | Distance to nearest health facility |
106
- | bcg, opv0-3, penta1-3, pcv1-3, rota1-2, ipv1, mcv1-2 | binary (0/1) | Vaccine dose received |
107
- | total_basic_doses | int | Sum of BCG+Penta1-3+OPV1-3+MCV1 (max 8) |
108
- | fully_immunised | binary | All age-appropriate vaccines received |
109
- | dropout_penta1_penta3 | binary | Received Penta1 but not Penta3 |
110
- | dropout_penta1_mcv1 | binary | Received Penta1 but not MCV1 |
111
- | zero_dose | binary | No vaccines received at all |
112
- | immunisation_status | categorical | fully_immunised / partially_immunised / zero_dose |
113
-
114
- ## 4. Validation
115
-
116
- ### 4.1 Diagnostic Plots
117
 
118
- <p align="center">
119
- <img src="validation_report.png" alt="Validation Report" width="100%">
120
- </p>
121
 
122
- ## 5. Usage
 
 
 
 
123
 
124
- ### 5.1 Loading with HuggingFace `datasets`
125
 
126
  ```python
127
- from datasets import load_dataset
128
 
129
- dataset = load_dataset("electricsheepafrica/synthetic-childhood-immunisation-coverage-dropout-WUENIC", "moderate_coverage")
130
- df = dataset["train"].to_pandas()
 
 
131
  ```
132
 
133
- ### 5.2 Regenerating
134
 
135
- ```bash
136
- pip install numpy pandas matplotlib
137
- python generate_dataset.py --all-scenarios --n 10000 --seed 42
138
- python validate_dataset.py
139
- ```
140
 
141
- ## 6. Limitations
142
 
143
- - **Synthetic**: Not real programme data. Not for programme evaluation.
144
- - **No campaign vaccines**: Only routine EPI; does not model supplementary immunisation activities (SIAs).
145
- - **Cross-sectional**: Single snapshot; does not capture timeliness or catch-up dynamics.
146
- - **Simplified equity model**: Real equity determinants are more complex and context-specific.
 
147
 
148
- ## 7. References
149
 
150
- 1. WHO/UNICEF (2023). WUENIC Estimates of National Immunization Coverage.
151
- 2. Gavi (2023). Zero-dose children: Key data and analytics.
152
- 3. Restrepo-Méndez MC, et al. (2016). Inequalities in full immunization coverage. *Bull WHO*, 94:794-805.
153
- 4. Arsenault C, et al. (2017). Equity in antenatal care quality. *Lancet Global Health*, 5(11):e1079-e1088.
154
- 5. WHO (2022). Immunization Agenda 2030.
155
- 6. DHS Program. Vaccination module, multiple countries 2015-2023.
156
 
157
  ## Citation
158
 
159
  ```bibtex
160
- @dataset{esa_immunisation_2025,
161
- title={Synthetic Childhood Immunisation Coverage and Dropout Dataset},
162
- author={Electric Sheep Africa},
163
- year={2025},
164
- publisher={Hugging Face},
165
- url={https://huggingface.co/datasets/electricsheepafrica/synthetic-childhood-immunisation-coverage-dropout-WUENIC}
 
166
  }
167
  ```
168
 
169
  ## License
170
 
171
- [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-4.0
3
+ language:
4
+ - en
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: monolingual
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  size_categories:
10
  - 10K<n<100K
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "culture-language"
17
+ - "csv"
18
+ - "tabular"
19
+ - "text"
20
+ - "synthetic"
21
+ - "healthcare"
22
+ - "immunisation"
23
+ - "vaccination"
24
+ - "epi"
25
+ - "zero-dose"
26
+ - "dropout"
27
+ - "equity"
28
+ - "who-unicef"
29
+ - "wuenic"
30
+ - "dhs"
31
+ - "lmic"
32
+ - "gavi"
33
+ - "literature"
34
+ pretty_name: "Synthetic Childhood Immunisation Coverage & Dropout Dataset (0-23 months) | Africa (Electric Sheep Africa metadata inventory)"
35
  ---
36
 
37
+ # Synthetic Childhood Immunisation Coverage & Dropout Dataset (0-23 months) | Africa (Electric Sheep Africa metadata inventory)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
+ **Size category:** `10K<n<100K` - **Formats:** `csv` - **Sector:** culture_language - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
40
 
41
+ ![size](https://img.shields.io/badge/size-10K%3Cn%3C100K-blue)
42
+ ![sector](https://img.shields.io/badge/sector-culture_language-green)
43
+ ![downloads](https://img.shields.io/badge/HF_downloads-87-orange)
44
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
45
 
46
+ ## TL;DR
47
 
48
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
49
 
50
+ ## What This Dataset Covers
 
 
 
 
 
 
 
 
51
 
52
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
53
 
54
+ Dataset context from the existing Hugging Face card: ⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference. Synthetic Childhood Immunisation Coverage & Dropout Dataset (0–23 months) Abstract This dataset provides 30,000 synthetic records (10,000 per scenario) of childhood immunisation status for children aged 0-23 months in LMIC settings. Each record contains 28 variables: demographics, socioeconomic determinants (wealth quintile… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all.
55
 
56
+ ## Dataset Profile
 
 
 
 
 
 
57
 
58
+ | Field | Value |
59
+ |---|---|
60
+ | Hugging Face repo | [`electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all) |
61
+ | Sector | culture_language |
62
+ | Topic tags | synthetic, healthcare, immunisation, vaccination, epi, zero-dose, dropout, equity, who-unicef, wuenic, dhs, lmic |
63
+ | Modalities | `tabular`, `text` |
64
+ | Formats | `csv` |
65
+ | Size category | `10K<n<100K` |
66
+ | Countries | Africa-wide or source-defined African coverage |
67
+ | ISO3 coverage | `not declared` |
68
+ | Last modified on HF | `2026-04-14 22:43:44+00:00` |
69
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
70
 
71
+ ## How To Read This Dataset
 
 
 
 
72
 
73
+ - Start from the repository files and the dataset viewer when available.
74
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
75
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
76
+ - Preserve missing values until you have a defensible imputation rule.
77
 
78
+ ## Usage
79
 
80
+ ```python
81
+ from datasets import load_dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
83
+ ds = load_dataset("electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all")
84
+ print(ds)
 
85
 
86
+ split_name = next(iter(ds))
87
+ table = ds[split_name]
88
+ print(table.features)
89
+ print(table[:3])
90
+ ```
91
 
92
+ ### Convert To Pandas When Tabular
93
 
94
  ```python
95
+ from datasets import Dataset
96
 
97
+ first_split = ds[next(iter(ds))]
98
+ if isinstance(first_split, Dataset):
99
+ df = first_split.to_pandas()
100
+ print(df.head())
101
  ```
102
 
103
+ ## Data Quality Notes
104
 
105
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
106
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
107
+ - Metadata gaps from the inventory: country, upstream_publisher.
108
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
 
109
 
110
+ ## Source And Provenance
111
 
112
+ - **Source context:** Electric Sheep Africa metadata inventory
113
+ - **Publisher/source attribution:** Public dataset metadata
114
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
115
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all](https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all)
116
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
117
 
118
+ ## Suggested Analyses
119
 
120
+ - Inspect schema and missingness before modeling.
121
+ - Profile variables by geography, time, and subgroup columns where present.
122
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
123
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
 
 
124
 
125
  ## Citation
126
 
127
  ```bibtex
128
+ @misc{electric_sheep_africa_africa_synth_vaccination_childhood_immunisation_all_2026,
129
+ title = {Synthetic Childhood Immunisation Coverage & Dropout Dataset (0-23 months) | Africa (Electric Sheep Africa metadata inventory)},
130
+ author = {Public dataset metadata},
131
+ year = {2026},
132
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all},
133
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
134
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-synth-vaccination-childhood-immunisation-all}}
135
  }
136
  ```
137
 
138
  ## License
139
 
140
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
141
+
142
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
143
+
144
+ ## About Electric Sheep Africa
145
+
146
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
147
+
148
+ ---
149
+
150
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.