Kossisoroyce commited on
Commit
4deb044
·
verified ·
1 Parent(s): aec65b7

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +153 -52
README.md CHANGED
@@ -1,56 +1,157 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: organization
5
- dtype: string
6
- - name: org_acronym
7
- dtype: string
8
- - name: type_of_organization
9
- dtype: string
10
- - name: operation_type
11
- dtype: string
12
- - name: project_sector
13
- dtype: string
14
- - name: activities
15
- dtype: string
16
- - name: status
17
- dtype: string
18
- - name: states
19
- dtype: string
20
- - name: state_pcode
21
- dtype: string
22
- - name: lga
23
- dtype: string
24
- - name: lga_pcode
25
- dtype: string
26
- - name: ishrp
27
- dtype: string
28
- - name: response_type
29
- dtype: string
30
- - name: isrp
31
- dtype: string
32
- - name: month
33
- dtype: string
34
- - name: year
35
- dtype: float64
36
- - name: esa_source
37
- dtype: string
38
- - name: esa_processed
39
- dtype: string
40
  splits:
41
- - name: train
42
- num_bytes: 1732272
43
- num_examples: 7124
44
- - name: test
45
- num_bytes: 433612
46
- num_examples: 1781
47
- download_size: 176075
48
- dataset_size: 2165884
49
- configs:
50
- - config_name: default
51
- data_files:
52
- - split: train
53
- path: data/train-*
54
- - split: test
55
- path: data/test-*
56
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - 1K<n<10K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - hxl
25
+ - operational-presence
26
+ - who-is-doing-what-and-where-3w-4w-5w
27
+ - nga
28
+ pretty_name: "Nigeria: Northeast Nigeria 3Ws (April-June 2022)"
29
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  splits:
31
+ - name: train
32
+ num_examples: 7124
33
+ - name: test
34
+ num_examples: 1781
 
 
 
 
 
 
 
 
 
 
 
35
  ---
36
+
37
+ # Nigeria: Northeast Nigeria 3Ws (April-June 2022)
38
+
39
+ **Publisher:** OCHA Nigeria · **Source:** [HDX](https://data.humdata.org/dataset/nigeria-northeast-nigeria-3ws-april-june-2022) · **License:** `other-pd-nr` · **Updated:** 2025-04-15
40
+
41
+ ---
42
+
43
+ ## Abstract
44
+
45
+ Nigeria: Northeast Nigeria 3Ws (April-June 2022)
46
+
47
+ Each row in this dataset represents subnational administrative unit observations. Data was last updated on HDX on 2025-04-15. Geographic scope: **NGA**.
48
+
49
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
50
+
51
+ ---
52
+
53
+ ## Dataset Characteristics
54
+
55
+ | | |
56
+ |---|---|
57
+ | **Domain** | Humanitarian and development data |
58
+ | **Unit of observation** | Subnational administrative unit observations |
59
+ | **Rows (total)** | 8,905 |
60
+ | **Columns** | 18 (1 numeric, 17 categorical, 0 datetime) |
61
+ | **Train split** | 7,124 rows |
62
+ | **Test split** | 1,781 rows |
63
+ | **Geographic scope** | NGA |
64
+ | **Publisher** | OCHA Nigeria |
65
+ | **HDX last updated** | 2025-04-15 |
66
+
67
+ ---
68
+
69
+ ## Variables
70
+
71
+ **Geographic** — `org_acronym` (International Organization For Migration, United Nations High Commissioner For Refugees, United Nations Children'S Emergency Fund), `type_of_organization` (INGO, UN Agency, NNGO), `operation_type` (Reporting, Implementing, #operation+type), `states` (Borno, Adamawa, Yobe), `state_pcode` (NGA008, NGA002, NGA036) and 4 others.
72
+
73
+ **Temporal** — `month`.
74
+
75
+ **Identifier / Metadata** — `esa_source`, `esa_processed`.
76
+
77
+ **Other** — `organization` (IOM, UNHCR, UNICEF), `project_sector` (Protection, Nutrition, Water, Sanitation & Hygiene), `activities` (Nutrition, Health, Other (specify in remarks column)), `status` (Ongoing, Completed, completed), `ishrp` and 1 others.
78
+
79
+ ---
80
+
81
+ ## Quick Start
82
+
83
+ ```python
84
+ from datasets import load_dataset
85
+
86
+ ds = load_dataset("electricsheepafrica/africa-nigeria-northeast-nigeria-3ws-april-june-2022")
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
+ | `organization` | object | 0.0% | IOM, UNHCR, UNICEF |
101
+ | `org_acronym` | object | 0.0% | International Organization For Migration, United Nations High Commissioner For Refugees, United Nations Children'S Emergency Fund |
102
+ | `type_of_organization` | object | 0.0% | INGO, UN Agency, NNGO |
103
+ | `operation_type` | object | 0.0% | Reporting, Implementing, #operation+type |
104
+ | `project_sector` | object | 0.0% | Protection, Nutrition, Water, Sanitation & Hygiene |
105
+ | `activities` | object | 0.0% | Nutrition, Health, Other (specify in remarks column) |
106
+ | `status` | object | 0.0% | Ongoing, Completed, completed |
107
+ | `states` | object | 0.0% | Borno, Adamawa, Yobe |
108
+ | `state_pcode` | object | 0.0% | NGA008, NGA002, NGA036 |
109
+ | `lga` | object | 0.0% | Jere, Maiduguri, Bama |
110
+ | `lga_pcode` | object | 0.0% | |
111
+ | `ishrp` | object | 0.0% | |
112
+ | `response_type` | object | 0.0% | |
113
+ | `isrp` | object | 0.0% | |
114
+ | `month` | object | 0.0% | |
115
+ | `year` | float64 | 0.0% | 2022.0 – 2022.0 (mean 2022.0) |
116
+ | `esa_source` | object | 0.0% | |
117
+ | `esa_processed` | object | 0.0% | |
118
+
119
+ ---
120
+
121
+ ## Numeric Summary
122
+
123
+ | Column | Min | Max | Mean | Median |
124
+ |---|---|---|---|---|
125
+ | `year` | 2022.0 | 2022.0 | 2022.0 | 2022.0 |
126
+
127
+ ---
128
+
129
+ ## Curation
130
+
131
+ 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) 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.
132
+
133
+ ---
134
+
135
+ ## Limitations
136
+
137
+ - Data originates from OCHA Nigeria and has not been independently validated by ESA.
138
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
139
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/nigeria-northeast-nigeria-3ws-april-june-2022) for the publisher's own methodology notes and caveats.
140
+
141
+ ---
142
+
143
+ ## Citation
144
+
145
+ ```bibtex
146
+ @dataset{hdx_africa_nigeria_northeast_nigeria_3ws_april_june_2022,
147
+ title = {Nigeria: Northeast Nigeria 3Ws (April-June 2022)},
148
+ author = {OCHA Nigeria},
149
+ year = {2025},
150
+ url = {https://data.humdata.org/dataset/nigeria-northeast-nigeria-3ws-april-june-2022},
151
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
152
+ }
153
+ ```
154
+
155
+ ---
156
+
157
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*