electricsheepafrica/africa-wfp-food-prices-for-burkina-faso
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-wfp-food-prices-for-burkina-faso
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- 10K<n<100K
source_datasets:
- original
task_categories:
- tabular-regression
- other
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- economics
- food-security
- indicators
- markets
- bfa
pretty_name: "Burkina Faso - Food Prices"
dataset_info:
splits:
- name: train
num_examples: 37373
- name: test
num_examples: 9343
---
# Burkina Faso - Food Prices
**Publisher:** WFP - World Food Programme · **Source:** [HDX](https://data.humdata.org/dataset/wfp-food-prices-for-burkina-faso) · **License:** `cc-by-igo` · **Updated:** 2026-04-05
---
## Abstract
This dataset contains Food Prices data for Burkina Faso, sourced from the World Food Programme Price Database. The World Food Programme Price Database covers foods such as maize, rice, beans, fish, and sugar for 98 countries and some 3000 markets. It is updated weekly but contains to a large extent monthly data. The data goes back as far as 1992 for a few countries, although many countries started reporting from 2003 or thereafter.
Each row in this dataset represents subnational administrative unit observations. Temporal coverage is indicated by the `date` column(s). Geographic scope: **BFA**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Food security and nutrition |
| **Unit of observation** | Subnational administrative unit observations |
| **Rows (total)** | 46,717 |
| **Columns** | 18 (6 numeric, 11 categorical, 1 datetime) |
| **Train split** | 37,373 rows |
| **Test split** | 9,343 rows |
| **Geographic scope** | BFA |
| **Publisher** | WFP - World Food Programme |
| **HDX last updated** | 2026-04-05 |
---
## Variables
**Geographic** — `admin1` (BOUCLE DU MOUHOUN, EST, SAHEL), `admin2` (KADIOGO, BOULGOU, KOSSI), `latitude` (range 9.88–14.64), `longitude` (range -5.11–1.82), `category` (cereals and tubers, pulses and nuts) and 4 others.
**Temporal** — `date`.
**Outcome / Measurement** — `priceflag` (actual), `price` (range 33.0–45000.0), `usdprice` (range 0.078–107.03).
**Identifier / Metadata** — `market_id` (range 129.0–3403.0), `esa_source` (HDX), `esa_processed`.
**Other** — `market` (Ouagadougo (Sankaryare), Fada N'Gourma, Kongoussi), `unit` (KG, 100 KG).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-wfp-food-prices-for-burkina-faso")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `date` | datetime64[ns] | 0.0% | |
| `admin1` | object | 0.0% | BOUCLE DU MOUHOUN, EST, SAHEL |
| `admin2` | object | 0.0% | KADIOGO, BOULGOU, KOSSI |
| `market` | object | 0.0% | Ouagadougo (Sankaryare), Fada N'Gourma, Kongoussi |
| `market_id` | int64 | 0.0% | 129.0 – 3403.0 (mean 2138.7308) |
| `latitude` | float64 | 0.0% | 9.88 – 14.64 (mean 12.2657) |
| `longitude` | float64 | 0.0% | -5.11 – 1.82 (mean -1.8803) |
| `category` | object | 0.0% | cereals and tubers, pulses and nuts |
| `commodity` | object | 0.0% | Millet, Sorghum (white), Beans (niebe) |
| `commodity_id` | int64 | 0.0% | 51.0 – 511.0 (mean 107.0253) |
| `unit` | object | 0.0% | KG, 100 KG |
| `priceflag` | object | 0.0% | actual |
| `pricetype` | object | 0.0% | Retail, Wholesale |
| `currency` | object | 0.0% | XOF |
| `price` | float64 | 0.0% | 33.0 – 45000.0 (mean 2011.4109) |
| `usdprice` | float64 | 0.0% | 0.078 – 107.03 (mean 3.7647) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `market_id` | 129.0 | 3403.0 | 2138.7308 | 3363.0 |
| `latitude` | 9.88 | 14.64 | 12.2657 | 12.25 |
| `longitude` | -5.11 | 1.82 | -1.8803 | -1.77 |
| `commodity_id` | 51.0 | 511.0 | 107.0253 | 73.0 |
| `price` | 33.0 | 45000.0 | 2011.4109 | 282.0 |
| `usdprice` | 0.078 | 107.03 | 3.7647 | 0.49 |
---
## Curation
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.
---
## Limitations
- Data originates from WFP - World Food Programme and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/wfp-food-prices-for-burkina-faso) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_wfp_food_prices_for_burkina_faso,
title = {Burkina Faso - Food Prices},
author = {WFP - World Food Programme},
year = {2026},
url = {https://data.humdata.org/dataset/wfp-food-prices-for-burkina-faso},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
```
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
提供机构:
electricsheepafrica



