electricsheepafrica/africa-uganda-real-time-prices
收藏Hugging Face2026-04-05 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-uganda-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
- uga
pretty_name: "Uganda - Real Time Prices"
dataset_info:
splits:
- name: train
num_examples: 8131
- name: test
num_examples: 2032
---
# Uganda - Real Time Prices
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/uganda-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: **UGA**.
*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)** | 10,164 |
| **Columns** | 89 (76 numeric, 10 categorical, 3 datetime) |
| **Train split** | 8,131 rows |
| **Test split** | 2,032 rows |
| **Geographic scope** | UGA |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-04-01 |
---
## Variables
**Geographic** — `iso3` (UGA), `country` (Uganda), `lat` (range -1.25–3.57), `lon` (range 29.99–34.83), `year` (range 2007.0–2026.0) and 20 others.
**Temporal** — `dates`, `month` (range 1.0–12.0).
**Demographic** — `data_coverage` (range 17.36–17.36), `data_coverage_recent` (range 32.95–32.95).
**Identifier / Metadata** — `adm1_name` (Arua, Hoima, Nakapiripirit), `adm2_name` (Dodoth, Terego, Bukanga), `mkt_name` (Adjumani (refugee settlement), Arua, Masaka), `geo_id` (gid_33400000317800000, gid_30200000309100000, gid_-3500000317400000), `esa_source` (HDX) and 1 others.
**Other** — `components` (beans (1 KG, Index Weight = 1), cassava_flour (1 KG, Index Weight = 0.5), cassava_flour_fao (1 Kg, Index Weight = 0.5), maize (1 KG, Index Weight = 1), maize_flour (1 KG, Index Weight = 1), millet (1 KG, Index Weight = 0.5), millet_fao (1 Kg, Index Weight = 0.5), oil (1 L, Index Weight = 1), sorghum (1 KG, Index Weight = 0.5), sorghum_fao (1 Kg, Index Weight = 0.5)), `start_dense_data`, `beans` (range 143.82–6678.0), `maize_flour` (range 600.0–4625.0), `o_beans` (range 824.61–6652.06) and 49 others.
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-uganda-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% | UGA |
| `country` | object | 0.0% | Uganda |
| `adm1_name` | object | 0.0% | Arua, Hoima, Nakapiripirit |
| `adm2_name` | object | 0.0% | Dodoth, Terego, Bukanga |
| `mkt_name` | object | 0.0% | Adjumani (refugee settlement), Arua, Masaka |
| `lat` | float64 | 2.3% | -1.25 – 3.57 (mean 1.5444) |
| `lon` | float64 | 2.3% | 29.99 – 34.83 (mean 32.4309) |
| `geo_id` | object | 0.0% | gid_33400000317800000, gid_30200000309100000, gid_-3500000317400000 |
| `dates` | datetime64[ns] | 0.0% | |
| `year` | int64 | 0.0% | 2007.0 – 2026.0 (mean 2016.1299) |
| `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.4416) |
| `currency` | object | 0.0% | UGX |
| `components` | object | 0.0% | beans (1 KG, Index Weight = 1), cassava_flour (1 KG, Index Weight = 0.5), cassava_flour_fao (1 Kg, Index Weight = 0.5), maize (1 KG, Index Weight = 1), maize_flour (1 KG, Index Weight = 1), millet (1 KG, Index Weight = 0.5), millet_fao (1 Kg, Index Weight = 0.5), oil (1 L, 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% | 17.36 – 17.36 (mean 17.36) |
| `data_coverage_recent` | float64 | 0.0% | 32.95 – 32.95 (mean 32.95) |
| `index_confidence_score` | float64 | 0.0% | 0.92 – 0.92 (mean 0.92) |
| `spatially_interpolated` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
| `beans` | float64 | 78.6% | 143.82 – 6678.0 (mean 3199.9037) |
| `maize_flour` | float64 | 78.9% | 600.0 – 4625.0 (mean 2363.3877) |
| `o_beans` | float64 | 0.0% | 824.61 – 6652.06 (mean 2533.2348) |
| `h_beans` | float64 | 0.0% | 851.86 – 7108.98 (mean 2701.5267) |
| `l_beans` | float64 | 0.0% | 734.71 – 6197.57 (mean 2370.2096) |
| `c_beans` | float64 | 0.0% | 734.71 – 6590.85 (mean 2532.8432) |
| `inflation_beans` | float64 | 5.2% | -64.88 – 216.18 (mean 8.4331) |
| `trust_beans` | float64 | 0.0% | 7.9 – 10.0 (mean 8.4282) |
| `o_cassava_flour` | float64 | 0.0% | 271.28 – 5619.97 (mean 1513.5723) |
| `h_cassava_flour` | float64 | 0.0% | 318.0 – 6279.71 (mean 1628.1869) |
| `l_cassava_flour` | float64 | 0.0% | 236.43 – 4960.23 (mean 1401.5815) |
| `c_cassava_flour` | float64 | 0.0% | 267.49 – 5718.39 (mean 1513.288) |
| `inflation_cassava_flour` | float64 | 5.2% | |
| `trust_cassava_flour` | float64 | 0.0% | |
| `o_cassava_flour_fao` | float64 | 0.0% | |
| `h_cassava_flour_fao` | float64 | 0.0% | |
| `l_cassava_flour_fao` | float64 | 0.0% | |
| `c_cassava_flour_fao` | float64 | 0.0% | |
| `inflation_cassava_flour_fao` | float64 | 5.2% | |
| `trust_cassava_flour_fao` | float64 | 0.0% | |
| `o_maize` | float64 | 0.0% | |
| `h_maize` | float64 | 0.0% | |
| `l_maize` | float64 | 0.0% | |
| `c_maize` | float64 | 0.0% | |
| `inflation_maize` | float64 | 5.2% | |
| `trust_maize` | float64 | 0.0% | |
| `o_maize_flour` | float64 | 0.0% | |
| `h_maize_flour` | float64 | 0.0% | |
| `l_maize_flour` | float64 | 0.0% | |
| `c_maize_flour` | float64 | 0.0% | |
| `inflation_maize_flour` | float64 | 5.2% | |
| `trust_maize_flour` | 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_oil` | float64 | 0.0% | |
| `h_oil` | float64 | 0.0% | |
| `l_oil` | float64 | 0.0% | |
| `c_oil` | float64 | 0.0% | |
| `inflation_oil` | float64 | 5.2% | |
| `trust_oil` | 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-05 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `lat` | -1.25 | 3.57 | 1.5444 | 1.54 |
| `lon` | 29.99 | 34.83 | 32.4309 | 32.31 |
| `year` | 2007.0 | 2026.0 | 2016.1299 | 2016.0 |
| `month` | 1.0 | 12.0 | 6.4416 | 6.0 |
| `data_coverage` | 17.36 | 17.36 | 17.36 | 17.36 |
| `data_coverage_recent` | 32.95 | 32.95 | 32.95 | 32.95 |
| `index_confidence_score` | 0.92 | 0.92 | 0.92 | 0.92 |
| `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 |
| `beans` | 143.82 | 6678.0 | 3199.9037 | 3200.0 |
| `maize_flour` | 600.0 | 4625.0 | 2363.3877 | 2200.0 |
| `o_beans` | 824.61 | 6652.06 | 2533.2348 | 2350.24 |
| `h_beans` | 851.86 | 7108.98 | 2701.5267 | 2527.05 |
| `l_beans` | 734.71 | 6197.57 | 2370.2096 | 2185.585 |
| `c_beans` | 734.71 | 6590.85 | 2532.8432 | 2348.9 |
| `inflation_beans` | -64.88 | 216.18 | 8.4331 | 4.875 |
---
## 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`. 771 column(s) with >80% missing values were removed: `apples`, `bananas`, `beans_egyptian`, `beans_fao`, `bread`, `bread_fao`.... 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: `beans`, `maize_flour`.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/uganda-real-time-prices) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_uganda_real_time_prices,
title = {Uganda - Real Time Prices},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/uganda-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



