Olaroti commited on
Commit
75bbc01
·
verified ·
1 Parent(s): 3f158fa

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +100 -112
README.md CHANGED
@@ -1,154 +1,142 @@
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
- - geodata
24
- - hxl
25
- - populated-places-settlements
26
- - eth
27
- pretty_name: "Ethiopia: Settlements"
28
- dataset_info:
29
- splits:
30
- - name: train
31
- num_examples: 650
32
- - name: test
33
- num_examples: 162
34
  ---
35
 
36
- # Ethiopia: Settlements
37
 
38
- **Publisher:** OCHA Ethiopia · **Source:** [HDX](https://data.humdata.org/dataset/ethiopia-settlements) · **License:** `hdx-other` · **Updated:** 2025-05-05
39
 
40
- ---
 
 
 
41
 
42
- ## Abstract
43
 
44
- The settlements dataset contains the location of cities, towns and villages in Ethiopia.
45
-
46
- Populated places dataset for Ethiopia endorsed by the Inter-Cluster Information Management Working group (ICMWG) after cleaning and processing done by [Information Technology Outreach Services (ITOS)](https://www.uga.edu/). Source: Multiple sources
47
 
48
- Each row in this dataset represents tabular records. Data was last updated on HDX on 2025-05-05. Geographic scope: **ETH**.
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** | Tabular records |
60
- | **Rows (total)** | 813 |
61
- | **Columns** | 15 (2 numeric, 13 categorical, 0 datetime) |
62
- | **Train split** | 650 rows |
63
- | **Test split** | 162 rows |
64
- | **Geographic scope** | ETH |
65
- | **Publisher** | OCHA Ethiopia |
66
- | **HDX last updated** | 2025-05-05 |
67
-
68
- ---
69
-
70
- ## Variables
71
-
72
- **Geographic** — `point_x` (range 33.4451–47.1179), `point_y` (range 3.4485–14.5207).
73
-
74
- **Identifier / Metadata** — `t_name` (Soyoma, Arb Gebeya, Nunu), `adm3_pcode` (#adm3+code, ET030411, ET030907), `adm2_pcode` (ET0408, ET1600, ET0305), `adm1_pcode` (ET04, ET07, ET03), `esa_source` and 1 others.
75
-
76
- **Other** — `admt_pcod` (#adm5+code, ET03041101, ET03090701), `t_status` (Wereda Capital, Zonal Capital, Regional Capital), `adm3_en` (#adm3+name, Sayint, Guagusa Shikudad), `adm2_en` (Arsi, Sidama, North Shewa (AM)), `adm1_en` (Oromia, SNNP, Amhara) and 2 others.
77
-
78
- ---
79
-
80
- ## Quick Start
81
 
82
  ```python
83
  from datasets import load_dataset
84
 
85
- ds = load_dataset("electricsheepafrica/africa-settlements-ethiopia")
86
- train = ds["train"].to_pandas()
87
- test = ds["test"].to_pandas()
88
 
89
- print(train.shape)
90
- train.head()
 
 
91
  ```
92
 
93
- ---
94
-
95
- ## Schema
96
-
97
- | Column | Type | Null % | Range / Sample Values |
98
- |---|---|---|---|
99
- | `t_name` | object | 0.0% | Soyoma, Arb Gebeya, Nunu |
100
- | `admt_pcod` | object | 0.0% | #adm5+code, ET03041101, ET03090701 |
101
- | `t_status` | object | 0.1% | Wereda Capital, Zonal Capital, Regional Capital |
102
- | `adm3_en` | object | 0.0% | #adm3+name, Sayint, Guagusa Shikudad |
103
- | `adm3_pcode` | object | 0.0% | #adm3+code, ET030411, ET030907 |
104
- | `adm2_en` | object | 0.0% | Arsi, Sidama, North Shewa (AM) |
105
- | `adm2_pcode` | object | 0.0% | ET0408, ET1600, ET0305 |
106
- | `adm1_en` | object | 0.0% | Oromia, SNNP, Amhara |
107
- | `adm1_pcode` | object | 0.0% | ET04, ET07, ET03 |
108
- | `adm0_en` | object | 0.0% | Ethiopia, #adm0+name |
109
- | `adm0_pcod` | object | 0.0% | |
110
- | `point_x` | float64 | 0.1% | 33.4451 – 47.1179 (mean 38.5972) |
111
- | `point_y` | float64 | 0.1% | 3.4485 – 14.5207 (mean 8.9522) |
112
- | `esa_source` | object | 0.0% | |
113
- | `esa_processed` | object | 0.0% | |
114
-
115
- ---
116
 
117
- ## Numeric Summary
 
118
 
119
- | Column | Min | Max | Mean | Median |
120
- |---|---|---|---|---|
121
- | `point_x` | 33.4451 | 47.1179 | 38.5972 | 38.3648 |
122
- | `point_y` | 3.4485 | 14.5207 | 8.9522 | 8.6891 |
 
123
 
124
- ---
125
 
126
- ## Curation
 
 
 
127
 
128
- 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.
129
 
130
- ---
 
 
 
 
131
 
132
- ## Limitations
133
 
134
- - Data originates from OCHA Ethiopia and has not been independently validated by ESA.
135
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
136
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/ethiopia-settlements) for the publisher's own methodology notes and caveats.
137
-
138
- ---
139
 
140
  ## Citation
141
 
142
  ```bibtex
143
- @dataset{hdx_africa_settlements_ethiopia,
144
- title = {Ethiopia: Settlements},
145
- author = {OCHA Ethiopia},
146
- year = {2025},
147
- url = {https://data.humdata.org/dataset/ethiopia-settlements},
148
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
149
  }
150
  ```
151
 
 
 
 
 
 
 
 
 
 
 
152
  ---
153
 
154
- *[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
+ - "humanitarian-development"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "geodata"
23
+ - "hxl"
24
+ - "populated-places-settlements"
25
+ - "eth"
26
+ pretty_name: "Ethiopia: Settlements | Africa (original)"
27
  ---
28
 
29
+ # Ethiopia: Settlements | Africa (original)
30
 
31
+ **Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** humanitarian_development - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
 
33
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
34
+ ![sector](https://img.shields.io/badge/sector-humanitarian_development-green)
35
+ ![downloads](https://img.shields.io/badge/HF_downloads-21-orange)
36
+ ![license](https://img.shields.io/badge/license-other-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
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
45
 
46
+ Dataset context from the existing Hugging Face card: Ethiopia: Settlements Publisher: OCHA Ethiopia · Source: HDX · License: hdx-other · Updated: 2025-05-05 Abstract The settlements dataset contains the location of cities, towns and villages in Ethiopia. Populated places dataset for Ethiopia endorsed by the Inter-Cluster Information Management Working group (ICMWG) after cleaning and processing done by Information Technology Outreach Services (ITOS). Source: Multiple sources Each row in this dataset represents tabular… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia.
47
 
48
+ ## Dataset Profile
49
 
50
+ | Field | Value |
51
  |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/africa-settlements-ethiopia`](https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia) |
53
+ | Sector | humanitarian_development |
54
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, geodata, hxl, populated-places-settlements, eth |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `n<1K` |
58
+ | Countries | Ethiopia |
59
+ | ISO3 coverage | `ETH` |
60
+ | Last modified on HF | `2026-04-28 09:23:40+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-settlements-ethiopia")
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:** Source-specific or other license
107
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia](https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia)
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_settlements_ethiopia_2026,
121
+ title = {Ethiopia: Settlements | Africa (original)},
122
+ author = {original},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-settlements-ethiopia}}
127
  }
128
  ```
129
 
130
+ ## License
131
+
132
+ Released under Source-specific or other license.
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`.