Kossisoroyce commited on
Commit
10c02fd
·
verified ·
1 Parent(s): fe3aa7f

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +160 -101
README.md CHANGED
@@ -5,7 +5,7 @@ language_creators:
5
  - found
6
  language:
7
  - en
8
- license: other
9
  multilinguality:
10
  - monolingual
11
  size_categories:
@@ -14,69 +14,152 @@ 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
  - demographics
24
- - health
 
 
 
25
  - ken
26
- pretty_name: Kenya - National Demographic and Health Data
27
  dataset_info:
28
- features:
29
- - name: adm2_pcode
30
- dtype: string
31
- - name: adm_pcode
32
- dtype: string
33
- - name: female_pop
34
- dtype: int64
35
- - name: children_u5
36
- dtype: int64
37
- - name: female_u5
38
- dtype: int64
39
- - name: elderly
40
- dtype: int64
41
- - name: pop_u15
42
- dtype: int64
43
- - name: female_u15
44
- dtype: int64
45
- - name: esa_source
46
- dtype: string
47
- - name: esa_processed
48
- dtype: string
49
  splits:
50
- - name: train
51
- num_bytes: 21576
52
- num_examples: 232
53
- - name: test
54
- num_bytes: 5394
55
- num_examples: 58
56
- download_size: 21943
57
- dataset_size: 26970
58
- configs:
59
- - config_name: default
60
- data_files:
61
- - split: train
62
- path: data/train-*
63
- - split: test
64
- path: data/test-*
65
  ---
66
 
67
- # Kenya - National Demographic and Health Data
68
 
69
- **Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-data-for-kenya) · **License:** `hdx-other` · **Updated:** 2026-04-20
70
 
71
  ---
72
 
73
  ## Abstract
74
 
75
- Contains data from the [DHS data portal](https://api.dhsprogram.com/). There is also a dataset containing [Kenya - Subnational Demographic and Health Data](https://data.humdata.org/dataset/dhs-subnational-data-for-kenya) on HDX.
 
 
76
 
77
- The DHS Program Application Programming Interface (API) provides software developers access to aggregated indicator data from The Demographic and Health Surveys (DHS) Program. The API can be used to create various applications to help analyze, visualize, explore and disseminate data on population, health, HIV, and nutrition from more than 90 countries.
 
 
78
 
79
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-04-20. Geographic scope: **KEN**.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
  *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
82
 
@@ -87,26 +170,26 @@ Each row in this dataset represents country-level aggregates. Data was last upda
87
  | | |
88
  |---|---|
89
  | **Domain** | Public health |
90
- | **Unit of observation** | Country-level aggregates |
91
- | **Rows (total)** | 191 |
92
- | **Columns** | 27 (12 numeric, 15 categorical, 0 datetime) |
93
- | **Train split** | 152 rows |
94
- | **Test split** | 38 rows |
95
  | **Geographic scope** | KEN |
96
- | **Publisher** | The DHS Program |
97
- | **HDX last updated** | 2026-04-20 |
98
 
99
  ---
100
 
101
  ## Variables
102
 
103
- **Geographic** — `iso3` (KEN), `dhs_countrycode` (KE), `countryname` (Kenya), `surveyyear` (range 1989.0–2022.0), `surveyid` (KE2003DHS, KE2008DHS, KE2014DHS) and 6 others.
104
 
105
- **Outcome / Measurement** — `value` (range 0.5743.0), `istotal` (range 1.0–1.0).
106
 
107
- **Identifier / Metadata** — `dataid` (range 1361.0–824316.0), `indicatorid` (RH_DELP_C_DHF, CM_ECMR_C_IMR, CM_ECMR_C_U5M), `characteristicid` (range 1000.0–10000.0), `characteristiclabel` (Total, Total 15-49), `ispreferred` (range 0.0–1.0) and 3 others.
108
 
109
- **Other** — `indicator` (Place of delivery: Health facility, Infant mortality rate, Under-five mortality rate), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–260321010.0), `characteristicorder` (range 0.0–10000.0), `denominatorweighted` (range 549.0–37911.0) and 1 others.
110
 
111
  ---
112
 
@@ -129,33 +212,16 @@ train.head()
129
 
130
  | Column | Type | Null % | Range / Sample Values |
131
  |---|---|---|---|
132
- | `iso3` | object | 0.0% | KEN |
133
- | `dataid` | int64 | 0.0% | 1361.0 824316.0 (mean 439095.9476) |
134
- | `indicator` | object | 0.0% | Place of delivery: Health facility, Infant mortality rate, Under-five mortality rate |
135
- | `value` | float64 | 0.0% | 0.5743.0 (mean 50.256) |
136
- | `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.8325) |
137
- | `dhs_countrycode` | object | 0.0% | KE |
138
- | `countryname` | object | 0.0% | Kenya |
139
- | `surveyyear` | int64 | 0.0% | 1989.0 – 2022.0 (mean 2006.6963) |
140
- | `surveyid` | object | 0.0% | KE2003DHS, KE2008DHS, KE2014DHS |
141
- | `indicatorid` | object | 0.0% | RH_DELP_C_DHF, CM_ECMR_C_IMR, CM_ECMR_C_U5M |
142
- | `indicatororder` | int64 | 0.0% | 11763080.0 – 260321010.0 (mean 100874966.4921) |
143
- | `indicatortype` | object | 0.0% | I |
144
- | `characteristicid` | int64 | 0.0% | 1000.0 – 10000.0 (mean 2554.9738) |
145
- | `characteristicorder` | int64 | 0.0% | 0.0 – 10000.0 (mean 1727.7487) |
146
- | `characteristiccategory` | object | 0.0% | Total, Total 15-49 |
147
- | `characteristiclabel` | object | 0.0% | Total, Total 15-49 |
148
- | `byvariableid` | int64 | 0.0% | 0.0 – 631002.0 (mean 20550.1728) |
149
- | `byvariablelabel` | object | 68.6% | Five years preceding the survey, Ten years preceding the survey, Three years preceding the survey |
150
- | `istotal` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
151
- | `ispreferred` | int64 | 0.0% | 0.0 – 1.0 (mean 0.822) |
152
- | `sdrid` | object | 0.0% | |
153
- | `surveyyearlabel` | object | 0.0% | |
154
- | `surveytype` | object | 0.0% | |
155
- | `denominatorweighted` | float64 | 31.9% | 549.0 – 37911.0 (mean 8269.8692) |
156
- | `denominatorunweighted` | float64 | 31.9% | 538.0 – 37911.0 (mean 8494.9077) |
157
- | `esa_source` | object | 0.0% | |
158
- | `esa_processed` | object | 0.0% | |
159
 
160
  ---
161
 
@@ -163,33 +229,26 @@ train.head()
163
 
164
  | Column | Min | Max | Mean | Median |
165
  |---|---|---|---|---|
166
- | `dataid` | 1361.0 | 824316.0 | 439095.9476 | 462342.0 |
167
- | `value` | 0.5 | 743.0 | 50.256 | 39.2 |
168
- | `precision` | 0.0 | 1.0 | 0.8325 | 1.0 |
169
- | `surveyyear` | 1989.0 | 2022.0 | 2006.6963 | 2008.0 |
170
- | `indicatororder` | 11763080.0 | 260321010.0 | 100874966.4921 | 83566070.0 |
171
- | `characteristicid` | 1000.0 | 10000.0 | 2554.9738 | 1000.0 |
172
- | `characteristicorder` | 0.0 | 10000.0 | 1727.7487 | 0.0 |
173
- | `byvariableid` | 0.0 | 631002.0 | 20550.1728 | 0.0 |
174
- | `istotal` | 1.0 | 1.0 | 1.0 | 1.0 |
175
- | `ispreferred` | 0.0 | 1.0 | 0.822 | 1.0 |
176
- | `denominatorweighted` | 549.0 | 37911.0 | 8269.8692 | 5394.0 |
177
- | `denominatorunweighted` | 538.0 | 37911.0 | 8494.9077 | 5394.0 |
178
 
179
  ---
180
 
181
  ## Curation
182
 
183
- 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`. 4 column(s) with >80% missing values were removed: `regionid`, `cilow`, `cihigh`, `levelrank`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
184
 
185
  ---
186
 
187
  ## Limitations
188
 
189
- - Data originates from The DHS Program and has not been independently validated by ESA.
190
  - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
191
- - The following columns have >20% missing values and should be treated with caution in modelling: `byvariablelabel`, `denominatorweighted`, `denominatorunweighted`.
192
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/dhs-data-for-kenya) for the publisher's own methodology notes and caveats.
193
 
194
  ---
195
 
@@ -197,10 +256,10 @@ Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Colu
197
 
198
  ```bibtex
199
  @dataset{hdx_africa_demographics_kenya,
200
- title = {Kenya - National Demographic and Health Data},
201
- author = {The DHS Program},
202
  year = {2026},
203
- url = {https://data.humdata.org/dataset/dhs-data-for-kenya},
204
  note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
205
  }
206
  ```
 
5
  - found
6
  language:
7
  - en
8
+ license: cc-by-sa-4.0
9
  multilinguality:
10
  - monolingual
11
  size_categories:
 
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
+ - affected-population
25
  - demographics
26
+ - flooding
27
+ - hazards-and-risk
28
+ - health-facilities
29
+ - indicators
30
  - ken
31
+ pretty_name: "Kenya - Risk Assessment Indicators"
32
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  splits:
34
+ - name: train
35
+ num_examples: 232
36
+ - name: test
37
+ num_examples: 58
 
 
 
 
 
 
 
 
 
 
 
38
  ---
39
 
40
+ # Kenya - Risk Assessment Indicators
41
 
42
+ **Publisher:** HeiGIT (Heidelberg Institute for Geoinformation Technology) · **Source:** [HDX](https://data.humdata.org/dataset/kenya---risk-assessment-indicators) · **License:** `cc-by-sa` · **Updated:** 2026-04-13
43
 
44
  ---
45
 
46
  ## Abstract
47
 
48
+ This dataset provides comprehensive **Risk Assessment Indicators** for **Kenya**, aggregated at **admin level 2** and
49
+ can in particular be used to perform a structured risk assessment for **flood** hazards.
50
+ It includes demographic, environmental, infrastructure, accessibility, and hazard-related data to support disaster risk and resilience analysis.
51
 
52
+ All layers are derived from [HeiGIT’s GAIA Pipeline](https://giscience.github.io/gis-training-resource-center/content/GIS_AA/en_gaia_indicators_processing.html), integrating open data sources such as [WorldPop](https://www.worldpop.org/),
53
+ [OpenStreetMap](https://www.openstreetmap.org/), and [Google Earth Engine](https://earthengine.google.com/) based on
54
+ [HDX COD-AB](https://data.humdata.org/dataset/?q=cod-ab) boundaries.
55
 
56
+ ---
57
+
58
+ ### **Data Overview**
59
+
60
+ - **Access to Services (`KEN_ADM2_access`)**
61
+ - **Facilities (`KEN_ADM2_facilities`)**
62
+ - **Coping Capacity (`KEN_ADM2_coping`)**
63
+ - **Demographics (`KEN_ADM2_demographics`)**
64
+ - **Rural Population (`KEN_ADM2_rural_population`)**
65
+ - **Vulnerability (`KEN_ADM2_vulnerability`)**
66
+ - **Flood Exposure (`KEN_ADM2_flood_exposure`)**
67
+
68
+
69
+ <p>&nbsp;</p>
70
+ <p>&nbsp;</p>
71
+
72
+ ---
73
+
74
+ ### **Indicator Descriptions**
75
+
76
+ #### **Access to Services (`KEN_ADM2_access`)**
77
+ Represents the share of the population with access to key facilities within defined distances or travel times.
78
+
79
+ - **ADM2_PCODE** – Administrative division code (ADM2)
80
+ - **access_pop_education_5km / 10km / 20km** – Population within 5, 10, and 20 km of educational facilities
81
+ - **access_pop_hospitals_30min / 1h / 2h** – Population within 30 minutes, 1 hour, and 2 hours of a hospital
82
+ - **access_pop_primary_healthcare_30min / 1h / 2h** – Population within 30 minutes, 1 hour, and 2 hours of a primary health care facility
83
+
84
+ Data Source: [openrouteservice (ORS)](https://openrouteservice.org/)
85
+
86
+ ---
87
+
88
+ #### **Facilities (`KEN_ADM2_facilities`)**
89
+ Counts of essential service facilities within each district.
90
+
91
+ - **ADM2_PCODE** – Administrative division code (ADM2)
92
+ - **education_count** – Number of educational facilities
93
+ - **hospitals_count** – Number of hospitals
94
+ - **primary_healthcare_count** – Number of primary health care facilities
95
+
96
+ Data Source: [OpenStreetMap (OSM)](https://www.openstreetmap.org)
97
+
98
+ ---
99
+
100
+ #### **Coping Capacity (`KEN_ADM2_coping`)**
101
+ Combines **Access to Services** and **Facilities** data to represent a district’s coping capacity.
102
+
103
+ ---
104
+
105
+ #### **Demographics (`KEN_ADM2_demographics`)**
106
+ Shows the population composition by age and gender.
107
+
108
+ - **ADM2_PCODE** – Administrative division code (ADM2)
109
+ - **female_pop** – Total female population
110
+ - **children_u5** – Population under 5 years old
111
+ - **female_u5** – Female population under 5 years old
112
+ - **elderly** – Population aged 65 and older
113
+ - **pop_u15** – Population under 15 years old
114
+ - **female_u15** – Female population under 15 years old
115
+
116
+ Data Source: [Worldpop](https://www.worldpop.org/)
117
+
118
+ ---
119
+
120
+ #### **Rural Population (`KEN_ADM2_rural_population`)**
121
+ Same demographic breakdown as above, but limited to rural populations. Rural areas are those outside urban extents,
122
+ typically characterized by lower population density, agricultural or natural land use, and limited infrastructure compared to urban centers.
123
+
124
+ - **ADM2_PCODE** – Administrative division code (ADM2)
125
+ - **female_pop_rural**, **children_u5_rural**, **female_u5_rural**, **elderly_rural**, **pop_u15_rural**, **female_u15_rural** – Rural demographic counts
126
+ - **rural_pop_perc** – Percentage of total population living in rural areas
127
+
128
+ Data Source: [Global Human Settlement Layer (GHSL)](https://human-settlement.emergency.copernicus.eu/datasets.php)
129
+
130
+ ---
131
+
132
+ #### **Vulnerability (`KEN_ADM2_vulnerability`)**
133
+ Combines **Demographics** and **Rural Population** indicators.
134
+
135
+ ---
136
+
137
+ #### **Flood Exposure (`KEN_ADM2_flood_exposure`)**
138
+ Shows population and facility exposure to flooding at 30 cm depth for multiple return periods.
139
+
140
+ - **ADM2_PCODE** – Administrative division code (ADM2)
141
+ - **female_pop_30cm**, **children_u5_30cm**, **female_u5_30cm**, **elderly_30cm**, **pop_u15_30cm**, **female_u15_30cm** – Exposed population by group
142
+ - **education_30cm_pct / count**, **hospitals_30cm_pct / count**, **primary_healthcare_30cm_pct / count** – Facility exposure (percentage and count)
143
+
144
+ Data Source: [The Joint Research Centre (JRC)](https://data.jrc.ec.europa.eu/collection/id-0054)
145
+
146
+
147
+ ---
148
+
149
+
150
+
151
+ ### **QGIS Plugin Risk Assessment Inputs**
152
+
153
+ - **Coping Capacity** = Access + Facilities
154
+ - **Vulnerability** = Demographics + Rural Population
155
+ - **Exposure** = Vulnerable Population + Facilities exposed to Floods
156
+
157
+ This dataset is part of HeiGIT’s **Risk Assessment Indicator Collection** on HDX.
158
+ See more at [HeiGIT on HDX](https://data.humdata.org/organization/heidelberg-institute-for-geoinformation-technology) and learn about HeiGIT’s research at [HeiGIT](https://heigit.org/).
159
+
160
+ We are happy to hear about your use-cases — contact us at [communications@heigit.org](mailto:communications@heigit.org)!
161
+
162
+ Each row in this dataset represents tabular records. Data was last updated on HDX on 2026-04-13. Geographic scope: **KEN**.
163
 
164
  *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
165
 
 
170
  | | |
171
  |---|---|
172
  | **Domain** | Public health |
173
+ | **Unit of observation** | Tabular records |
174
+ | **Rows (total)** | 290 |
175
+ | **Columns** | 10 (6 numeric, 4 categorical, 0 datetime) |
176
+ | **Train split** | 232 rows |
177
+ | **Test split** | 58 rows |
178
  | **Geographic scope** | KEN |
179
+ | **Publisher** | HeiGIT (Heidelberg Institute for Geoinformation Technology) |
180
+ | **HDX last updated** | 2026-04-13 |
181
 
182
  ---
183
 
184
  ## Variables
185
 
186
+ **Geographic** — `elderly` (range 500.0–12802.0).
187
 
188
+ **Demographic** — `female_pop` (range 8224.0–309293.0), `female_u5` (range 1179.042669.0), `pop_u15` (range 6496.0–332085.0), `female_u15` (range 3224.0–156893.0).
189
 
190
+ **Identifier / Metadata** — `adm2_pcode` (KE027144, KE042242, KE032168), `adm_pcode` (KE027144, KE042242, KE032168), `esa_source` (HDX), `esa_processed` (2026-04-27).
191
 
192
+ **Other** — `children_u5` (range 2398.0–85021.0).
193
 
194
  ---
195
 
 
212
 
213
  | Column | Type | Null % | Range / Sample Values |
214
  |---|---|---|---|
215
+ | `adm2_pcode` | object | 0.0% | KE027144, KE042242, KE032168 |
216
+ | `adm_pcode` | object | 0.0% | KE027144, KE042242, KE032168 |
217
+ | `female_pop` | int64 | 0.0% | 8224.0 309293.0 (mean 94824.9517) |
218
+ | `children_u5` | int64 | 0.0% | 2398.085021.0 (mean 26349.6517) |
219
+ | `female_u5` | int64 | 0.0% | 1179.0 – 42669.0 (mean 13105.6621) |
220
+ | `elderly` | int64 | 0.0% | 500.0 – 12802.0 (mean 5314.3034) |
221
+ | `pop_u15` | int64 | 0.0% | 6496.0 – 332085.0 (mean 75028.2483) |
222
+ | `female_u15` | int64 | 0.0% | 3224.0 – 156893.0 (mean 37273.269) |
223
+ | `esa_source` | object | 0.0% | HDX |
224
+ | `esa_processed` | object | 0.0% | 2026-04-27 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
 
226
  ---
227
 
 
229
 
230
  | Column | Min | Max | Mean | Median |
231
  |---|---|---|---|---|
232
+ | `female_pop` | 8224.0 | 309293.0 | 94824.9517 | 90518.5 |
233
+ | `children_u5` | 2398.0 | 85021.0 | 26349.6517 | 24505.0 |
234
+ | `female_u5` | 1179.0 | 42669.0 | 13105.6621 | 12246.5 |
235
+ | `elderly` | 500.0 | 12802.0 | 5314.3034 | 5128.5 |
236
+ | `pop_u15` | 6496.0 | 332085.0 | 75028.2483 | 67840.5 |
237
+ | `female_u15` | 3224.0 | 156893.0 | 37273.269 | 34116.5 |
 
 
 
 
 
 
238
 
239
  ---
240
 
241
  ## Curation
242
 
243
+ 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.
244
 
245
  ---
246
 
247
  ## Limitations
248
 
249
+ - Data originates from HeiGIT (Heidelberg Institute for Geoinformation Technology) and has not been independently validated by ESA.
250
  - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
251
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/kenya---risk-assessment-indicators) for the publisher's own methodology notes and caveats.
 
252
 
253
  ---
254
 
 
256
 
257
  ```bibtex
258
  @dataset{hdx_africa_demographics_kenya,
259
+ title = {Kenya - Risk Assessment Indicators},
260
+ author = {HeiGIT (Heidelberg Institute for Geoinformation Technology)},
261
  year = {2026},
262
+ url = {https://data.humdata.org/dataset/kenya---risk-assessment-indicators},
263
  note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
264
  }
265
  ```