Kossisoroyce commited on
Commit
759769d
·
verified ·
1 Parent(s): 4d5cca5

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +162 -62
README.md CHANGED
@@ -1,66 +1,166 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: x
5
- dtype: float64
6
- - name: y
7
- dtype: float64
8
- - name: osm_id
9
- dtype: int64
10
- - name: osm_type
11
- dtype: string
12
- - name: completeness
13
- dtype: float64
14
- - name: amenity
15
- dtype: string
16
- - name: healthcare
17
- dtype: string
18
- - name: name
19
- dtype: string
20
- - name: operator
21
- dtype: string
22
- - name: source
23
- dtype: string
24
- - name: speciality
25
- dtype: string
26
- - name: opening_hours
27
- dtype: string
28
- - name: dispensing
29
- dtype: string
30
- - name: emergency
31
- dtype: string
32
- - name: water_source
33
- dtype: string
34
- - name: addr_street
35
- dtype: string
36
- - name: addr_city
37
- dtype: string
38
- - name: changeset_id
39
- dtype: int64
40
- - name: changeset_version
41
- dtype: int64
42
- - name: changeset_timestamp
43
- dtype: timestamp[ns, tz=UTC]
44
- - name: uuid
45
- dtype: string
46
- - name: esa_source
47
- dtype: string
48
- - name: esa_processed
49
- dtype: string
50
  splits:
51
- - name: train
52
- num_bytes: 100085
53
- num_examples: 444
54
- - name: test
55
- num_bytes: 25472
56
- num_examples: 112
57
- download_size: 69135
58
- dataset_size: 125557
59
- configs:
60
- - config_name: default
61
- data_files:
62
- - split: train
63
- path: data/train-*
64
- - split: test
65
- path: data/test-*
66
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - health-facilities
24
+ - hxl
25
+ - sle
26
+ pretty_name: "Sierra Leone Healthsites"
27
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  splits:
29
+ - name: train
30
+ num_examples: 444
31
+ - name: test
32
+ num_examples: 111
 
 
 
 
 
 
 
 
 
 
 
33
  ---
34
+
35
+ # Sierra Leone Healthsites
36
+
37
+ **Publisher:** Global Healthsites Mapping Project · **Source:** [HDX](https://data.humdata.org/dataset/sierra-leone-healthsites) · **License:** `ODbL` · **Updated:** 2025-10-15
38
+
39
+ ---
40
+
41
+ ## Abstract
42
+
43
+ This dataset shows the list of operating health facilities. Attributes included: Name,Nature of Facility, Activities, Lat, Long
44
+
45
+ Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-10-15. Geographic scope: **SLE**.
46
+
47
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
48
+
49
+ ---
50
+
51
+ ## Dataset Characteristics
52
+
53
+ | | |
54
+ |---|---|
55
+ | **Domain** | Public health |
56
+ | **Unit of observation** | Tabular records |
57
+ | **Rows (total)** | 556 |
58
+ | **Columns** | 23 (6 numeric, 16 categorical, 0 datetime) |
59
+ | **Train split** | 444 rows |
60
+ | **Test split** | 111 rows |
61
+ | **Geographic scope** | SLE |
62
+ | **Publisher** | Global Healthsites Mapping Project |
63
+ | **HDX last updated** | 2025-10-15 |
64
+
65
+ ---
66
+
67
+ ## Variables
68
+
69
+ **Geographic** — `x` (range -13.2713–-10.3167), `y` (range 6.9678–9.9737), `osm_type` (node, way), `amenity` (clinic, pharmacy, hospital), `speciality` (clinic, hospital, yes) and 2 others.
70
+
71
+ **Temporal** — `changeset_timestamp`.
72
+
73
+ **Identifier / Metadata** — `osm_id` (range 224729043.0–13130524315.0), `name` (Ministry of Health and Sanitation Clinic, Matanal Children's Health Post Hospital Building, MCHP), `source` (Red Cross Field Survey, MSF-CH, MSFsurvey), `water_source`, `changeset_id` (range 19113513.0–172755228.0) and 3 others.
74
+
75
+ **Other** — `completeness` (range 6.25–40.625), `healthcare` (hospital, pharmacy, clinic), `operator` (Ministry of Health and Sanitation, government, combination), `opening_hours` (24/7, 08:00-17:00, Mo-Fr 08:00-17:00), `dispensing` (yes, no) and 2 others.
76
+
77
+ ---
78
+
79
+ ## Quick Start
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("electricsheepafrica/africa-health-facilities-sierra-leone")
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
+ | `x` | float64 | 30.6% | -13.2713 – -10.3167 (mean -11.8405) |
99
+ | `y` | float64 | 30.6% | 6.9678 – 9.9737 (mean 8.4376) |
100
+ | `osm_id` | int64 | 0.0% | 224729043.0 – 13130524315.0 (mean 4009847857.0971) |
101
+ | `osm_type` | object | 0.0% | node, way |
102
+ | `completeness` | float64 | 0.0% | 6.25 – 40.625 (mean 18.7837) |
103
+ | `amenity` | object | 2.9% | clinic, pharmacy, hospital |
104
+ | `healthcare` | object | 65.1% | hospital, pharmacy, clinic |
105
+ | `name` | object | 11.9% | Ministry of Health and Sanitation Clinic, Matanal Children's Health Post Hospital Building, MCHP |
106
+ | `operator` | object | 75.4% | Ministry of Health and Sanitation, government, combination |
107
+ | `source` | object | 50.5% | Red Cross Field Survey, MSF-CH, MSFsurvey |
108
+ | `speciality` | object | 74.5% | clinic, hospital, yes |
109
+ | `opening_hours` | object | 76.3% | 24/7, 08:00-17:00, Mo-Fr 08:00-17:00 |
110
+ | `dispensing` | object | 79.0% | yes, no |
111
+ | `emergency` | object | 79.7% | yes, no |
112
+ | `water_source` | object | 78.8% | |
113
+ | `addr_street` | object | 75.4% | |
114
+ | `addr_city` | object | 64.9% | |
115
+ | `changeset_id` | int64 | 0.0% | 19113513.0 – 172755228.0 (mean 104872179.8903) |
116
+ | `changeset_version` | int64 | 0.0% | 1.0 – 10.0 (mean 2.545) |
117
+ | `changeset_timestamp` | datetime64[ns, UTC] | 0.0% | |
118
+ | `uuid` | object | 0.0% | |
119
+ | `esa_source` | object | 0.0% | |
120
+ | `esa_processed` | object | 0.0% | |
121
+
122
+ ---
123
+
124
+ ## Numeric Summary
125
+
126
+ | Column | Min | Max | Mean | Median |
127
+ |---|---|---|---|---|
128
+ | `x` | -13.2713 | -10.3167 | -11.8405 | -11.7458 |
129
+ | `y` | 6.9678 | 9.9737 | 8.4376 | 8.4614 |
130
+ | `osm_id` | 224729043.0 | 13130524315.0 | 4009847857.0971 | 4504611402.0 |
131
+ | `completeness` | 6.25 | 40.625 | 18.7837 | 12.5 |
132
+ | `changeset_id` | 19113513.0 | 172755228.0 | 104872179.8903 | 108431838.0 |
133
+ | `changeset_version` | 1.0 | 10.0 | 2.545 | 2.0 |
134
+
135
+ ---
136
+
137
+ ## Curation
138
+
139
+ 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`. 14 column(s) with >80% missing values were removed: `operator_type`, `operational_status`, `beds`, `staff_doctors`, `staff_nurses`, `health_amenity_type`.... 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.
140
+
141
+ ---
142
+
143
+ ## Limitations
144
+
145
+ - Data originates from Global Healthsites Mapping Project and has not been independently validated by ESA.
146
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
147
+ - The following columns have >20% missing values and should be treated with caution in modelling: `x`, `y`, `healthcare`, `operator`, `source`, `speciality`, `opening_hours`, `dispensing`....
148
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/sierra-leone-healthsites) for the publisher's own methodology notes and caveats.
149
+
150
+ ---
151
+
152
+ ## Citation
153
+
154
+ ```bibtex
155
+ @dataset{hdx_africa_health_facilities_sierra_leone,
156
+ title = {Sierra Leone Healthsites},
157
+ author = {Global Healthsites Mapping Project},
158
+ year = {2025},
159
+ url = {https://data.humdata.org/dataset/sierra-leone-healthsites},
160
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
161
+ }
162
+ ```
163
+
164
+ ---
165
+
166
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*