Olaroti commited on
Commit
e177017
·
verified ·
1 Parent(s): bb4ab90

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +99 -117
README.md CHANGED
@@ -1,159 +1,141 @@
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
- - dji
26
- pretty_name: "Djibouti Healthsites"
27
- dataset_info:
28
- splits:
29
- - name: train
30
- num_examples: 38
31
- - name: test
32
- num_examples: 9
33
  ---
34
 
35
- # Djibouti Healthsites
36
 
37
- **Publisher:** Global Healthsites Mapping Project · **Source:** [HDX](https://data.humdata.org/dataset/djibouti-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: **DJI**.
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)** | 48 |
58
- | **Columns** | 16 (6 numeric, 9 categorical, 0 datetime) |
59
- | **Train split** | 38 rows |
60
- | **Test split** | 9 rows |
61
- | **Geographic scope** | DJI |
62
- | **Publisher** | Global Healthsites Mapping Project |
63
- | **HDX last updated** | 2025-10-15 |
64
-
65
- ---
66
-
67
- ## Variables
68
-
69
- **Geographic** `x` (range 43.0808–43.1525), `y` (range 11.5427–11.5964), `osm_type` (node, way), `amenity` (hospital, pharmacy, clinic), `addr_city` (جيبوتي, Ali Sabieh علي صبيح, بلبالا).
70
-
71
- **Temporal** `changeset_timestamp`.
72
-
73
- **Identifier / Metadata** — `osm_id` (range 228050145.0–9371609717.0), `name` (Laboratoire d'analyses médicales Abdan, Service de Santé des Armées خدمة الصحة العسكرية, Pharmacie BSH صيدلية بي إس أيتش), `changeset_id` (range 37442253.0–172509033.0), `uuid` (fd8a4954019143ac8f7a404b73ad2845, 12967dd31dc348828ce7f356252aa4b4, 7efbe13bc2df4074bdafd8035a91dfd5), `esa_source` (HDX) and 1 others.
74
-
75
- **Other** — `completeness` (range 6.25–25.0), `healthcare` (hospital, pharmacy, clinic), `operator` (Ministère de la Santé, Dr Guillard, Dr Dell'Aquila, Nicolas Gorgalis), `changeset_version` (range 1.0–8.0).
76
-
77
- ---
78
-
79
- ## Quick Start
80
 
81
  ```python
82
  from datasets import load_dataset
83
 
84
- ds = load_dataset("electricsheepafrica/africa-health-facilities-djibouti")
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 | 45.8% | 43.0808 – 43.1525 (mean 43.1366) |
99
- | `y` | float64 | 45.8% | 11.5427 – 11.5964 (mean 11.5778) |
100
- | `osm_id` | int64 | 0.0% | 228050145.0 – 9371609717.0 (mean 3015709806.1458) |
101
- | `osm_type` | object | 0.0% | node, way |
102
- | `completeness` | float64 | 0.0% | 6.25 – 25.0 (mean 15.7552) |
103
- | `amenity` | object | 6.2% | hospital, pharmacy, clinic |
104
- | `healthcare` | object | 4.2% | hospital, pharmacy, clinic |
105
- | `name` | object | 10.4% | Laboratoire d'analyses médicales Abdan, Service de Santé des Armées خدمة الصحة العسكرية, Pharmacie BSH صيدلية بي إس أيتش |
106
- | `operator` | object | 72.9% | Ministère de la Santé, Dr Guillard, Dr Dell'Aquila, Nicolas Gorgalis |
107
- | `addr_city` | object | 47.9% | جيبوتي, Ali Sabieh علي صبيح, بلبالا |
108
- | `changeset_id` | int64 | 0.0% | 37442253.0 – 172509033.0 (mean 100585750.0208) |
109
- | `changeset_version` | int64 | 0.0% | 1.0 – 8.0 (mean 3.4792) |
110
- | `changeset_timestamp` | datetime64[ns, UTC] | 0.0% | |
111
- | `uuid` | object | 0.0% | fd8a4954019143ac8f7a404b73ad2845, 12967dd31dc348828ce7f356252aa4b4, 7efbe13bc2df4074bdafd8035a91dfd5 |
112
- | `esa_source` | object | 0.0% | HDX |
113
- | `esa_processed` | object | 0.0% | 2026-04-20 |
114
-
115
- ---
116
-
117
- ## Numeric Summary
118
 
119
- | Column | Min | Max | Mean | Median |
120
- |---|---|---|---|---|
121
- | `x` | 43.0808 | 43.1525 | 43.1366 | 43.146 |
122
- | `y` | 11.5427 | 11.5964 | 11.5778 | 11.59 |
123
- | `osm_id` | 228050145.0 | 9371609717.0 | 3015709806.1458 | 3691941118.5 |
124
- | `completeness` | 6.25 | 25.0 | 15.7552 | 15.625 |
125
- | `changeset_id` | 37442253.0 | 172509033.0 | 100585750.0208 | 83020145.5 |
126
- | `changeset_version` | 1.0 | 8.0 | 3.4792 | 3.0 |
127
 
128
- ---
 
 
 
 
129
 
130
- ## Curation
131
 
132
- 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`. 21 column(s) with >80% missing values were removed: `source`, `speciality`, `operator_type`, `operational_status`, `opening_hours`, `beds`.... 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.
 
 
 
133
 
134
- ---
135
 
136
- ## Limitations
 
 
 
 
137
 
138
- - Data originates from Global Healthsites Mapping Project and has not been independently validated by ESA.
139
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
140
- - The following columns have >20% missing values and should be treated with caution in modelling: `x`, `y`, `operator`, `addr_city`.
141
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/djibouti-healthsites) for the publisher's own methodology notes and caveats.
142
 
143
- ---
 
 
 
144
 
145
  ## Citation
146
 
147
  ```bibtex
148
- @dataset{hdx_africa_health_facilities_djibouti,
149
- title = {Djibouti Healthsites},
150
- author = {Global Healthsites Mapping Project},
151
- year = {2025},
152
- url = {https://data.humdata.org/dataset/djibouti-healthsites},
153
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
154
  }
155
  ```
156
 
 
 
 
 
 
 
 
 
 
 
157
  ---
158
 
159
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
2
+ license: other
 
 
 
3
  language:
4
  - en
 
 
 
 
 
 
 
5
  task_categories:
6
  - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "health"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "health-facilities"
23
+ - "hxl"
24
+ - "dji"
25
+ pretty_name: "Djibouti Healthsites | Africa (original)"
26
  ---
27
 
28
+ # Djibouti Healthsites | Africa (original)
29
 
30
+ **Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** health - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
31
 
32
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
33
+ ![sector](https://img.shields.io/badge/sector-health-green)
34
+ ![downloads](https://img.shields.io/badge/HF_downloads-7-orange)
35
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
36
 
37
+ ## TL;DR
38
 
39
+ 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.
40
 
41
+ ## What This Dataset Covers
42
 
43
+ Health datasets help researchers examine disease burden, service delivery, risk factors, outcomes, and public-health program performance.
44
 
45
+ Dataset context from the existing Hugging Face card: Djibouti Healthsites Publisher: Global Healthsites Mapping Project · Source: HDX · License: ODbL · Updated: 2025-10-15 Abstract This dataset shows the list of operating health facilities. Attributes included: Name,Nature of Facility, Activities, Lat, Long Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-10-15. Geographic scope: DJI. Curated into ML-ready Parquet format by Electric Sheep Africa. Dataset Characteristics… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti.
46
 
47
+ ## Dataset Profile
48
 
49
+ | Field | Value |
50
  |---|---|
51
+ | Hugging Face repo | [`electricsheepafrica/africa-health-facilities-djibouti`](https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti) |
52
+ | Sector | health |
53
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, health-facilities, hxl, dji |
54
+ | Modalities | `tabular`, `text` |
55
+ | Formats | `parquet` |
56
+ | Size category | `n<1K` |
57
+ | Countries | Djibouti |
58
+ | ISO3 coverage | `DJI` |
59
+ | Last modified on HF | `2026-04-20 12:59:24+00:00` |
60
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
61
+
62
+ ## How To Read This Dataset
63
+
64
+ - Start from the repository files and the dataset viewer when available.
65
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
66
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
67
+ - Preserve missing values until you have a defensible imputation rule.
68
+
69
+ ## Usage
 
 
 
 
 
 
70
 
71
  ```python
72
  from datasets import load_dataset
73
 
74
+ ds = load_dataset("electricsheepafrica/africa-health-facilities-djibouti")
75
+ print(ds)
 
76
 
77
+ split_name = next(iter(ds))
78
+ table = ds[split_name]
79
+ print(table.features)
80
+ print(table[:3])
81
  ```
82
 
83
+ ### Convert To Pandas When Tabular
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
+ ```python
86
+ from datasets import Dataset
 
 
 
 
 
 
87
 
88
+ first_split = ds[next(iter(ds))]
89
+ if isinstance(first_split, Dataset):
90
+ df = first_split.to_pandas()
91
+ print(df.head())
92
+ ```
93
 
94
+ ## Data Quality Notes
95
 
96
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
97
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
98
+ - Metadata gaps from the inventory: upstream_publisher.
99
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
100
 
101
+ ## Source And Provenance
102
 
103
+ - **Source context:** original
104
+ - **Publisher/source attribution:** original
105
+ - **License:** Source-specific or other license
106
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti](https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti)
107
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
108
 
109
+ ## Suggested Analyses
 
 
 
110
 
111
+ - Inspect schema and missingness before modeling.
112
+ - Profile variables by geography, time, and subgroup columns where present.
113
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
114
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
115
 
116
  ## Citation
117
 
118
  ```bibtex
119
+ @misc{electric_sheep_africa_africa_health_facilities_djibouti_2026,
120
+ title = {Djibouti Healthsites | Africa (original)},
121
+ author = {original},
122
+ year = {2026},
123
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti},
124
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
125
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-health-facilities-djibouti}}
126
  }
127
  ```
128
 
129
+ ## License
130
+
131
+ Released under Source-specific or other license.
132
+
133
+ 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.
134
+
135
+ ## About Electric Sheep Africa
136
+
137
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
138
+
139
  ---
140
 
141
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.