Kossisoroyce commited on
Commit
35b75cb
·
verified ·
1 Parent(s): 6e7ceb2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -225
README.md CHANGED
@@ -1,249 +1,50 @@
1
  ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
- language:
7
- - en
8
  license: other
9
- multilinguality:
10
- - monolingual
11
- size_categories:
12
- - n<1K
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
- - demographics
24
- - health
25
- - jor
26
- pretty_name: Jordan - National Demographic and Health Data
27
- dataset_info:
28
- features:
29
- - name: ISO3
30
- dtype: string
31
- - name: DataId
32
- dtype: int64
33
- - name: Indicator
34
- dtype: string
35
- - name: Value
36
- dtype: float64
37
- - name: Precision
38
- dtype: int64
39
- - name: DHS_CountryCode
40
- dtype: string
41
- - name: CountryName
42
- dtype: string
43
- - name: SurveyYear
44
- dtype: int64
45
- - name: SurveyId
46
- dtype: string
47
- - name: IndicatorId
48
- dtype: string
49
- - name: IndicatorOrder
50
- dtype: int64
51
- - name: IndicatorType
52
- dtype: string
53
- - name: CharacteristicId
54
- dtype: int64
55
- - name: CharacteristicOrder
56
- dtype: int64
57
- - name: CharacteristicCategory
58
- dtype: string
59
- - name: CharacteristicLabel
60
- dtype: string
61
- - name: ByVariableId
62
- dtype: int64
63
- - name: ByVariableLabel
64
- dtype: string
65
- - name: IsTotal
66
- dtype: int64
67
- - name: IsPreferred
68
- dtype: int64
69
- - name: SDRID
70
- dtype: string
71
- - name: SurveyYearLabel
72
- dtype: string
73
- - name: SurveyType
74
- dtype: string
75
- - name: DenominatorWeighted
76
- dtype: float64
77
- - name: DenominatorUnweighted
78
- dtype: float64
79
- - name: CILow
80
- dtype: float64
81
- - name: CIHigh
82
- dtype: float64
83
- splits:
84
- - name: train
85
- num_bytes: 35364
86
- num_examples: 129
87
- - name: test
88
- num_bytes: 9175
89
- num_examples: 33
90
- download_size: 30131
91
- dataset_size: 44539
92
- configs:
93
- - config_name: default
94
- data_files:
95
- - split: train
96
- path: data/train-*
97
- - split: test
98
- path: data/test-*
99
  ---
100
 
101
  # Jordan - National Demographic and Health Data
102
 
103
- **Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-data-for-jordan) · **License:** `hdx-other` · **Updated:** 2026-04-20
104
-
105
- ---
106
-
107
- ## Abstract
108
 
109
- Contains data from the [DHS data portal](https://api.dhsprogram.com/). There is also a dataset containing [Jordan - Subnational Demographic and Health Data](https://data.humdata.org/dataset/dhs-subnational-data-for-jordan) on HDX.
110
 
111
- 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.
 
 
112
 
113
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-04-20. Geographic scope: **JOR**.
114
 
115
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
116
 
117
- ---
118
-
119
- ## Dataset Characteristics
120
-
121
- | | |
122
- |---|---|
123
- | **Domain** | Public health |
124
- | **Unit of observation** | Country-level aggregates |
125
- | **Rows (total)** | 162 |
126
- | **Columns** | 29 (15 numeric, 14 categorical, 0 datetime) |
127
- | **Train split** | 129 rows |
128
- | **Test split** | 32 rows |
129
- | **Geographic scope** | JOR |
130
- | **Publisher** | The DHS Program |
131
- | **HDX last updated** | 2026-04-20 |
132
-
133
- ---
134
 
135
- ## Variables
136
 
137
- **Geographic** — `iso3` (JOR), `dhs_countrycode` (JO), `countryname` (Jordan), `surveyyear` (range 1990.0–2023.0), `surveyid` (JO1997DHS, JO2012DHS, JO2023DHS) and 6 others.
138
 
139
- **Outcome / Measurement** — `value` (range 0.5–99.5), `istotal` (range 1.0–1.0).
140
 
141
- **Identifier / Metadata** — `dataid` (range 46593.0–834563.0), `indicatorid` (RH_DELP_C_DHF, CM_ECMR_C_U5M, CM_ECMR_C_IMR), `characteristicid` (range 1000.0–10000.0), `characteristiclabel` (Total, Total 15-49), `ispreferred` (range 0.0–1.0) and 3 others.
142
-
143
- **Other** — `indicator` (Place of delivery: Health facility, Under-five mortality rate, Infant mortality rate), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–260321010.0), `characteristicorder` (range 0.0–10000.0), `denominatorweighted` (range 586.0–15190.0) and 3 others.
144
-
145
- ---
146
-
147
- ## Quick Start
148
-
149
- ```python
150
- from datasets import load_dataset
151
-
152
- ds = load_dataset("electricsheepafrica/asia-demographics-dhs-data-for-jordan")
153
- train = ds["train"].to_pandas()
154
- test = ds["test"].to_pandas()
155
 
156
- print(train.shape)
157
- train.head()
 
 
 
 
 
158
  ```
159
 
160
- ---
161
-
162
- ## Schema
163
-
164
- | Column | Type | Null % | Range / Sample Values |
165
- |---|---|---|---|
166
- | `iso3` | object | 0.0% | JOR |
167
- | `dataid` | int64 | 0.0% | 46593.0 – 834563.0 (mean 449228.2531) |
168
- | `indicator` | object | 0.0% | Place of delivery: Health facility, Under-five mortality rate, Infant mortality rate |
169
- | `value` | float64 | 0.0% | 0.5 – 99.5 (mean 40.4253) |
170
- | `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.7963) |
171
- | `dhs_countrycode` | object | 0.0% | JO |
172
- | `countryname` | object | 0.0% | Jordan |
173
- | `surveyyear` | int64 | 0.0% | 1990.0 – 2023.0 (mean 2007.3457) |
174
- | `surveyid` | object | 0.0% | JO1997DHS, JO2012DHS, JO2023DHS |
175
- | `indicatorid` | object | 0.0% | RH_DELP_C_DHF, CM_ECMR_C_U5M, CM_ECMR_C_IMR |
176
- | `indicatororder` | int64 | 0.0% | 11763080.0 – 260321010.0 (mean 84493710.0) |
177
- | `indicatortype` | object | 0.0% | I |
178
- | `characteristicid` | int64 | 0.0% | 1000.0 – 10000.0 (mean 1722.2222) |
179
- | `characteristicorder` | int64 | 0.0% | 0.0 – 10000.0 (mean 802.4691) |
180
- | `characteristiccategory` | object | 0.0% | Total, Total 15-49 |
181
- | `characteristiclabel` | object | 0.0% | Total, Total 15-49 |
182
- | `byvariableid` | int64 | 0.0% | 0.0 – 631001.0 (mean 21284.537) |
183
- | `byvariablelabel` | object | 56.8% | Five years preceding the survey, Ten years preceding the survey, Three years preceding the survey |
184
- | `istotal` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
185
- | `ispreferred` | int64 | 0.0% | 0.0 – 1.0 (mean 0.7531) |
186
- | `sdrid` | object | 0.0% | |
187
- | `surveyyearlabel` | float64 | 12.3% | 1990.0 – 2023.0 (mean 2005.9859) |
188
- | `surveytype` | object | 0.0% | |
189
- | `denominatorweighted` | float64 | 34.6% | 586.0 – 15190.0 (mean 6206.8774) |
190
- | `denominatorunweighted` | float64 | 34.6% | 586.0 – 15190.0 (mean 6311.3019) |
191
- | `cilow` | float64 | 79.6% | 8.0 – 38.0 (mean 19.303) |
192
- | `cihigh` | float64 | 79.6% | 18.0 – 64.0 (mean 29.7879) |
193
- | `esa_source` | object | 0.0% | |
194
- | `esa_processed` | object | 0.0% | |
195
-
196
- ---
197
-
198
- ## Numeric Summary
199
-
200
- | Column | Min | Max | Mean | Median |
201
- |---|---|---|---|---|
202
- | `dataid` | 46593.0 | 834563.0 | 449228.2531 | 431842.5 |
203
- | `value` | 0.5 | 99.5 | 40.4253 | 27.95 |
204
- | `precision` | 0.0 | 1.0 | 0.7963 | 1.0 |
205
- | `surveyyear` | 1990.0 | 2023.0 | 2007.3457 | 2007.0 |
206
- | `indicatororder` | 11763080.0 | 260321010.0 | 84493710.0 | 80299545.0 |
207
- | `characteristicid` | 1000.0 | 10000.0 | 1722.2222 | 1000.0 |
208
- | `characteristicorder` | 0.0 | 10000.0 | 802.4691 | 0.0 |
209
- | `byvariableid` | 0.0 | 631001.0 | 21284.537 | 0.0 |
210
- | `istotal` | 1.0 | 1.0 | 1.0 | 1.0 |
211
- | `ispreferred` | 0.0 | 1.0 | 0.7531 | 1.0 |
212
- | `surveyyearlabel` | 1990.0 | 2023.0 | 2005.9859 | 2007.0 |
213
- | `denominatorweighted` | 586.0 | 15190.0 | 6206.8774 | 5613.5 |
214
- | `denominatorunweighted` | 586.0 | 15190.0 | 6311.3019 | 5667.5 |
215
- | `cilow` | 8.0 | 38.0 | 19.303 | 17.0 |
216
- | `cihigh` | 18.0 | 64.0 | 29.7879 | 27.0 |
217
-
218
- ---
219
-
220
- ## Curation
221
-
222
- 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`. 2 column(s) with >80% missing values were removed: `regionid`, `levelrank`. 1 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
223
-
224
- ---
225
-
226
- ## Limitations
227
 
228
- - Data originates from The DHS Program and has not been independently validated by ESA.
229
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
230
- - The following columns have >20% missing values and should be treated with caution in modelling: `byvariablelabel`, `denominatorweighted`, `denominatorunweighted`, `cilow`, `cihigh`.
231
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/dhs-data-for-jordan) for the publisher's own methodology notes and caveats.
232
 
233
- ---
234
-
235
- ## Citation
236
 
237
- ```bibtex
238
- @dataset{hdx_asia_demographics_dhs_data_for_jordan,
239
- title = {Jordan - National Demographic and Health Data},
240
- author = {The DHS Program},
241
- year = {2026},
242
- url = {https://data.humdata.org/dataset/dhs-data-for-jordan},
243
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
244
- }
245
- ```
246
-
247
- ---
248
 
249
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
 
 
 
 
 
 
2
  license: other
 
 
 
 
 
 
 
 
 
3
  tags:
 
 
4
  - hdx
5
+ - humanitarian
6
+ - asia
7
+ - demographics-health
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
 
10
  # Jordan - National Demographic and Health Data
11
 
12
+ Contains data from the [DHS data portal](https://api.dhsprogram.com/). There is also a dataset containing [Jordan - Subnational Demographic and Health Data](https://data.humdata.org/dataset/dhs-subnational-data-for-jordan) on HDX. The DHS Program Application Programming Interface (API) provides sof
 
 
 
 
13
 
14
+ ## Resources
15
 
16
+ - **Resource Count**: 42
17
+ - **Formats**: csv
18
+ - **Last Updated**: 2026-04-20
19
 
20
+ ## Coverage
21
 
22
+ jor
23
 
24
+ ## Tags
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
+ `demographics`, `health`
27
 
28
+ ## License
29
 
30
+ **License ID**: hdx-other
31
 
32
+ ## Citation
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
+ ```
35
+ @dataset{{{slug}},
36
+ title = {{{title}}},
37
+ author = {{{org}}},
38
+ year = {{{last_updated[:4] if updated else 'unknown'}}},
39
+ URL = {{{hdx_url}}}
40
+ }
41
  ```
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
+ ---
 
 
 
45
 
46
+ *Curated into ML-ready Parquet format by [Electric Sheep Asia](https://huggingface.co/electricsheepasia).*
 
 
47
 
48
+ *Source: [dhs-data-for-jordan](https://data.humdata.org/dataset/dhs-data-for-jordan) via HDX (Humanitarian Data Exchange)*
 
 
 
 
 
 
 
 
 
 
49
 
50
+ *Last updated: 2026-04-20*