Kossisoroyce commited on
Commit
5f8940e
·
verified ·
1 Parent(s): c5f10dc

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +158 -50
README.md CHANGED
@@ -1,54 +1,162 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country
5
- dtype: string
6
- - name: fnid
7
- dtype: string
8
- - name: market
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: 199183
41
- num_examples: 852
42
- - name: test
43
- num_bytes: 49804
44
- num_examples: 213
45
- download_size: 21773
46
- dataset_size: 248987
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
+ - 1K<n<10K
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
+ - eastern-africa
25
+ - economics
26
+ - food-security
27
+ - indicators
28
+ - markets
29
+ - dji
30
+ pretty_name: "Djibouti Weekly FEWS NET Staple Food Price Data"
31
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  splits:
33
+ - name: train
34
+ num_examples: 852
35
+ - name: test
36
+ num_examples: 213
 
 
 
 
 
 
 
 
 
 
 
37
  ---
38
+
39
+ # Djibouti Weekly FEWS NET Staple Food Price Data
40
+
41
+ **Publisher:** FEWS NET · **Source:** [HDX](https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_djibouti_weekly_269) · **License:** `cc-by` · **Updated:** 2026-04-01
42
+
43
+ ---
44
+
45
+ ## Abstract
46
+
47
+ Djibouti Weekly staple food price data collected by FEWS NET since 2004.
48
+
49
+ Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `period_date` column(s). Geographic scope: **DJI**.
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** | Food security and nutrition |
60
+ | **Unit of observation** | Country-level aggregates |
61
+ | **Rows (total)** | 1,065 |
62
+ | **Columns** | 17 (3 numeric, 13 categorical, 1 datetime) |
63
+ | **Train split** | 852 rows |
64
+ | **Test split** | 213 rows |
65
+ | **Geographic scope** | DJI |
66
+ | **Publisher** | FEWS NET |
67
+ | **HDX last updated** | 2026-04-01 |
68
+
69
+ ---
70
+
71
+ ## Variables
72
+
73
+ **Geographic** — `country` (Djibouti), `longitude` (range 43.1485–43.1485), `latitude` (range 11.59–11.59), `price_type` (Retail), `unit_type` (Weight, Volume) and 1 others.
74
+
75
+ **Temporal** — `period_date`.
76
+
77
+ **Outcome / Measurement** — `value` (range 80.0–405.0).
78
+
79
+ **Identifier / Metadata** — `fnid` (DJ0000M005), `source_document` (Famine Early Warning Systems Network (FEWS NET), Djibouti, Price), `product_source` (Local, Import), `esa_source`, `esa_processed`.
80
+
81
+ **Other** — `market` (Djibouti City), `cpcv2` (P33341AA, P23161AA, P23110AA), `product` (Kerosene, Rice (Milled), Wheat Flour), `unit` (kg, L).
82
+
83
+ ---
84
+
85
+ ## Quick Start
86
+
87
+ ```python
88
+ from datasets import load_dataset
89
+
90
+ ds = load_dataset("electricsheepafrica/africa-fewsnet-staple-food-price-data-for-djibouti-weekly-269")
91
+ train = ds["train"].to_pandas()
92
+ test = ds["test"].to_pandas()
93
+
94
+ print(train.shape)
95
+ train.head()
96
+ ```
97
+
98
+ ---
99
+
100
+ ## Schema
101
+
102
+ | Column | Type | Null % | Range / Sample Values |
103
+ |---|---|---|---|
104
+ | `country` | object | 0.0% | Djibouti |
105
+ | `fnid` | object | 0.0% | DJ0000M005 |
106
+ | `market` | object | 0.0% | Djibouti City |
107
+ | `longitude` | float64 | 0.0% | 43.1485 – 43.1485 (mean 43.1485) |
108
+ | `latitude` | float64 | 0.0% | 11.59 – 11.59 (mean 11.59) |
109
+ | `cpcv2` | object | 0.0% | P33341AA, P23161AA, P23110AA |
110
+ | `product` | object | 0.0% | Kerosene, Rice (Milled), Wheat Flour |
111
+ | `source_document` | object | 0.0% | Famine Early Warning Systems Network (FEWS NET), Djibouti, Price |
112
+ | `period_date` | datetime64[ns] | 0.0% | |
113
+ | `price_type` | object | 0.0% | Retail |
114
+ | `product_source` | object | 0.0% | Local, Import |
115
+ | `unit` | object | 0.0% | kg, L |
116
+ | `unit_type` | object | 0.0% | Weight, Volume |
117
+ | `currency` | object | 0.0% | |
118
+ | `value` | float64 | 5.2% | 80.0 – 405.0 (mean 148.407) |
119
+ | `esa_source` | object | 0.0% | |
120
+ | `esa_processed` | object | 0.0% | |
121
+
122
+ ---
123
+
124
+ ## Numeric Summary
125
+
126
+ | Column | Min | Max | Mean | Median |
127
+ |---|---|---|---|---|
128
+ | `longitude` | 43.1485 | 43.1485 | 43.1485 | 43.1485 |
129
+ | `latitude` | 11.59 | 11.59 | 11.59 | 11.59 |
130
+ | `value` | 80.0 | 405.0 | 148.407 | 140.0 |
131
+
132
+ ---
133
+
134
+ ## Curation
135
+
136
+ 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) with >80% missing values were removed: `admin_1`. 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.
137
+
138
+ ---
139
+
140
+ ## Limitations
141
+
142
+ - Data originates from FEWS NET and has not been independently validated by ESA.
143
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
144
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_djibouti_weekly_269) for the publisher's own methodology notes and caveats.
145
+
146
+ ---
147
+
148
+ ## Citation
149
+
150
+ ```bibtex
151
+ @dataset{hdx_africa_fewsnet_staple_food_price_data_for_djibouti_weekly_269,
152
+ title = {Djibouti Weekly FEWS NET Staple Food Price Data},
153
+ author = {FEWS NET},
154
+ year = {2026},
155
+ url = {https://data.humdata.org/dataset/fewsnet_staple_food_price_data_for_djibouti_weekly_269},
156
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
157
+ }
158
+ ```
159
+
160
+ ---
161
+
162
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*