Olaroti commited on
Commit
f615b6c
·
verified ·
1 Parent(s): 59c0d69

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +156 -91
README.md CHANGED
@@ -5,108 +5,131 @@ language:
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
- multilinguality: monolingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
- - tabular
13
- - xlsx
14
- - africa
15
- - somalia
16
- - official-statistics
17
- - open-data
 
 
 
 
 
 
 
 
18
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/train-00000-of-00001.parquet
23
- pretty_name: "UNICEF ESARO Regional db 31 March 2018 | Africa (Somalia official open data)"
24
  ---
25
 
26
- # UNICEF ESARO Regional db 31 March 2018 | Africa (Somalia official open data)
27
 
28
- 154 rows - 1 Africa country - 2017 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-154-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-2017-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
- ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
 
36
  ## TL;DR
37
 
38
- This dataset packages one official `XLSX` resource from **Somalia** as
39
- ML-ready Parquet. The source file is the provenance boundary; all usable
40
- indicators or tabular columns from the resource stay together in this repo.
41
 
42
- ## About the source
43
 
44
- - **Source:** [UNICEF ESARO Regional db 31 March 2018](https://data.humdata.org/dataset/unicef-esaro-regional-db-31-october-2017)
45
- - **Publisher:** UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)
46
- - **Resource:** [UNICEF ESARO Regional refugee db 30 November 2017.xlsx](https://data.humdata.org/dataset/e514b983-cf97-4af6-9fc9-ec2b62f1283b/resource/8c0011d8-65a9-4fa6-84ce-a00ee07d3e81/download/unicef-esaro-regional-refugee-db-30-november-2017.xlsx)
47
- - **Format:** `XLSX`
48
- - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
- - **Packaging mode:** `tabular_resource`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- ## Geographic coverage
52
 
53
- 1 Africa country:
54
 
55
- | Country | Rows | First year | Last year | Name |
56
- |---------|-----:|-----------:|----------:|------|
57
  | `SOM` | 154 | 2017 | 2017 | `Somalia` |
58
 
59
- ## Indicators or Resource Contents
60
 
61
- - This source file is packaged as a normalized tabular resource.
62
 
63
  ## Schema
64
 
65
  | Column | Type | Description | Example |
66
  |--------|------|-------------|---------|
67
- | `source_record_id` | `string` | Stable row identifier for tabular resources. | `8c0011d8-65a9-4fa6-84ce-a00ee07d3e81:situation-and-funding-summary:0` |
68
- | `country_iso3` | `category` | ISO3 country code. | `SOM` |
69
- | `country_name` | `category` | Country name. | `Somalia` |
70
- | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Situation and Funding summary` |
71
- | `year` | `Int64` | Observation year. | `2017` |
72
- | `uganda` | `string` | Source column. | `Rwanda` |
73
- | `d_52870000` | `string` | Source column. | `2548000` |
74
- | `no_data` | `string` | Source column. | `86600` |
75
- | `no_data_2` | `string` | Source column. | `39836` |
76
- | `d_2100000` | `string` | Source column. | `2548000` |
77
- | `d_110630` | `string` | Source column. | `2357499` |
78
- | `d_1989370` | `string` | Source column. | `1026260` |
79
- | `d_0_9473190476190476` | `string` | Source column. | `0.40277080062794346` |
80
- | `uganda_2` | `string` | Source column. | `Tanzania` |
81
- | `d_39289` | `string` | Source column. | `255714` |
82
- | `d_23966_29` | `string` | Source column. | `140642.7` |
83
- | `d_0_61` | `float64` | Source column. | `0.55` |
84
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2017` |
85
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2017` |
86
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2017` |
87
- | `source_provider` | `category` | Publishing organization. | `UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)` |
88
- | `source_dataset` | `category` | Source package title. | `UNICEF ESARO Regional db 31 March 2018` |
89
- | `source_resource` | `category` | Source resource title. | `UNICEF ESARO Regional refugee db 30 November 2017.xlsx` |
90
- | `source_package_id` | `category` | CKAN package UUID. | `e514b983-cf97-4af6-9fc9-ec2b62f1283b` |
91
- | `source_resource_id` | `category` | CKAN resource UUID. | `8c0011d8-65a9-4fa6-84ce-a00ee07d3e81` |
92
- | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/e514b983-cf97-4af6-9fc9-ec2b62f1283b/re` |
93
- | `license_id` | `category` | Source license identifier. | `cc-by` |
94
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-10T14:51:11Z` |
95
- | `sector` | `string` | Source column. | `` |
96
- | `indicator` | `string` | Source column. | `` |
97
- | `country` | `string` | Source column. | `` |
98
- | `2017` | `float64` | Source column. | `` |
99
- | `2017_2` | `float64` | Source column. | `` |
100
- | `gap` | `float64` | Source column. | `` |
101
- | `achieved` | `float64` | Source column. | `` |
102
- | `kenya` | `string` | Source column. | `` |
103
- | `d_500000` | `float64` | Source column. | `` |
104
- | `end_2015` | `string` | Source column. | `` |
105
- | `end_2016` | `string` | Source column. | `` |
106
- | `planning_end_2018` | `string` | Source column. | `` |
107
- | `2015` | `float64` | Source column. | `` |
108
- | `2016` | `float64` | Source column. | `` |
109
- | `2018` | `float64` | Source column. | `` |
110
 
111
  ## Usage
112
 
@@ -118,29 +141,77 @@ df = ds["train"].to_pandas()
118
  print(df.head())
119
  ```
120
 
121
- ### Filter to one country
122
 
123
  ```python
124
- sample_country = df[df["country_iso3"] == "SOM"]
 
125
  ```
126
 
127
- ### Work with indicators
128
 
129
  ```python
130
- if "indicator_id" in df.columns:
131
- print(df["indicator_id"].value_counts().head())
132
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
133
  ```
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  ## Citation
136
 
137
  ```bibtex
138
  @misc{electric_sheep_africa_africa_somalia_unicef_esaro_regional_db_31_march_2018_4c309bb6_2017,
139
- title = {UNICEF ESARO Regional db 31 March 2018 | Africa (Somalia official open data)},
140
  author = {UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)},
141
  year = {2017},
142
  url = {https://data.humdata.org/dataset/unicef-esaro-regional-db-31-october-2017},
143
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
144
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-somalia-unicef-esaro-regional-db-31-march-2018-4c309bb6}}
145
  }
146
  ```
@@ -149,20 +220,14 @@ if "indicator_id" in df.columns:
149
 
150
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
151
 
152
- Original data (c) UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive). When using this dataset, please cite both the
153
- original source above and the Electric Sheep Africa repackaging.
154
-
155
- ## About Electric Sheep
156
 
157
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
158
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
159
- open sources, normalize the schemas, package as Parquet, and publish with
160
- consistent dataset cards so researchers and developers can use `load_dataset()`
161
- to start working in seconds.
162
 
163
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
164
 
165
  ---
166
 
167
- Provenance: ingested 2026-08-10 via the Electric Sheep pipeline. Source URL:
168
- https://data.humdata.org/dataset/e514b983-cf97-4af6-9fc9-ec2b62f1283b/resource/8c0011d8-65a9-4fa6-84ce-a00ee07d3e81/download/unicef-esaro-regional-refugee-db-30-november-2017.xlsx
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "somalia"
17
+ - "unicef-eastern-and-southern-africa-regional-office-esaro-inactive"
18
+ - "ago"
19
+ - "bdi"
20
+ - "eri"
21
+ - "eth"
22
+ - "ken"
23
+ - "mdg"
24
+ - "som"
25
+ - "ssd"
26
  configs:
27
  - config_name: default
28
  data_files:
29
  - split: train
30
  path: data/train-00000-of-00001.parquet
31
+ pretty_name: "Unicef Esaro Regional Db 31 March 2018 | Africa (UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive))"
32
  ---
33
 
34
+ # Unicef Esaro Regional Db 31 March 2018 | Africa (UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive))
35
 
36
+ **154 rows** - **1 Africa country/area** - **2017** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
37
 
38
  ![rows](https://img.shields.io/badge/rows-154-blue)
39
  ![countries](https://img.shields.io/badge/countries-1-green)
40
+ ![period](https://img.shields.io/badge/period-2017-orange)
41
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
42
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
43
 
44
  ## TL;DR
45
 
46
+ This dataset contains **154 rows** from **UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)**, covering **Unicef Esaro Regional Db 31 March 2018**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
47
 
48
+ ## What This Dataset Measures
49
 
50
+ Official statistics datasets help analysts inspect public data as published by governments, national statistical systems, and regional data portals.
51
+
52
+ Source-provided context: UNICEF Eastern and Southern Africa Refugees database - Target, Response and Funding as of 30 November 2017
53
+
54
+ ## How To Read This Dataset
55
+
56
+ - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
57
+ - **Primary geography column:** `country_iso3`.
58
+ - **Best time column:** `year`.
59
+ - **Time coverage basis:** year.
60
+ - **Recommended join keys:** `country_iso3` where available plus source-specific keys.
61
+
62
+ ## Coverage
63
+
64
+ | Dimension | Value |
65
+ |---|---:|
66
+ | Rows | 154 |
67
+ | Countries/areas | 1 |
68
+ | First period | 2017 |
69
+ | Last period | 2017 |
70
+ | Indicators | 0 |
71
+ | Columns | 43 |
72
+ | Source format | XLSX |
73
 
74
+ ## Geographic Coverage
75
 
76
+ Top areas shown below, sorted by row count when available:
77
 
78
+ | Area | Rows | First year | Last year | Name |
79
+ |------|-----:|-----------:|----------:|------|
80
  | `SOM` | 154 | 2017 | 2017 | `Somalia` |
81
 
82
+ ## Indicators, Variables, Or Resource Contents
83
 
84
+ - This repo preserves one source tabular resource with its usable columns kept together.
85
 
86
  ## Schema
87
 
88
  | Column | Type | Description | Example |
89
  |--------|------|-------------|---------|
90
+ | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `8c0011d8-65a9-4fa6-84ce-a00ee07d3e81:situation-and-funding-summary:0` |
91
+ | `country_iso3` | `dictionary<values=string, indices=int8, ordered=0>` | ISO3 country or area code. | `SOM` |
92
+ | `country_name` | `dictionary<values=string, indices=int8, ordered=0>` | Country or area name. | `Somalia` |
93
+ | `source_sheet` | `string` | Source column from the original resource. | `Situation and Funding summary` |
94
+ | `year` | `int64` | Observation year. | `2017` |
95
+ | `uganda` | `string` | Source column from the original resource. | `Rwanda` |
96
+ | `d_52870000` | `string` | Source column from the original resource. | `2548000` |
97
+ | `no_data` | `string` | Source column from the original resource. | `86600` |
98
+ | `no_data_2` | `string` | Source column from the original resource. | `39836` |
99
+ | `d_2100000` | `string` | Source column from the original resource. | `2548000` |
100
+ | `d_110630` | `string` | Source column from the original resource. | `2357499` |
101
+ | `d_1989370` | `string` | Source column from the original resource. | `1026260` |
102
+ | `d_0_9473190476190476` | `string` | Source column from the original resource. | `0.40277080062794346` |
103
+ | `uganda_2` | `string` | Source column from the original resource. | `Tanzania` |
104
+ | `d_39289` | `string` | Source column from the original resource. | `255714` |
105
+ | `d_23966_29` | `string` | Source column from the original resource. | `140642.7` |
106
+ | `d_0_61` | `double` | Source column from the original resource. | `0.55` |
107
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2017` |
108
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2017` |
109
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2017` |
110
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)` |
111
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `UNICEF ESARO Regional db 31 March 2018` |
112
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `UNICEF ESARO Regional refugee db 30 November 2017.xlsx` |
113
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `e514b983-cf97-4af6-9fc9-ec2b62f1283b` |
114
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `8c0011d8-65a9-4fa6-84ce-a00ee07d3e81` |
115
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.humdata.org/dataset/e514b983-cf97-4af6-9fc9-ec2b62f1283b...` |
116
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `cc-by` |
117
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-10T14:51:11Z` |
118
+ | `sector` | `string` | Source column from the original resource. | `` |
119
+ | `indicator` | `string` | Source column from the original resource. | `` |
120
+ | `country` | `string` | Source column from the original resource. | `` |
121
+ | `2017` | `double` | Source column from the original resource. | `` |
122
+ | `2017_2` | `double` | Source column from the original resource. | `` |
123
+ | `gap` | `double` | Source column from the original resource. | `` |
124
+ | `achieved` | `double` | Source column from the original resource. | `` |
125
+ | `kenya` | `string` | Source column from the original resource. | `` |
126
+ | `d_500000` | `double` | Source column from the original resource. | `` |
127
+ | `end_2015` | `string` | Source column from the original resource. | `` |
128
+ | `end_2016` | `string` | Source column from the original resource. | `` |
129
+ | `planning_end_2018` | `string` | Source column from the original resource. | `` |
130
+ | `2015` | `double` | Source column from the original resource. | `` |
131
+ | `2016` | `double` | Source column from the original resource. | `` |
132
+ | `2018` | `double` | Source column from the original resource. | `` |
133
 
134
  ## Usage
135
 
 
141
  print(df.head())
142
  ```
143
 
144
+ ### Inspect Columns
145
 
146
  ```python
147
+ print(df.info())
148
+ print(df.head())
149
  ```
150
 
151
+ ### Filter By Geography
152
 
153
  ```python
154
+ if "country_iso3" in df.columns:
155
+ sample = df[df["country_iso3"] == "SOM"]
 
156
  ```
157
 
158
+ ### Time-Series Pattern
159
+
160
+ ```python
161
+ if "value" in df.columns and "year" in df.columns:
162
+ trend = df.sort_values("year")
163
+ ```
164
+
165
+ ### Pivot For Analysis
166
+
167
+ ```python
168
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
169
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
170
+ print(matrix.tail())
171
+ ```
172
+
173
+ ## Data Quality Notes
174
+
175
+ - Canonical time field: `year`.
176
+ - Missing values are preserved rather than silently imputed.
177
+ - Column names are standardized for machine use; source meanings are preserved where known.
178
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
179
+
180
+ ## Source And Provenance
181
+
182
+ - **Source:** [UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)](https://data.humdata.org/dataset/unicef-esaro-regional-db-31-october-2017)
183
+ - **Publisher:** UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)
184
+ - **Portal:** [https://data.humdata.org](https://data.humdata.org)
185
+ - **Resource:** [UNICEF ESARO Regional refugee db 30 November 2017.xlsx](https://data.humdata.org/dataset/e514b983-cf97-4af6-9fc9-ec2b62f1283b/resource/8c0011d8-65a9-4fa6-84ce-a00ee07d3e81/download/unicef-esaro-regional-refugee-db-30-november-2017.xlsx)
186
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
187
+ - **Retrieved/generated:** `2026-08-10T16:23:55Z`
188
+ - **Hugging Face repo:** [electricsheepafrica/africa-somalia-unicef-esaro-regional-db-31-march-2018-4c309bb6](https://huggingface.co/datasets/electricsheepafrica/africa-somalia-unicef-esaro-regional-db-31-march-2018-4c309bb6)
189
+
190
+ ## Transformations Applied
191
+
192
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
193
+ - Added or preserved source provenance columns where available.
194
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
195
+ - Preserved source-reported values without analytical imputation.
196
+
197
+ ## Suggested Analyses
198
+
199
+ - Profile the distribution of values
200
+ - Compare categories or geographies
201
+ - Join with complementary public datasets
202
+ - Build time-series views and period-over-period comparisons
203
+ - Check missingness before modeling
204
+ - Use `country_iso3` as the safest geography join key when present
205
+
206
  ## Citation
207
 
208
  ```bibtex
209
  @misc{electric_sheep_africa_africa_somalia_unicef_esaro_regional_db_31_march_2018_4c309bb6_2017,
210
+ title = {Unicef Esaro Regional Db 31 March 2018 | Africa (UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive))},
211
  author = {UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive)},
212
  year = {2017},
213
  url = {https://data.humdata.org/dataset/unicef-esaro-regional-db-31-october-2017},
214
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
215
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-somalia-unicef-esaro-regional-db-31-march-2018-4c309bb6}}
216
  }
217
  ```
 
220
 
221
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
222
 
223
+ Original data is published by UNICEF Eastern and Southern Africa Regional Office (ESARO) (inactive). Electric Sheep Africa
224
+ engineering standardizes the data for discovery, loading, and analysis on
225
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
226
 
227
+ ## About Electric Sheep Africa
 
 
 
 
228
 
229
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
230
 
231
  ---
232
 
233
+ Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://data.humdata.org/dataset/unicef-esaro-regional-db-31-october-2017