Olaroti commited on
Commit
9c1a101
·
verified ·
1 Parent(s): 5c36478

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +103 -129
README.md CHANGED
@@ -1,171 +1,145 @@
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
- - other
17
- task_ids: []
18
  tags:
19
- - africa
20
- - humanitarian
21
- - hdx
22
- - electric-sheep-africa
23
- - aviation
24
- - facilities-infrastructure
25
- - geodata
26
- - hxl
27
- - transportation
28
- - bfa
29
- pretty_name: "Airports in Burkina Faso"
30
- dataset_info:
31
- splits:
32
- - name: train
33
- num_examples: 41
34
- - name: test
35
- num_examples: 10
 
36
  ---
37
 
38
- # Airports in Burkina Faso
39
 
40
- **Publisher:** OurAirports · **Source:** [HDX](https://data.humdata.org/dataset/ourairports-bfa) · **License:** `Public Domain` · **Updated:** 2026-04-15
41
 
42
- ---
 
 
 
43
 
44
- ## Abstract
45
 
46
- List of airports in Burkina Faso, with latitude and longitude. Unverified community data from http://ourairports.com/countries/BF/
47
 
48
- Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-04-15. Geographic scope: **BFA**.
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** | Humanitarian and development data |
59
- | **Unit of observation** | First-level administrative unit observations |
60
- | **Rows (total)** | 52 |
61
- | **Columns** | 23 (6 numeric, 16 categorical, 0 datetime) |
62
- | **Train split** | 41 rows |
63
- | **Test split** | 10 rows |
64
- | **Geographic scope** | BFA |
65
- | **Publisher** | OurAirports |
66
- | **HDX last updated** | 2026-04-15 |
67
-
68
- ---
69
-
70
- ## Variables
71
-
72
- **Geographic** `type` (small_airport, large_airport, closed), `latitude_deg` (range 9.883–14.7909), `longitude_deg` (range -5.35–1.7846), `country_name` (Burkina Faso, #country +name), `iso_country` (BF, #country +code +iso2) and 4 others.
73
-
74
- **Temporal** `last_updated`.
75
-
76
- **Outcome / Measurement** — `score` (range 50.0–1000.0).
77
-
78
- **Identifier / Metadata** — `id` (range 2088.0–597081.0), `ident` (#meta +code, DFFD, DFCK), `name` (#loc +airport +name, Ouagadougou Thomas Sankara International Airport, Koudougou Airport), `gps_code`, `icao_code` and 3 others.
79
-
80
- **Other** — `elevation_ft` (range 699.0–1706.0), `continent` (AF, #region +continent +code), `scheduled_service` (range 0.0–1.0), `wikipedia_link`.
81
-
82
- ---
83
-
84
- ## Quick Start
85
 
86
  ```python
87
  from datasets import load_dataset
88
 
89
- ds = load_dataset("electricsheepafrica/africa-aviation-burkina-faso")
90
- train = ds["train"].to_pandas()
91
- test = ds["test"].to_pandas()
92
 
93
- print(train.shape)
94
- train.head()
 
 
95
  ```
96
 
97
- ---
98
-
99
- ## Schema
100
-
101
- | Column | Type | Null % | Range / Sample Values |
102
- |---|---|---|---|
103
- | `id` | float64 | 1.9% | 2088.0 – 597081.0 (mean 46965.8431) |
104
- | `ident` | object | 0.0% | #meta +code, DFFD, DFCK |
105
- | `type` | object | 0.0% | small_airport, large_airport, closed |
106
- | `name` | object | 0.0% | #loc +airport +name, Ouagadougou Thomas Sankara International Airport, Koudougou Airport |
107
- | `latitude_deg` | float64 | 1.9% | 9.883 – 14.7909 (mean 12.2922) |
108
- | `longitude_deg` | float64 | 1.9% | -5.35 – 1.7846 (mean -1.688) |
109
- | `elevation_ft` | float64 | 1.9% | 699.0 – 1706.0 (mean 1007.1176) |
110
- | `continent` | object | 0.0% | AF, #region +continent +code |
111
- | `country_name` | object | 0.0% | Burkina Faso, #country +name |
112
- | `iso_country` | object | 0.0% | BF, #country +code +iso2 |
113
- | `region_name` | object | 0.0% | Oudalan Province, Tapoa Province, Comoe Province |
114
- | `iso_region` | object | 0.0% | BF-OUD, BF-TAP, BF-COM |
115
- | `local_region` | object | 0.0% | OUD, TAP, COM |
116
- | `municipality` | object | 0.0% | #loc +municipality +name, Ouagadougou, Koudougou |
117
- | `scheduled_service` | float64 | 1.9% | 0.0 – 1.0 (mean 0.0392) |
118
- | `gps_code` | object | 3.8% | |
119
- | `icao_code` | object | 28.8% | |
120
- | `iata_code` | object | 46.2% | |
121
- | `wikipedia_link` | object | 26.9% | |
122
- | `score` | float64 | 1.9% | 50.0 – 1000.0 (mean 87.2549) |
123
- | `last_updated` | datetime64[ns, UTC] | 1.9% | |
124
- | `esa_source` | object | 0.0% | |
125
- | `esa_processed` | object | 0.0% | |
126
-
127
- ---
128
-
129
- ## Numeric Summary
130
 
131
- | Column | Min | Max | Mean | Median |
132
- |---|---|---|---|---|
133
- | `id` | 2088.0 | 597081.0 | 46965.8431 | 30908.0 |
134
- | `latitude_deg` | 9.883 | 14.7909 | 12.2922 | 12.2 |
135
- | `longitude_deg` | -5.35 | 1.7846 | -1.688 | -1.6247 |
136
- | `elevation_ft` | 699.0 | 1706.0 | 1007.1176 | 984.0 |
137
- | `scheduled_service` | 0.0 | 1.0 | 0.0392 | 0.0 |
138
- | `score` | 50.0 | 1000.0 | 87.2549 | 50.0 |
139
 
140
- ---
 
 
 
 
141
 
142
- ## Curation
143
 
144
- 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`. 3 column(s) with >80% missing values were removed: `local_code`, `home_link`, `keywords`. 7 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.
 
 
 
145
 
146
- ---
147
 
148
- ## Limitations
 
 
 
 
149
 
150
- - Data originates from OurAirports and has not been independently validated by ESA.
151
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
152
- - The following columns have >20% missing values and should be treated with caution in modelling: `icao_code`, `iata_code`, `wikipedia_link`.
153
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/ourairports-bfa) for the publisher's own methodology notes and caveats.
154
 
155
- ---
 
 
 
156
 
157
  ## Citation
158
 
159
  ```bibtex
160
- @dataset{hdx_africa_aviation_burkina_faso,
161
- title = {Airports in Burkina Faso},
162
- author = {OurAirports},
163
- year = {2026},
164
- url = {https://data.humdata.org/dataset/ourairports-bfa},
165
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
166
  }
167
  ```
168
 
 
 
 
 
 
 
 
 
 
 
169
  ---
170
 
171
- *[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
+ - "infrastructure-transport"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "aviation"
23
+ - "facilities-infrastructure"
24
+ - "geodata"
25
+ - "hxl"
26
+ - "transportation"
27
+ - "bfa"
28
+ - "infrastructure"
29
+ pretty_name: "Airports in Burkina Faso | Africa (original)"
30
  ---
31
 
32
+ # Airports in Burkina Faso | Africa (original)
33
 
34
+ **Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** infrastructure_transport - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
35
 
36
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
37
+ ![sector](https://img.shields.io/badge/sector-infrastructure_transport-green)
38
+ ![downloads](https://img.shields.io/badge/HF_downloads-7-orange)
39
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
40
 
41
+ ## TL;DR
42
 
43
+ 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.
44
 
45
+ ## What This Dataset Covers
46
 
47
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
48
 
49
+ Dataset context from the existing Hugging Face card: Airports in Burkina Faso Publisher: OurAirports · Source: HDX · License: Public Domain · Updated: 2026-04-15 Abstract List of airports in Burkina Faso, with latitude and longitude. Unverified community data from http://ourairports.com/countries/BF/ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-04-15. Geographic scope: BFA. Curated into ML-ready Parquet format by Electric Sheep Africa.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso.
50
 
51
+ ## Dataset Profile
52
 
53
+ | Field | Value |
54
  |---|---|
55
+ | Hugging Face repo | [`electricsheepafrica/africa-aviation-burkina-faso`](https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso) |
56
+ | Sector | infrastructure_transport |
57
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, aviation, facilities-infrastructure, geodata, hxl, transportation, bfa |
58
+ | Modalities | `tabular`, `text` |
59
+ | Formats | `parquet` |
60
+ | Size category | `n<1K` |
61
+ | Countries | Burkina Faso |
62
+ | ISO3 coverage | `BFA` |
63
+ | Last modified on HF | `2026-04-22 13:25:35+00:00` |
64
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
65
+
66
+ ## How To Read This Dataset
67
+
68
+ - Start from the repository files and the dataset viewer when available.
69
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
70
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
71
+ - Preserve missing values until you have a defensible imputation rule.
72
+
73
+ ## Usage
 
 
 
 
 
 
 
 
74
 
75
  ```python
76
  from datasets import load_dataset
77
 
78
+ ds = load_dataset("electricsheepafrica/africa-aviation-burkina-faso")
79
+ print(ds)
 
80
 
81
+ split_name = next(iter(ds))
82
+ table = ds[split_name]
83
+ print(table.features)
84
+ print(table[:3])
85
  ```
86
 
87
+ ### Convert To Pandas When Tabular
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
+ ```python
90
+ from datasets import Dataset
 
 
 
 
 
 
91
 
92
+ first_split = ds[next(iter(ds))]
93
+ if isinstance(first_split, Dataset):
94
+ df = first_split.to_pandas()
95
+ print(df.head())
96
+ ```
97
 
98
+ ## Data Quality Notes
99
 
100
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
101
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
102
+ - Metadata gaps from the inventory: upstream_publisher.
103
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
104
 
105
+ ## Source And Provenance
106
 
107
+ - **Source context:** original
108
+ - **Publisher/source attribution:** original
109
+ - **License:** Source-specific or other license
110
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso](https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso)
111
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
112
 
113
+ ## Suggested Analyses
 
 
 
114
 
115
+ - Inspect schema and missingness before modeling.
116
+ - Profile variables by geography, time, and subgroup columns where present.
117
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
118
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
119
 
120
  ## Citation
121
 
122
  ```bibtex
123
+ @misc{electric_sheep_africa_africa_aviation_burkina_faso_2026,
124
+ title = {Airports in Burkina Faso | Africa (original)},
125
+ author = {original},
126
+ year = {2026},
127
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso},
128
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
129
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-aviation-burkina-faso}}
130
  }
131
  ```
132
 
133
+ ## License
134
+
135
+ Released under Source-specific or other license.
136
+
137
+ 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.
138
+
139
+ ## About Electric Sheep Africa
140
+
141
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
142
+
143
  ---
144
 
145
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.