Kossisoroyce commited on
Commit
c6afca3
·
verified ·
1 Parent(s): c022900

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +151 -38
README.md CHANGED
@@ -1,42 +1,155 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: date_of_analysis
5
- dtype: timestamp[ns]
6
- - name: country
7
- dtype: string
8
- - name: total_country_population
9
- dtype: int64
10
- - name: validity_period
11
- dtype: string
12
- - name: from
13
- dtype: timestamp[ns]
14
- - name: to
15
- dtype: timestamp[ns]
16
- - name: phase
17
- dtype: string
18
- - name: number
19
- dtype: int64
20
- - name: percentage
21
- dtype: float64
22
- - name: esa_source
23
- dtype: string
24
- - name: esa_processed
25
- dtype: string
26
  splits:
27
- - name: train
28
- num_bytes: 1061
29
- num_examples: 11
30
- - name: test
31
- num_bytes: 296
32
- num_examples: 3
33
- download_size: 9954
34
- dataset_size: 1357
35
- configs:
36
- - config_name: default
37
- data_files:
38
- - split: train
39
- path: data/train-*
40
- - split: test
41
- path: data/test-*
42
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
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
+ - food-security
25
+ - integrated-food-security-phase-classification-ipc
26
+ - cmr
27
+ pretty_name: "Cameroon: Acute Food Insecurity Country Data"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 11
32
+ - name: test
33
+ num_examples: 2
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Cameroon: Acute Food Insecurity Country Data
37
+
38
+ **Publisher:** Integrated Food Security Phase Classification (IPC) · **Source:** [HDX](https://data.humdata.org/dataset/cameroon-acute-food-insecurity-country-data) · **License:** `other-pd-nr` · **Updated:** 2026-02-16
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ The IPC Acute Food Insecurity (IPC AFI) classification provides strategically relevant information to decision makers that focuses on short-term objectives to prevent, mitigate or decrease severe food insecurity that threatens lives or livelihoods. This data has been produced by the National IPC Technical Working Groups for IPC population estimates since 2017. All national population figures are based on official country population estimates. IPC estimates are those published in country IPC reports.
45
+
46
+ There is also a [global dataset](https://data.humdata.org/dataset/global-acute-food-insecurity-country-data).
47
+
48
+ Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `date_of_analysis`, `from` column(s). Geographic scope: **CMR**.
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)** | 14 |
61
+ | **Columns** | 11 (3 numeric, 5 categorical, 3 datetime) |
62
+ | **Train split** | 11 rows |
63
+ | **Test split** | 2 rows |
64
+ | **Geographic scope** | CMR |
65
+ | **Publisher** | Integrated Food Security Phase Classification (IPC) |
66
+ | **HDX last updated** | 2026-02-16 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `date_of_analysis`, `country` (CMR), `total_country_population` (range 29414763.0–29414763.0), `validity_period` (current, first projection).
73
+
74
+ **Demographic** — `percentage` (range 0.0–1.0).
75
+
76
+ **Outcome / Measurement** — `phase` (all, 3+, 1), `number` (range 0.0–29414764.0).
77
+
78
+ **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04).
79
+
80
+ **Other** — `from`, `to`.
81
+
82
+ ---
83
+
84
+ ## Quick Start
85
+
86
+ ```python
87
+ from datasets import load_dataset
88
+
89
+ ds = load_dataset("electricsheepafrica/africa-cameroon-acute-food-insecurity-country-data")
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
+ | `date_of_analysis` | datetime64[ns] | 0.0% | |
104
+ | `country` | object | 0.0% | CMR |
105
+ | `total_country_population` | int64 | 0.0% | 29414763.0 – 29414763.0 (mean 29414763.0) |
106
+ | `validity_period` | object | 0.0% | current, first projection |
107
+ | `from` | datetime64[ns] | 0.0% | |
108
+ | `to` | datetime64[ns] | 0.0% | |
109
+ | `phase` | object | 0.0% | all, 3+, 1 |
110
+ | `number` | int64 | 0.0% | 0.0 – 29414764.0 (mean 8831254.7857) |
111
+ | `percentage` | float64 | 0.0% | 0.0 – 1.0 (mean 0.3007) |
112
+ | `esa_source` | object | 0.0% | HDX |
113
+ | `esa_processed` | object | 0.0% | 2026-04-04 |
114
+
115
+ ---
116
+
117
+ ## Numeric Summary
118
+
119
+ | Column | Min | Max | Mean | Median |
120
+ |---|---|---|---|---|
121
+ | `total_country_population` | 29414763.0 | 29414763.0 | 29414763.0 | 29414763.0 |
122
+ | `number` | 0.0 | 29414764.0 | 8831254.7857 | 2996617.0 |
123
+ | `percentage` | 0.0 | 1.0 | 0.3007 | 0.105 |
124
+
125
+ ---
126
+
127
+ ## Curation
128
+
129
+ 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`. 3 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.
130
+
131
+ ---
132
+
133
+ ## Limitations
134
+
135
+ - Data originates from Integrated Food Security Phase Classification (IPC) and has not been independently validated by ESA.
136
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
137
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/cameroon-acute-food-insecurity-country-data) for the publisher's own methodology notes and caveats.
138
+
139
+ ---
140
+
141
+ ## Citation
142
+
143
+ ```bibtex
144
+ @dataset{hdx_africa_cameroon_acute_food_insecurity_country_data,
145
+ title = {Cameroon: Acute Food Insecurity Country Data},
146
+ author = {Integrated Food Security Phase Classification (IPC)},
147
+ year = {2026},
148
+ url = {https://data.humdata.org/dataset/cameroon-acute-food-insecurity-country-data},
149
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
150
+ }
151
+ ```
152
+
153
+ ---
154
+
155
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*