electricsheepafrica/africa-chad-real-time-prices
收藏Hugging Face2026-04-06 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-chad-real-time-prices
下载链接
链接失效反馈官方服务:
资源简介:
---
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
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- energy
- food-security
- tcd
pretty_name: "Chad - Real Time Prices"
dataset_info:
splits:
- name: train
num_examples: 13674
- name: test
num_examples: 3418
---
# Chad - Real Time Prices
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/chad-real-time-prices) · **License:** `cc-by` · **Updated:** 2026-04-01
---
## Abstract
Real Time Prices (RTP) is a live dataset compiled and updated weekly by the World Bank Development Economics Data Group (DECDG) using a combination of direct price measurement and Machine Learning estimation of missing price data. The historical and current estimates are based on price information gathered from the World Food Program (WFP), UN-Food and Agricultural Organization (FAO), select National Statistical Offices, and are continually updated and revised as more price information becomes available. Real-time exchange rate data used in this process are from official and public sources.
RTP includes three sub-series, Real Time Food Prices (RTFP) includes prices on a variety of food items that primarily include country-specific staple foods, Real Time Energy Prices (RTEP) includes fuel prices, and Real Time Exchange Rates (RTFX) and includes unofficial exchange rate estimates as well as possible other unofficial deflators.
Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `dates`, `start_dense_data` column(s). Geographic scope: **TCD**.
*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)** | 17,093 |
| **Columns** | 77 (64 numeric, 10 categorical, 3 datetime) |
| **Train split** | 13,674 rows |
| **Test split** | 3,418 rows |
| **Geographic scope** | TCD |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-04-01 |
---
## Variables
**Geographic** — `iso3` (TCD), `country` (Chad), `lat` (range 7.74–21.35), `lon` (range 14.22–22.83), `year` (range 2007.0–2026.0) and 18 others.
**Temporal** — `dates`, `month` (range 1.0–12.0).
**Demographic** — `data_coverage` (range 15.1–15.1), `data_coverage_recent` (range 28.25–28.25), `o_livestocksheep_castrated_male` (range 10289.0–113698.04), `h_livestocksheep_castrated_male` (range 11042.18–122907.17), `l_livestocksheep_castrated_male` (range 9535.81–102840.38) and 2 others.
**Identifier / Metadata** — `adm1_name` (Logone Oriental, Moyen Chari, Guera), `adm2_name` (Ndjamena, Grande Sido, Tibest-Ouest), `mkt_name` (Abdi, Abeche, Moissala), `geo_id` (gid_128100000213000000, gid_138200000208200000, gid_83400000177600000), `esa_source` (HDX) and 1 others.
**Other** — `components` (livestocksheep_castrated_male (1 Head, Index Weight = 0), maize (1 KG, Index Weight = 0.5), maize_fao (1 Kg, Index Weight = 0.5), millet (1 KG, Index Weight = 0.5), millet_fao (1 Kg, Index Weight = 0.5), rice (1 KG, Index Weight = 1), sorghum (1 KG, Index Weight = 0.5), sorghum_fao (1 Kg, Index Weight = 0.5)), `start_dense_data`, `millet` (range 15.0–932.0), `sorghum` (range 41.0–750.0), `o_maize` (range 88.13–857.45) and 34 others.
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-chad-real-time-prices")
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% | TCD |
| `country` | object | 0.0% | Chad |
| `adm1_name` | object | 0.0% | Logone Oriental, Moyen Chari, Guera |
| `adm2_name` | object | 0.0% | Ndjamena, Grande Sido, Tibest-Ouest |
| `mkt_name` | object | 0.0% | Abdi, Abeche, Moissala |
| `lat` | float64 | 1.4% | 7.74 – 21.35 (mean 11.7758) |
| `lon` | float64 | 1.4% | 14.22 – 22.83 (mean 17.4577) |
| `geo_id` | object | 0.0% | gid_128100000213000000, gid_138200000208200000, gid_83400000177600000 |
| `dates` | datetime64[ns] | 0.0% | |
| `year` | int64 | 0.0% | 2007.0 – 2026.0 (mean 2016.1296) |
| `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.4412) |
| `currency` | object | 0.0% | XAF |
| `components` | object | 0.0% | livestocksheep_castrated_male (1 Head, Index Weight = 0), maize (1 KG, Index Weight = 0.5), maize_fao (1 Kg, Index Weight = 0.5), millet (1 KG, Index Weight = 0.5), millet_fao (1 Kg, Index Weight = 0.5), rice (1 KG, Index Weight = 1), sorghum (1 KG, Index Weight = 0.5), sorghum_fao (1 Kg, Index Weight = 0.5) |
| `start_dense_data` | datetime64[ns] | 0.0% | |
| `last_survey_point` | datetime64[ns] | 0.0% | |
| `data_coverage` | float64 | 0.0% | 15.1 – 15.1 (mean 15.1) |
| `data_coverage_recent` | float64 | 0.0% | 28.25 – 28.25 (mean 28.25) |
| `index_confidence_score` | float64 | 0.0% | 0.97 – 0.97 (mean 0.97) |
| `spatially_interpolated` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
| `millet` | float64 | 77.8% | 15.0 – 932.0 (mean 254.7656) |
| `sorghum` | float64 | 79.8% | 41.0 – 750.0 (mean 189.1765) |
| `o_livestocksheep_castrated_male` | float64 | 0.0% | 10289.0 – 113698.04 (mean 24540.5443) |
| `h_livestocksheep_castrated_male` | float64 | 0.0% | 11042.18 – 122907.17 (mean 26260.1589) |
| `l_livestocksheep_castrated_male` | float64 | 0.0% | 9535.81 – 102840.38 (mean 22881.7168) |
| `c_livestocksheep_castrated_male` | float64 | 0.0% | 10156.24 – 116836.35 (mean 24616.6167) |
| `inflation_livestocksheep_castrated_male` | float64 | 5.2% | -56.87 – 176.66 (mean 3.1423) |
| `trust_livestocksheep_castrated_male` | float64 | 0.0% | 5.8 – 10.0 (mean 7.4069) |
| `o_maize` | float64 | 0.0% | 88.13 – 857.45 (mean 224.9732) |
| `h_maize` | float64 | 0.0% | 95.6 – 939.97 (mean 242.5535) |
| `l_maize` | float64 | 0.0% | 82.37 – 774.93 (mean 207.7814) |
| `c_maize` | float64 | 0.0% | 91.4 – 827.79 (mean 225.4385) |
| `inflation_maize` | float64 | 5.2% | |
| `trust_maize` | float64 | 0.0% | |
| `o_maize_fao` | float64 | 0.0% | |
| `h_maize_fao` | float64 | 0.0% | |
| `l_maize_fao` | float64 | 0.0% | |
| `c_maize_fao` | float64 | 0.0% | |
| `inflation_maize_fao` | float64 | 5.2% | |
| `trust_maize_fao` | float64 | 0.0% | |
| `o_millet` | float64 | 0.0% | |
| `h_millet` | float64 | 0.0% | |
| `l_millet` | float64 | 0.0% | |
| `c_millet` | float64 | 0.0% | |
| `inflation_millet` | float64 | 5.2% | |
| `trust_millet` | float64 | 0.0% | |
| `o_millet_fao` | float64 | 0.0% | |
| `h_millet_fao` | float64 | 0.0% | |
| `l_millet_fao` | float64 | 0.0% | |
| `c_millet_fao` | float64 | 0.0% | |
| `inflation_millet_fao` | float64 | 5.2% | |
| `trust_millet_fao` | float64 | 0.0% | |
| `o_rice` | float64 | 0.0% | |
| `h_rice` | float64 | 0.0% | |
| `l_rice` | float64 | 0.0% | |
| `c_rice` | float64 | 0.0% | |
| `inflation_rice` | float64 | 5.2% | |
| `trust_rice` | float64 | 0.0% | |
| `o_sorghum` | float64 | 0.0% | |
| `h_sorghum` | float64 | 0.0% | |
| `l_sorghum` | float64 | 0.0% | |
| `c_sorghum` | float64 | 0.0% | |
| `inflation_sorghum` | float64 | 5.2% | |
| `trust_sorghum` | float64 | 0.0% | |
| `o_sorghum_fao` | float64 | 0.0% | |
| `h_sorghum_fao` | float64 | 0.0% | |
| `l_sorghum_fao` | float64 | 0.0% | |
| `c_sorghum_fao` | float64 | 0.0% | |
| `inflation_sorghum_fao` | float64 | 5.2% | |
| `trust_sorghum_fao` | float64 | 0.0% | |
| `o_food_price_index` | float64 | 0.0% | |
| `h_food_price_index` | float64 | 0.0% | |
| `l_food_price_index` | float64 | 0.0% | |
| `c_food_price_index` | float64 | 0.0% | |
| `inflation_food_price_index` | float64 | 5.2% | |
| `trust_food_price_index` | float64 | 0.0% | |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-06 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `lat` | 7.74 | 21.35 | 11.7758 | 11.79 |
| `lon` | 14.22 | 22.83 | 17.4577 | 16.86 |
| `year` | 2007.0 | 2026.0 | 2016.1296 | 2016.0 |
| `month` | 1.0 | 12.0 | 6.4412 | 6.0 |
| `data_coverage` | 15.1 | 15.1 | 15.1 | 15.1 |
| `data_coverage_recent` | 28.25 | 28.25 | 28.25 | 28.25 |
| `index_confidence_score` | 0.97 | 0.97 | 0.97 | 0.97 |
| `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 |
| `millet` | 15.0 | 932.0 | 254.7656 | 240.0 |
| `sorghum` | 41.0 | 750.0 | 189.1765 | 180.0 |
| `o_livestocksheep_castrated_male` | 10289.0 | 113698.04 | 24540.5443 | 22637.74 |
| `h_livestocksheep_castrated_male` | 11042.18 | 122907.17 | 26260.1589 | 24153.76 |
| `l_livestocksheep_castrated_male` | 9535.81 | 102840.38 | 22881.7168 | 21199.66 |
| `c_livestocksheep_castrated_male` | 10156.24 | 116836.35 | 24616.6167 | 22683.95 |
| `inflation_livestocksheep_castrated_male` | -56.87 | 176.66 | 3.1423 | 1.33 |
---
## 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`. 783 column(s) with >80% missing values were removed: `apples`, `bananas`, `beans`, `beans_egyptian`, `beans_fao`, `bread`.... 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.
---
## Limitations
- Data originates from World Bank Group and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- The following columns have >20% missing values and should be treated with caution in modelling: `millet`, `sorghum`.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/chad-real-time-prices) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_chad_real_time_prices,
title = {Chad - Real Time Prices},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/chad-real-time-prices},
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



