electricsheepafrica/africa-faostat-food-prices-for-cote-d-ivoire
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-faostat-food-prices-for-cote-d-ivoire
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- food-security
- indicators
- civ
pretty_name: "Côte d'Ivoire - Food Prices"
dataset_info:
splits:
- name: train
num_examples: 350
- name: test
num_examples: 87
---
# Côte d'Ivoire - Food Prices
**Publisher:** Food and Agriculture Organization (FAO) of the United Nations · **Source:** [HDX](https://data.humdata.org/dataset/faostat-food-prices-for-cote-d-ivoire) · **License:** `cc-by-igo` · **Updated:** 2026-04-06
---
## Abstract
Food Prices for Côte d'Ivoire.
Contains data from the FAOSTAT [bulk data service](https://fenixservices.fao.org/faostat/static/bulkdownloads/datasets_E.json) covering the following categories: Consumer Price Indices, Deflators, Exchange rates, Producer Prices
Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `startdate`, `enddate` column(s). Geographic scope: **CIV**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Food security and nutrition |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 438 |
| **Columns** | 17 (6 numeric, 9 categorical, 2 datetime) |
| **Train split** | 350 rows |
| **Test split** | 87 rows |
| **Geographic scope** | CIV |
| **Publisher** | Food and Agriculture Organization (FAO) of the United Nations |
| **HDX last updated** | 2026-04-06 |
---
## Variables
**Geographic** — `iso3` (CIV), `year_code` (range 1970.0–2024.0), `year` (range 1970.0–2024.0).
**Temporal** — `startdate`, `enddate`.
**Outcome / Measurement** — `value` (range 7.4461–129.6105).
**Identifier / Metadata** — `area_code` (range 107.0–107.0), `area_code_m49` ('384), `item_code` (range 22024.0–22028.0), `element_code` (range 6179.0–62250.0), `esa_source` (HDX) and 1 others.
**Other** — `area` (Côte d'Ivoire), `item` (GDP Deflator, Gross Fixed Capital Formation Deflator, Value Added Deflator (Agriculture, forestry and fishery)), `element` (Value Standard Local Currency, 2015 prices, Value US$, 2015 prices), `unit` (SLC, USD), `flag` (X, E).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-faostat-food-prices-for-cote-d-ivoire")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `iso3` | object | 0.0% | CIV |
| `startdate` | datetime64[ns] | 0.0% | |
| `enddate` | datetime64[ns] | 0.0% | |
| `area_code` | int64 | 0.0% | 107.0 – 107.0 (mean 107.0) |
| `area_code_m49` | object | 0.0% | '384 |
| `area` | object | 0.0% | Côte d'Ivoire |
| `item_code` | int64 | 0.0% | 22024.0 – 22028.0 (mean 22025.7397) |
| `item` | object | 0.0% | GDP Deflator, Gross Fixed Capital Formation Deflator, Value Added Deflator (Agriculture, forestry and fishery) |
| `element_code` | int64 | 0.0% | 6179.0 – 62250.0 (mean 34214.5) |
| `element` | object | 0.0% | Value Standard Local Currency, 2015 prices, Value US$, 2015 prices |
| `year_code` | int64 | 0.0% | 1970.0 – 2024.0 (mean 1996.8767) |
| `year` | int64 | 0.0% | 1970.0 – 2024.0 (mean 1996.8767) |
| `unit` | object | 0.0% | SLC, USD |
| `value` | float64 | 0.0% | 7.4461 – 129.6105 (mean 63.4687) |
| `flag` | object | 0.0% | X, E |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-07 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `area_code` | 107.0 | 107.0 | 107.0 | 107.0 |
| `item_code` | 22024.0 | 22028.0 | 22025.7397 | 22025.0 |
| `element_code` | 6179.0 | 62250.0 | 34214.5 | 34214.5 |
| `year_code` | 1970.0 | 2024.0 | 1996.8767 | 1997.0 |
| `year` | 1970.0 | 2024.0 | 1996.8767 | 1997.0 |
| `value` | 7.4461 | 129.6105 | 63.4687 | 65.8877 |
---
## 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`. 2 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 Food and Agriculture Organization (FAO) of the United Nations 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/faostat-food-prices-for-cote-d-ivoire) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_faostat_food_prices_for_cote_d_ivoire,
title = {Côte d'Ivoire - Food Prices},
author = {Food and Agriculture Organization (FAO) of the United Nations},
year = {2026},
url = {https://data.humdata.org/dataset/faostat-food-prices-for-cote-d-ivoire},
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.*
annotations_creators:
- 无注释
language_creators:
- 公开获取
language:
- 英语
license: cc-by-4.0
multilinguality:
- 单语言
size_categories:
- n<1K
source_datasets:
- 原始数据集
task_categories:
- 表格回归
task_ids: []
tags:
- 非洲
- 人道主义
- HDX
- Electric Sheep Africa
- 粮食安全
- 指标
- 科特迪瓦(CIV)
pretty_name: "科特迪瓦——食品价格"
dataset_info:
splits:
- name: 训练集
num_examples: 350
- name: 测试集
num_examples: 87
---
# 科特迪瓦——食品价格
**发布方:** 联合国粮食及农业组织(Food and Agriculture Organization, FAO) · **数据源:** [HDX](https://data.humdata.org/dataset/faostat-food-prices-for-cote-d-ivoire) · **许可证:** `cc-by-igo` · **更新时间:** 2026-04-06
---
## 摘要
科特迪瓦食品价格数据集。
本数据集包含来自FAOSTAT[批量数据服务](https://fenixservices.fao.org/faostat/static/bulkdownloads/datasets_E.json)的数据,涵盖以下类别:消费者价格指数、平减指数、汇率、生产者价格。
数据集中的每一行均代表国家级聚合数据。时间覆盖范围由`startdate`(开始日期)、`enddate`(结束日期)列标注。地理覆盖范围:**科特迪瓦(CIV)**。
*本数据集由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适配机器学习的Parquet格式。*
---
## 数据集特征
| | |
|---|---|
| **领域** | 粮食安全与营养 |
| **观测单元** | 国家级聚合数据 |
| **总行数** | 438 |
| **列数** | 17列(6列数值型、9列分类型、2列日期时间型) |
| **训练集划分** | 350行 |
| **测试集划分** | 87行 |
| **地理覆盖范围** | 科特迪瓦(CIV) |
| **发布方** | 联合国粮食及农业组织(FAO) |
| **HDX最后更新时间** | 2026-04-06 |
---
## 变量
**地理类变量** — `iso3`(固定为CIV)、`year_code`(取值范围1970.0–2024.0)、`year`(取值范围1970.0–2024.0)。
**时间类变量** — `startdate`、`enddate`。
**结果/测量变量** — `value`(取值范围7.4461–129.6105)。
**标识符/元数据变量** — `area_code`(取值范围107.0–107.0)、`area_code_m49`(编码为'384)、`item_code`(取值范围22024.0–22028.0)、`element_code`(取值范围6179.0–62250.0)、`esa_source`(数据源为HDX)及其他1个字段。
**其他变量** — `area`(科特迪瓦)、`item`(GDP平减指数、固定资本形成总额平减指数、农业、林业和渔业增加值平减指数)、`element`(以标准本币计价的价值、2015年不变价、以美元计价的价值、2015年不变价)、`unit`(计价单位:SLC、USD)、`flag`(标记:X、E)。
---
## 快速上手
python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-faostat-food-prices-for-cote-d-ivoire")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
---
## 数据结构
| 列名 | 数据类型 | 空值占比 | 取值范围/示例值 |
|---|---|---|---|
| `iso3` | object | 0.0% | 固定为CIV |
| `startdate` | datetime64[ns] | 0.0% | 无 |
| `enddate` | datetime64[ns] | 0.0% | 无 |
| `area_code` | int64 | 0.0% | 107.0 – 107.0(均值为107.0) |
| `area_code_m49` | object | 0.0% | 固定为'384 |
| `area` | object | 0.0% | 科特迪瓦 |
| `item_code` | int64 | 0.0% | 22024.0 – 22028.0(均值为22025.7397) |
| `item` | object | 0.0% | GDP平减指数、固定资本形成总额平减指数、农业、林业和渔业增加值平减指数 |
| `element_code` | int64 | 0.0% | 6179.0 – 62250.0(均值为34214.5) |
| `element` | object | 0.0% | 以标准本币计价的价值、2015年不变价、以美元计价的价值、2015年不变价 |
| `year_code` | int64 | 0.0% | 1970.0 – 2024.0(均值为1996.8767) |
| `year` | int64 | 0.0% | 1970.0 – 2024.0(均值为1996.8767) |
| `unit` | object | 0.0% | 计价单位:SLC、USD |
| `value` | float64 | 0.0% | 7.4461 – 129.6105(均值为63.4687) |
| `flag` | object | 0.0% | 标记:X、E |
| `esa_source` | object | 0.0% | 数据源为HDX |
| `esa_processed` | object | 0.0% | 处理时间:2026-04-07 |
---
## 数值统计摘要
| 列名 | 最小值 | 最大值 | 均值 | 中位数 |
|---|---|---|---|---|
| `area_code` | 107.0 | 107.0 | 107.0 | 107.0 |
| `item_code` | 22024.0 | 22028.0 | 22025.7397 | 22025.0 |
| `element_code` | 6179.0 | 62250.0 | 34214.5 | 34214.5 |
| `year_code` | 1970.0 | 2024.0 | 1996.8767 | 1997.0 |
| `year` | 1970.0 | 2024.0 | 1996.8767 | 1997.0 |
| `value` | 7.4461 | 129.6105 | 63.4687 | 65.8877 |
---
## 数据整理流程
原始数据通过CKAN API从HDX下载,并转换为Parquet格式。列名统一转换为小写并标准化为蛇形命名法(snake_case)。将常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)统一替换为`NaN`。根据解析成功率(阈值>85%),将2列从字符串类型转换为数值型或日期时间型。本数据集使用固定随机种子(42)以80/20的比例划分为训练集和测试集,并保存为Snappy压缩的Parquet格式。
---
## 数据集局限性
- 数据源自联合国粮食及农业组织(FAO),Electric Sheep Africa未对其进行独立验证。
- 自动化清洗流程无法修正原始数据收集阶段的错报值、定义不一致或采样偏差问题。
- 请参阅[HDX原始数据集页面](https://data.humdata.org/dataset/faostat-food-prices-for-cote-d-ivoire)获取发布方提供的官方方法说明与注意事项。
---
## 引用
bibtex
@dataset{hdx_africa_faostat_food_prices_for_cote_d_ivoire,
title = {Côte d'Ivoire - Food Prices},
author = {Food and Agriculture Organization (FAO) of the United Nations},
year = {2026},
url = {https://data.humdata.org/dataset/faostat-food-prices-for-cote-d-ivoire},
note = {由Electric Sheep Africa重新打包为机器学习可用格式}
}
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica



