Kossisoroyce commited on
Commit
da54152
·
verified ·
1 Parent(s): d9ff910

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +161 -64
README.md CHANGED
@@ -1,68 +1,165 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: year
5
- dtype: float64
6
- - name: country
7
- dtype: string
8
- - name: pin
9
- dtype: string
10
- - name: fs_pin
11
- dtype: string
12
- - name: fs_tar
13
- dtype: string
14
- - name: nut_pin
15
- dtype: string
16
- - name: nut_tar
17
- dtype: string
18
- - name: health_pin
19
- dtype: string
20
- - name: healthtar
21
- dtype: string
22
- - name: wash_pin
23
- dtype: string
24
- - name: wash_tar
25
- dtype: string
26
- - name: edu_pin
27
- dtype: string
28
- - name: edu_tar
29
- dtype: string
30
- - name: shelter_nfi_pin
31
- dtype: string
32
- - name: shelter_nfi_tar
33
- dtype: string
34
- - name: protection_pin
35
- dtype: string
36
- - name: protection_tar
37
- dtype: string
38
- - name: multi_sector_pin
39
- dtype: string
40
- - name: multi_sector_tar
41
- dtype: string
42
- - name: mine_action_pin
43
- dtype: string
44
- - name: mine_action_tar
45
- dtype: string
46
- - name: source
47
- dtype: string
48
- - name: esa_source
49
- dtype: string
50
- - name: esa_processed
51
- dtype: string
52
  splits:
53
- - name: train
54
- num_bytes: 4432
55
- num_examples: 20
56
- - name: test
57
- num_bytes: 1115
58
- num_examples: 5
59
- download_size: 21990
60
- dataset_size: 5547
61
- configs:
62
- - config_name: default
63
- data_files:
64
- - split: train
65
- path: data/train-*
66
- - split: test
67
- path: data/test-*
68
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-4.0
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
+ - eastern-africa
24
+ - humanitarian-needs-overview-hno
25
+ - dji
26
+ - eth
27
+ - ken
28
+ - ssd
29
+ - sdn
30
+ pretty_name: "Eastern Africa Region People in Need Per Sector 2011-2015"
31
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  splits:
33
+ - name: train
34
+ num_examples: 20
35
+ - name: test
36
+ num_examples: 5
 
 
 
 
 
 
 
 
 
 
 
37
  ---
38
+
39
+ # Eastern Africa Region People in Need Per Sector 2011-2015
40
+
41
+ **Publisher:** OCHA Regional Office for Southern and Eastern Africa (ROSEA) · **Source:** [HDX](https://data.humdata.org/dataset/eastern-africa-region-people-in-need-per-sector-2011-2014) · **License:** `cc-by-igo` · **Updated:** 2023-09-28
42
+
43
+ ---
44
+
45
+ ## Abstract
46
+
47
+ Data on people in need per sector in Kenya, Somalia, Sudan, South Sudan and Ethiopia from 2011 to 2015
48
+
49
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2023-09-28. Geographic scope: **DJI, ETH, KEN, SSD, SDN**.
50
+
51
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
52
+
53
+ ---
54
+
55
+ ## Dataset Characteristics
56
+
57
+ | | |
58
+ |---|---|
59
+ | **Domain** | Public health |
60
+ | **Unit of observation** | Country-level aggregates |
61
+ | **Rows (total)** | 25 |
62
+ | **Columns** | 24 (1 numeric, 23 categorical, 0 datetime) |
63
+ | **Train split** | 20 rows |
64
+ | **Test split** | 5 rows |
65
+ | **Geographic scope** | DJI, ETH, KEN, SSD, SDN |
66
+ | **Publisher** | OCHA Regional Office for Southern and Eastern Africa (ROSEA) |
67
+ | **HDX last updated** | 2023-09-28 |
68
+
69
+ ---
70
+
71
+ ## Variables
72
+
73
+ **Geographic** — `year` (range 2011.0–2014.0), `country` (SOM, SUD, SSD).
74
+
75
+ **Identifier / Metadata** — `source`, `esa_source`, `esa_processed`.
76
+
77
+ **Other** — `pin` (2,100,000, 1,700,000, 3,800,000), `fs_pin` (3,750,000, 3,200,000, 257,000), `fs_tar` (2,200,000, 3,750,000, 1,981,000), `nut_pin` (3,900,000, 172,500, 2,999,937), `nut_tar` (107,000, 475,000, 591,000) and 14 others.
78
+
79
+ ---
80
+
81
+ ## Quick Start
82
+
83
+ ```python
84
+ from datasets import load_dataset
85
+
86
+ ds = load_dataset("electricsheepafrica/africa-eastern-africa-region-people-in-need-per-sector-2011-2014")
87
+ train = ds["train"].to_pandas()
88
+ test = ds["test"].to_pandas()
89
+
90
+ print(train.shape)
91
+ train.head()
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Schema
97
+
98
+ | Column | Type | Null % | Range / Sample Values |
99
+ |---|---|---|---|
100
+ | `year` | float64 | 4.0% | 2011.0 – 2014.0 (mean 2012.5) |
101
+ | `country` | object | 4.0% | SOM, SUD, SSD |
102
+ | `pin` | object | 68.0% | 2,100,000, 1,700,000, 3,800,000 |
103
+ | `fs_pin` | object | 20.0% | 3,750,000, 3,200,000, 257,000 |
104
+ | `fs_tar` | object | 24.0% | 2,200,000, 3,750,000, 1,981,000 |
105
+ | `nut_pin` | object | 8.0% | 3,900,000, 172,500, 2,999,937 |
106
+ | `nut_tar` | object | 28.0% | 107,000, 475,000, 591,000 |
107
+ | `health_pin` | object | 20.0% | 222,500, 7,500,000, 7,770,000 |
108
+ | `healthtar` | object | 24.0% | 164,800, 3,700,000, 3,549,955 |
109
+ | `wash_pin` | object | 20.0% | 3,751,000, 2,000,000, 300,000 |
110
+ | `wash_tar` | object | 28.0% | 2,600,000, 2,549,000, 2,500,000 |
111
+ | `edu_pin` | object | 36.0% | |
112
+ | `edu_tar` | object | 40.0% | |
113
+ | `shelter_nfi_pin` | object | 52.0% | |
114
+ | `shelter_nfi_tar` | object | 52.0% | |
115
+ | `protection_pin` | object | 60.0% | |
116
+ | `protection_tar` | object | 56.0% | |
117
+ | `multi_sector_pin` | object | 56.0% | |
118
+ | `multi_sector_tar` | object | 56.0% | |
119
+ | `mine_action_pin` | object | 72.0% | |
120
+ | `mine_action_tar` | object | 72.0% | |
121
+ | `source` | object | 16.0% | |
122
+ | `esa_source` | object | 0.0% | |
123
+ | `esa_processed` | object | 0.0% | |
124
+
125
+ ---
126
+
127
+ ## Numeric Summary
128
+
129
+ | Column | Min | Max | Mean | Median |
130
+ |---|---|---|---|---|
131
+ | `year` | 2011.0 | 2014.0 | 2012.5 | 2012.5 |
132
+
133
+ ---
134
+
135
+ ## Curation
136
+
137
+ 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`. 20 column(s) with >80% missing values were removed: `tar`, `rch`, `fs_rch`, `nut_rch`, `healthrch`, `wash_rch`.... 2 exact duplicate rows were removed. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
138
+
139
+ ---
140
+
141
+ ## Limitations
142
+
143
+ - Data originates from OCHA Regional Office for Southern and Eastern Africa (ROSEA) and has not been independently validated by ESA.
144
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
145
+ - The following columns have >20% missing values and should be treated with caution in modelling: `pin`, `fs_tar`, `nut_tar`, `healthtar`, `wash_tar`, `edu_pin`, `edu_tar`, `shelter_nfi_pin`....
146
+ - This dataset spans 5 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
147
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/eastern-africa-region-people-in-need-per-sector-2011-2014) for the publisher's own methodology notes and caveats.
148
+
149
+ ---
150
+
151
+ ## Citation
152
+
153
+ ```bibtex
154
+ @dataset{hdx_africa_eastern_africa_region_people_in_need_per_sector_2011_2014,
155
+ title = {Eastern Africa Region People in Need Per Sector 2011-2015},
156
+ author = {OCHA Regional Office for Southern and Eastern Africa (ROSEA)},
157
+ year = {2023},
158
+ url = {https://data.humdata.org/dataset/eastern-africa-region-people-in-need-per-sector-2011-2014},
159
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
160
+ }
161
+ ```
162
+
163
+ ---
164
+
165
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*