Olaroti commited on
Commit
cf398ba
·
verified ·
1 Parent(s): 5a26c02

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +99 -190
README.md CHANGED
@@ -1,233 +1,142 @@
1
  ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
  language:
7
  - en
8
- license: cc-by-sa-4.0
9
- multilinguality:
10
- - monolingual
11
- size_categories:
12
- - 1K<n<10K
13
- source_datasets:
14
- - original
15
  task_categories:
16
  - tabular-classification
17
  - tabular-regression
18
- - other
19
- task_ids: []
 
20
  tags:
21
- - africa
22
- - humanitarian
23
- - hdx
24
- - electric-sheep-africa
25
- - education
26
- - health-facilities
27
- - transportation
28
- - bdi
29
- pretty_name: "Burundi - Accessibility Indicators"
30
- dataset_info:
31
- splits:
32
- - name: train
33
- num_examples: 2184
34
- - name: test
35
- num_examples: 546
36
  ---
37
 
38
- # Burundi - Accessibility Indicators
39
-
40
- **Publisher:** HeiGIT (Heidelberg Institute for Geoinformation Technology) · **Source:** [HDX](https://data.humdata.org/dataset/burundi-accessibility-indicators) · **License:** `cc-by-sa` · **Updated:** 2026-02-27
41
-
42
- ---
43
-
44
- ## Abstract
45
-
46
- This dataset provides insights into spatial accessibility to healthcare and
47
- education services across Burundi. It has been created using free and
48
- open tools such as [openrouteservice](https://openrouteservice.org/) and open
49
- data sources, primarily [OpenStreetMap](https://www.openstreetmap.org/) (OSM).
50
-
51
 
52
- To assess accessibility to education and healthcare, we use travel-time
53
- isochrones—polygons representing areas reachable within a given time or distance by
54
- car. We overlay these isochrones with [WorldPop](https://www.worldpop.org/) population
55
- data, which provides 100m-resolution estimates. This allows us to calculate the
56
- population within time intervals from 10 to 120 minutes away from hospital services and
57
- distance intervals from 5 to 50 km away from schools. The unit of analysis is defined
58
- by [geoboundaries](https://www.geoboundaries.org/) country borders, and where available
59
- we also summarise results at finer administrative levels (ADM 1–4).
60
 
 
 
 
 
61
 
62
- Data Structure:
63
 
64
- - **name**: Region or country name.
65
- - **iso**: ISO3 country code.
66
- - **id**: Unique identifier for the administrative unit.
67
- - **country**: ISO3 country code.
68
- - **admin_level**: Administrative level of the unit.
69
- - **category**: Service category — `education`, `hospitals` or
70
- `primary_healthcare`.
71
- - **range_type**: Method used for the catchment zone — `distance` or `time`.
72
- - **range**: Distance (in meters) or Time away (in seconds) from schools used
73
- to generate the polygon.
74
- - **population**: Total population within the specified range.
75
- - **school_age_population**: Number of school-age individuals within the range.
76
- - **school_age_population_share**: Cumulative percentage of school-age
77
- population.
78
- - **school_age_population_interval**: Incremental school-age population added
79
- in the current distance band.
80
- - **school_age_population_interval_share**: Proportion of new school-age
81
- population in the current interval.
82
- - **population_share**: Cumulative percentage of total population.
83
- - **population_interval**: Incremental population added in the current distance
84
- band.
85
- - **population_interval_share**: Share of the total population represented by
86
- the current interval.
87
 
88
- This dataset is one of many [HeiGIT exports on HDX](https://data.humdata.org/organization/heidelberg-institute-for-geoinformation-technology).
89
- See the [HeiGIT](https://heigit.org/) website for more information.
90
 
91
- We are looking forward to hearing about your use-case! Feel free to reach out
92
- to us and tell us about your research at
93
- [communications@heigit.org](mailto:communications@heigit.org) – we would be
94
- happy to amplify your work.
95
 
96
- References:
97
-
98
- - [Geldsetzer, P., Reinmuth, M., Ouma, P. O., Lautenbach, S. et al. (2020)](https://www.thelancet.com/journals/lanhl/article/PIIS2666-7568(20)30010-6/fulltext)
99
- - [Petricola, S., Reinmuth, M., Lautenbach, S. et al. (2022)](https://ij-healthgeographics.biomedcentral.com/articles/10.1186/s12942-022-00315-2)
100
- - [Klipper, I. G., Zipf, A., and Lautenbach, S. (2021)](https://agile-giss.copernicus.org/articles/2/4/2021/)
101
- - [Ruiz Sánchez, R., Reinmuth, M., Albornoz, C., Lautenbach, S., and Zipf, A. (2025)](https://agile-giss.copernicus.org/articles/6/10/2025/)
102
-
103
- Further Information:
104
-
105
- - [Open Access Lens](https://giscience.github.io/open-access-lens/#/)
106
-
107
- **Limitations**:
108
-
109
- * **OSM Completeness**: This analysis relies on OpenStreetMap (OSM) data. While OSM is
110
- the most complete open map of the world, data quality varies significantly by region.
111
- In areas with unmapped roads or facilities, accessibility may be underestimated.
112
-
113
- * **Population Estimates**: Population counts are derived from WorldPop top-down
114
- estimates (constrained). These are statistical models based on census projections and
115
- satellite imagery, not direct census counts, and may contain inaccuracies at the local
116
- pixel level.
117
-
118
- * **Travel Time Assumptions**: Isochrones are calculated using standard vehicle speeds
119
- for different road types. These models do not account for real-time traffic, seasonal
120
- weather conditions (e.g., flooding), or road surface degradation.
121
-
122
- * **Boundary Precision**: Administrative boundaries are sourced from geoBoundaries.
123
- These may differ slightly from official government demarcations or other schemas.
124
-
125
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-02-27. Geographic scope: **BDI**.
126
-
127
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
128
-
129
- ---
130
 
131
- ## Dataset Characteristics
132
 
133
- | | |
134
  |---|---|
135
- | **Domain** | Public health |
136
- | **Unit of observation** | Country-level aggregates |
137
- | **Rows (total)** | 2,730 |
138
- | **Columns** | 14 (5 numeric, 9 categorical, 0 datetime) |
139
- | **Train split** | 2,184 rows |
140
- | **Test split** | 546 rows |
141
- | **Geographic scope** | BDI |
142
- | **Publisher** | HeiGIT (Heidelberg Institute for Geoinformation Technology) |
143
- | **HDX last updated** | 2026-02-27 |
144
-
145
- ---
146
-
147
- ## Variables
148
-
149
- **Geographic** `country` (BDI), `admin_level` (ADM2, ADM1, ADM0), `category` (education), `range_type` (DISTANCE), `population_type` (school_age, total) and 4 others.
150
-
151
- **Identifier / Metadata** `name` (Kirundo, Kayanza, Bururi), `id` (87207978B16018837471159, 21766830B421358417112, 21766830B26172674635426), `esa_source` (HDX), `esa_processed` (2026-04-27).
152
-
153
- **Other** — `range` (range 5000.0–50000.0).
154
-
155
- ---
156
-
157
- ## Quick Start
158
 
159
  ```python
160
  from datasets import load_dataset
161
 
162
- ds = load_dataset("electricsheepafrica/africa-education-burundi")
163
- train = ds["train"].to_pandas()
164
- test = ds["test"].to_pandas()
165
 
166
- print(train.shape)
167
- train.head()
 
 
168
  ```
169
 
170
- ---
171
-
172
- ## Schema
173
-
174
- | Column | Type | Null % | Range / Sample Values |
175
- |---|---|---|---|
176
- | `name` | object | 0.0% | Kirundo, Kayanza, Bururi |
177
- | `id` | object | 0.0% | 87207978B16018837471159, 21766830B421358417112, 21766830B26172674635426 |
178
- | `country` | object | 0.0% | BDI |
179
- | `admin_level` | object | 0.0% | ADM2, ADM1, ADM0 |
180
- | `category` | object | 0.0% | education |
181
- | `range_type` | object | 0.0% | DISTANCE |
182
- | `range` | int64 | 0.0% | 5000.0 – 50000.0 (mean 27736.2637) |
183
- | `population_type` | object | 0.0% | school_age, total |
184
- | `population` | int64 | 0.0% | 0.0 – 11133971.0 (mean 131005.37) |
185
- | `population_share` | float64 | 0.0% | 0.0 – 100.0 (mean 73.1507) |
186
- | `population_interval` | int64 | 0.0% | 0.0 – 2438116.0 (mean 16677.0319) |
187
- | `population_interval_share` | float64 | 0.0% | 0.0 – 99.98 (mean 9.5526) |
188
- | `esa_source` | object | 0.0% | HDX |
189
- | `esa_processed` | object | 0.0% | 2026-04-27 |
190
-
191
- ---
192
-
193
- ## Numeric Summary
194
 
195
- | Column | Min | Max | Mean | Median |
196
- |---|---|---|---|---|
197
- | `range` | 5000.0 | 50000.0 | 27736.2637 | 30000.0 |
198
- | `population` | 0.0 | 11133971.0 | 131005.37 | 41943.5 |
199
- | `population_share` | 0.0 | 100.0 | 73.1507 | 88.37 |
200
- | `population_interval` | 0.0 | 2438116.0 | 16677.0319 | 2153.5 |
201
- | `population_interval_share` | 0.0 | 99.98 | 9.5526 | 3.8 |
202
 
203
- ---
 
 
 
 
204
 
205
- ## Curation
206
 
207
- 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`. 1 column(s) with >80% missing values were removed: `iso`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
 
 
 
208
 
209
- ---
210
 
211
- ## Limitations
 
 
 
 
212
 
213
- - Data originates from HeiGIT (Heidelberg Institute for Geoinformation Technology) and has not been independently validated by ESA.
214
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
215
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/burundi-accessibility-indicators) for the publisher's own methodology notes and caveats.
216
 
217
- ---
 
 
 
218
 
219
  ## Citation
220
 
221
  ```bibtex
222
- @dataset{hdx_africa_education_burundi,
223
- title = {Burundi - Accessibility Indicators},
224
- author = {HeiGIT (Heidelberg Institute for Geoinformation Technology)},
225
- year = {2026},
226
- url = {https://data.humdata.org/dataset/burundi-accessibility-indicators},
227
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
228
  }
229
  ```
230
 
 
 
 
 
 
 
 
 
 
 
231
  ---
232
 
233
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
2
+ license: cc-by-sa-4.0
 
 
 
3
  language:
4
  - en
 
 
 
 
 
 
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1K<n<10K
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
+ - "education"
23
+ - "health-facilities"
24
+ - "transportation"
25
+ - "bdi"
26
+ pretty_name: "Burundi - Accessibility Indicators | Africa (original)"
27
  ---
28
 
29
+ # Burundi - Accessibility Indicators | Africa (original)
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** health - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
 
 
 
 
 
 
 
32
 
33
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
34
+ ![sector](https://img.shields.io/badge/sector-health-green)
35
+ ![downloads](https://img.shields.io/badge/HF_downloads-8-orange)
36
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
37
 
38
+ ## TL;DR
39
 
40
+ 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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ ## What This Dataset Covers
 
43
 
44
+ Health datasets help researchers examine disease burden, service delivery, risk factors, outcomes, and public-health program performance.
 
 
 
45
 
46
+ Dataset context from the existing Hugging Face card: Burundi - Accessibility Indicators Publisher: HeiGIT (Heidelberg Institute for Geoinformation Technology) · Source: HDX · License: cc-by-sa · Updated: 2026-02-27 Abstract This dataset provides insights into spatial accessibility to healthcare and education services across Burundi. It has been created using free and open tools such as openrouteservice and open data sources, primarily OpenStreetMap (OSM). To assess accessibility to education and healthcare, we use… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
+ ## Dataset Profile
49
 
50
+ | Field | Value |
51
  |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-education-burundi`](https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi) |
53
+ | Sector | health |
54
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, education, health-facilities, transportation, bdi |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `1K<n<10K` |
58
+ | Countries | Burundi |
59
+ | ISO3 coverage | `BDI` |
60
+ | Last modified on HF | `2026-04-27 00:54:17+00:00` |
61
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
62
+
63
+ ## How To Read This Dataset
64
+
65
+ - Start from the repository files and the dataset viewer when available.
66
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
67
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
68
+ - Preserve missing values until you have a defensible imputation rule.
69
+
70
+ ## Usage
 
 
 
 
71
 
72
  ```python
73
  from datasets import load_dataset
74
 
75
+ ds = load_dataset("electricsheepafrica/africa-education-burundi")
76
+ print(ds)
 
77
 
78
+ split_name = next(iter(ds))
79
+ table = ds[split_name]
80
+ print(table.features)
81
+ print(table[:3])
82
  ```
83
 
84
+ ### Convert To Pandas When Tabular
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
+ ```python
87
+ from datasets import Dataset
 
 
 
 
 
88
 
89
+ first_split = ds[next(iter(ds))]
90
+ if isinstance(first_split, Dataset):
91
+ df = first_split.to_pandas()
92
+ print(df.head())
93
+ ```
94
 
95
+ ## Data Quality Notes
96
 
97
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
98
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
99
+ - Metadata gaps from the inventory: upstream_publisher.
100
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
101
 
102
+ ## Source And Provenance
103
 
104
+ - **Source context:** original
105
+ - **Publisher/source attribution:** original
106
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
107
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi](https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi)
108
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
109
 
110
+ ## Suggested Analyses
 
 
111
 
112
+ - Inspect schema and missingness before modeling.
113
+ - Profile variables by geography, time, and subgroup columns where present.
114
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
115
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
116
 
117
  ## Citation
118
 
119
  ```bibtex
120
+ @misc{electric_sheep_africa_africa_education_burundi_2026,
121
+ title = {Burundi - Accessibility Indicators | Africa (original)},
122
+ author = {original},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-education-burundi}}
127
  }
128
  ```
129
 
130
+ ## License
131
+
132
+ Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
133
+
134
+ 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.
135
+
136
+ ## About Electric Sheep Africa
137
+
138
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
139
+
140
  ---
141
 
142
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.