Kossisoroyce commited on
Commit
940d374
·
verified ·
1 Parent(s): b8d480b

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +183 -80
README.md CHANGED
@@ -1,84 +1,187 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: iso3
5
- dtype: string
6
- - name: location
7
- dtype: string
8
- - name: dataid
9
- dtype: int64
10
- - name: indicator
11
- dtype: string
12
- - name: value
13
- dtype: float64
14
- - name: precision
15
- dtype: int64
16
- - name: dhs_countrycode
17
- dtype: string
18
- - name: countryname
19
- dtype: string
20
- - name: surveyyear
21
- dtype: int64
22
- - name: surveyid
23
- dtype: string
24
- - name: indicatorid
25
- dtype: string
26
- - name: indicatororder
27
- dtype: int64
28
- - name: indicatortype
29
- dtype: string
30
- - name: characteristicid
31
- dtype: int64
32
- - name: characteristicorder
33
- dtype: int64
34
- - name: characteristiccategory
35
- dtype: string
36
- - name: characteristiclabel
37
- dtype: string
38
- - name: byvariableid
39
- dtype: int64
40
- - name: byvariablelabel
41
- dtype: string
42
- - name: istotal
43
- dtype: int64
44
- - name: ispreferred
45
- dtype: int64
46
- - name: sdrid
47
- dtype: string
48
- - name: regionid
49
- dtype: string
50
- - name: surveyyearlabel
51
- dtype: string
52
- - name: surveytype
53
- dtype: string
54
- - name: denominatorweighted
55
- dtype: float64
56
- - name: denominatorunweighted
57
- dtype: float64
58
- - name: cilow
59
- dtype: float64
60
- - name: cihigh
61
- dtype: float64
62
- - name: levelrank
63
- dtype: int64
64
- - name: esa_source
65
- dtype: string
66
- - name: esa_processed
67
- dtype: string
68
  splits:
69
- - name: train
70
- num_bytes: 11170
71
- num_examples: 33
72
- - name: test
73
- num_bytes: 3059
74
- num_examples: 9
75
- download_size: 28714
76
- dataset_size: 14229
77
- configs:
78
- - config_name: default
79
- data_files:
80
- - split: train
81
- path: data/train-*
82
- - split: test
83
- path: data/test-*
84
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - demographics
25
+ - health
26
+ - sdn
27
+ pretty_name: "Sudan - Subnational Demographic and Health Data"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 33
32
+ - name: test
33
+ num_examples: 8
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Sudan - Subnational Demographic and Health Data
37
+
38
+ **Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-subnational-data-for-sudan) · **License:** `hdx-other` · **Updated:** 2026-02-24
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ Contains data from the [DHS data portal](https://api.dhsprogram.com/). There is also a dataset containing [Sudan - National Demographic and Health Data](https://data.humdata.org/dataset/dhs-data-for-sudan) on HDX.
45
+
46
+ 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.
47
+
48
+ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-02-24. Geographic scope: **SDN**.
49
+
50
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
51
+
52
+ ---
53
+
54
+ ## Dataset Characteristics
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Domain** | Public health |
59
+ | **Unit of observation** | First-level administrative unit observations |
60
+ | **Rows (total)** | 42 |
61
+ | **Columns** | 32 (15 numeric, 17 categorical, 0 datetime) |
62
+ | **Train split** | 33 rows |
63
+ | **Test split** | 8 rows |
64
+ | **Geographic scope** | SDN |
65
+ | **Publisher** | The DHS Program |
66
+ | **HDX last updated** | 2026-02-24 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `iso3` (SDN), `location` (Khartoum, Northern, Eastern), `dhs_countrycode` (SD), `countryname` (Sudan), `surveyyear` (range 1990.0–1990.0) and 8 others.
73
+
74
+ **Outcome / Measurement** — `value` (range 0.2–178.0), `istotal` (range 0.0–0.0).
75
+
76
+ **Identifier / Metadata** — `dataid` (range 117286.0–7925878.0), `indicatorid` (FE_FRTR_W_TFR, FP_CUSM_W_ANY, FP_CUSM_W_MOD), `characteristicid` (range 443001.0–443006.0), `characteristiclabel` (Khartoum, Northern, Eastern), `ispreferred` (range 1.0–1.0) and 3 others.
77
+
78
+ **Other** — `indicator` (Total fertility rate 15-49, Married women currently using any method of contraception, Married women currently using any modern method of contraception), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–104336020.0), `characteristicorder` (range 1443001.0–1443006.0), `denominatorweighted` (range 365.0–1480.0) and 4 others.
79
+
80
+ ---
81
+
82
+ ## Quick Start
83
+
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds = load_dataset("electricsheepafrica/africa-demographics-sudan")
88
+ train = ds["train"].to_pandas()
89
+ test = ds["test"].to_pandas()
90
+
91
+ print(train.shape)
92
+ train.head()
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Schema
98
+
99
+ | Column | Type | Null % | Range / Sample Values |
100
+ |---|---|---|---|
101
+ | `iso3` | object | 0.0% | SDN |
102
+ | `location` | object | 0.0% | Khartoum, Northern, Eastern |
103
+ | `dataid` | int64 | 0.0% | 117286.0 – 7925878.0 (mean 3119772.7381) |
104
+ | `indicator` | object | 0.0% | Total fertility rate 15-49, Married women currently using any method of contraception, Married women currently using any modern method of contraception |
105
+ | `value` | float64 | 0.0% | 0.2 – 178.0 (mean 35.8429) |
106
+ | `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.7143) |
107
+ | `dhs_countrycode` | object | 0.0% | SD |
108
+ | `countryname` | object | 0.0% | Sudan |
109
+ | `surveyyear` | int64 | 0.0% | 1990.0 – 1990.0 (mean 1990.0) |
110
+ | `surveyid` | object | 0.0% | SD1990DHS |
111
+ | `indicatorid` | object | 0.0% | FE_FRTR_W_TFR, FP_CUSM_W_ANY, FP_CUSM_W_MOD |
112
+ | `indicatororder` | int64 | 0.0% | 11763080.0 – 104336020.0 (mean 49915757.1429) |
113
+ | `indicatortype` | object | 0.0% | I |
114
+ | `characteristicid` | int64 | 0.0% | 443001.0 – 443006.0 (mean 443003.5) |
115
+ | `characteristicorder` | int64 | 0.0% | 1443001.0 – 1443006.0 (mean 1443003.5) |
116
+ | `characteristiccategory` | object | 0.0% | Region |
117
+ | `characteristiclabel` | object | 0.0% | Khartoum, Northern, Eastern |
118
+ | `byvariableid` | int64 | 0.0% | 0.0 – 14003.0 (mean 4000.8571) |
119
+ | `byvariablelabel` | object | 71.4% | |
120
+ | `istotal` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
121
+ | `ispreferred` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
122
+ | `sdrid` | object | 0.0% | |
123
+ | `regionid` | object | 0.0% | |
124
+ | `surveyyearlabel` | object | 0.0% | |
125
+ | `surveytype` | object | 0.0% | |
126
+ | `denominatorweighted` | float64 | 71.4% | 365.0 – 1480.0 (mean 900.0) |
127
+ | `denominatorunweighted` | float64 | 71.4% | 365.0 – 1480.0 (mean 900.0) |
128
+ | `cilow` | float64 | 71.4% | 49.0 – 144.0 (mean 87.75) |
129
+ | `cihigh` | float64 | 71.4% | 71.0 – 212.0 (mean 126.25) |
130
+ | `levelrank` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
131
+ | `esa_source` | object | 0.0% | |
132
+ | `esa_processed` | object | 0.0% | |
133
+
134
+ ---
135
+
136
+ ## Numeric Summary
137
+
138
+ | Column | Min | Max | Mean | Median |
139
+ |---|---|---|---|---|
140
+ | `dataid` | 117286.0 | 7925878.0 | 3119772.7381 | 1137980.0 |
141
+ | `value` | 0.2 | 178.0 | 35.8429 | 10.15 |
142
+ | `precision` | 0.0 | 1.0 | 0.7143 | 1.0 |
143
+ | `surveyyear` | 1990.0 | 1990.0 | 1990.0 | 1990.0 |
144
+ | `indicatororder` | 11763080.0 | 104336020.0 | 49915757.1429 | 41633090.0 |
145
+ | `characteristicid` | 443001.0 | 443006.0 | 443003.5 | 443003.5 |
146
+ | `characteristicorder` | 1443001.0 | 1443006.0 | 1443003.5 | 1443003.5 |
147
+ | `byvariableid` | 0.0 | 14003.0 | 4000.8571 | 0.0 |
148
+ | `istotal` | 0.0 | 0.0 | 0.0 | 0.0 |
149
+ | `ispreferred` | 1.0 | 1.0 | 1.0 | 1.0 |
150
+ | `denominatorweighted` | 365.0 | 1480.0 | 900.0 | 901.5 |
151
+ | `denominatorunweighted` | 365.0 | 1480.0 | 900.0 | 901.5 |
152
+ | `cilow` | 49.0 | 144.0 | 87.75 | 76.5 |
153
+ | `cihigh` | 71.0 | 212.0 | 126.25 | 121.0 |
154
+ | `levelrank` | 1.0 | 1.0 | 1.0 | 1.0 |
155
+
156
+ ---
157
+
158
+ ## Curation
159
+
160
+ 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.
161
+
162
+ ---
163
+
164
+ ## Limitations
165
+
166
+ - Data originates from The DHS Program and has not been independently validated by ESA.
167
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
168
+ - The following columns have >20% missing values and should be treated with caution in modelling: `byvariablelabel`, `denominatorweighted`, `denominatorunweighted`, `cilow`, `cihigh`.
169
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/dhs-subnational-data-for-sudan) for the publisher's own methodology notes and caveats.
170
+
171
+ ---
172
+
173
+ ## Citation
174
+
175
+ ```bibtex
176
+ @dataset{hdx_africa_demographics_sudan,
177
+ title = {Sudan - Subnational Demographic and Health Data},
178
+ author = {The DHS Program},
179
+ year = {2026},
180
+ url = {https://data.humdata.org/dataset/dhs-subnational-data-for-sudan},
181
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
182
+ }
183
+ ```
184
+
185
+ ---
186
+
187
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*