Kossisoroyce commited on
Commit
57ac3d3
·
verified ·
1 Parent(s): fc57ee6

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +157 -50
README.md CHANGED
@@ -1,54 +1,161 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country
5
- dtype: string
6
- - name: market
7
- dtype: string
8
- - name: admin_1
9
- dtype: string
10
- - name: longitude
11
- dtype: float64
12
- - name: latitude
13
- dtype: float64
14
- - name: cpcv2
15
- dtype: string
16
- - name: product
17
- dtype: string
18
- - name: source_document
19
- dtype: string
20
- - name: period_date
21
- dtype: timestamp[ns]
22
- - name: price_type
23
- dtype: string
24
- - name: product_source
25
- dtype: string
26
- - name: unit
27
- dtype: string
28
- - name: unit_type
29
- dtype: string
30
- - name: currency
31
- dtype: string
32
- - name: value
33
- dtype: float64
34
- - name: esa_source
35
- dtype: string
36
- - name: esa_processed
37
- dtype: string
38
  splits:
39
- - name: train
40
- num_bytes: 57766401
41
- num_examples: 244230
42
- - name: test
43
- num_bytes: 14440030
44
- num_examples: 61058
45
- download_size: 5963203
46
- dataset_size: 72206431
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
- - split: test
53
- path: data/test-*
54
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - 100K<n<1M
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-regression
17
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - economics
25
+ - food-security
26
+ - indicators
27
+ - markets
28
+ - nga
29
+ pretty_name: "Nigeria Weekly FEWS NET Staple Food Price Data"
30
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  splits:
32
+ - name: train
33
+ num_examples: 244230
34
+ - name: test
35
+ num_examples: 61057
 
 
 
 
 
 
 
 
 
 
 
36
  ---
37
+
38
+ # Nigeria Weekly FEWS NET Staple Food Price Data
39
+
40
+ **Publisher:** FEWS NET · **Source:** [HDX](https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_nigeria_weekly_282) · **License:** `cc-by` · **Updated:** 2026-04-01
41
+
42
+ ---
43
+
44
+ ## Abstract
45
+
46
+ Nigeria Weekly staple food price data collected by FEWS NET since 2003.
47
+
48
+ Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `period_date` column(s). Geographic scope: **NGA**.
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** | Food security and nutrition |
59
+ | **Unit of observation** | Country-level aggregates |
60
+ | **Rows (total)** | 305,288 |
61
+ | **Columns** | 17 (3 numeric, 13 categorical, 1 datetime) |
62
+ | **Train split** | 244,230 rows |
63
+ | **Test split** | 61,057 rows |
64
+ | **Geographic scope** | NGA |
65
+ | **Publisher** | FEWS NET |
66
+ | **HDX last updated** | 2026-04-01 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country` (Nigeria), `admin_1` (Kaduna, Borno, Yobe), `longitude` (range 3.3958–13.265), `latitude` (range 4.812–13.7273), `price_type` (Retail, Wholesale) and 2 others.
73
+
74
+ **Temporal** — `period_date`.
75
+
76
+ **Outcome / Measurement** — `value` (range 1.0–799000.0).
77
+
78
+ **Identifier / Metadata** — `source_document` (Famine Early Warning Systems Network (FEWS NET), Nigeria, Price (weekly), Famine Early Warning Systems Network (FEWS NET), Nigeria, Livestock Price (weekly)), `product_source` (Local, Import), `esa_source`, `esa_processed`.
79
+
80
+ **Other** — `market` (Dandume, Ibadan, Bodija, Gombe), `cpcv2` (R01122AC, R01142AD, R01709AC), `product` (Maize Grain (White), Sorghum (White), Cowpeas (White)), `unit` (kg, 100_kg, L).
81
+
82
+ ---
83
+
84
+ ## Quick Start
85
+
86
+ ```python
87
+ from datasets import load_dataset
88
+
89
+ ds = load_dataset("electricsheepafrica/africa-fewsnet-staple-food-price-data-for-nigeria-weekly-282")
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
+ | `country` | object | 0.0% | Nigeria |
104
+ | `market` | object | 0.0% | Dandume, Ibadan, Bodija, Gombe |
105
+ | `admin_1` | object | 0.0% | Kaduna, Borno, Yobe |
106
+ | `longitude` | float64 | 0.0% | 3.3958 – 13.265 (mean 8.5099) |
107
+ | `latitude` | float64 | 0.0% | 4.812 – 13.7273 (mean 10.4386) |
108
+ | `cpcv2` | object | 0.0% | R01122AC, R01142AD, R01709AC |
109
+ | `product` | object | 0.0% | Maize Grain (White), Sorghum (White), Cowpeas (White) |
110
+ | `source_document` | object | 0.0% | Famine Early Warning Systems Network (FEWS NET), Nigeria, Price (weekly), Famine Early Warning Systems Network (FEWS NET), Nigeria, Livestock Price (weekly) |
111
+ | `period_date` | datetime64[ns] | 0.0% | |
112
+ | `price_type` | object | 0.0% | Retail, Wholesale |
113
+ | `product_source` | object | 0.0% | Local, Import |
114
+ | `unit` | object | 0.0% | kg, 100_kg, L |
115
+ | `unit_type` | object | 0.0% | Weight, Volume, Item |
116
+ | `currency` | object | 0.0% | |
117
+ | `value` | float64 | 18.3% | 1.0 – 799000.0 (mean 13108.5953) |
118
+ | `esa_source` | object | 0.0% | |
119
+ | `esa_processed` | object | 0.0% | |
120
+
121
+ ---
122
+
123
+ ## Numeric Summary
124
+
125
+ | Column | Min | Max | Mean | Median |
126
+ |---|---|---|---|---|
127
+ | `longitude` | 3.3958 | 13.265 | 8.5099 | 8.5364 |
128
+ | `latitude` | 4.812 | 13.7273 | 10.4386 | 11.28 |
129
+ | `value` | 1.0 | 799000.0 | 13108.5953 | 528.63 |
130
+
131
+ ---
132
+
133
+ ## Curation
134
+
135
+ 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.
136
+
137
+ ---
138
+
139
+ ## Limitations
140
+
141
+ - Data originates from FEWS NET and has not been independently validated by ESA.
142
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
143
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_nigeria_weekly_282) for the publisher's own methodology notes and caveats.
144
+
145
+ ---
146
+
147
+ ## Citation
148
+
149
+ ```bibtex
150
+ @dataset{hdx_africa_fewsnet_staple_food_price_data_for_nigeria_weekly_282,
151
+ title = {Nigeria Weekly FEWS NET Staple Food Price Data},
152
+ author = {FEWS NET},
153
+ year = {2026},
154
+ url = {https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_nigeria_weekly_282},
155
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
156
+ }
157
+ ```
158
+
159
+ ---
160
+
161
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*