electricsheepafrica/africa-liberia-real-time-prices
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-liberia-real-time-prices
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
source_datasets:
- original
task_categories:
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- energy
- food-security
- lbr
pretty_name: "Liberia - Real Time Prices"
dataset_info:
splits:
- name: train
num_examples: 4989
- name: test
num_examples: 1247
---
# Liberia - Real Time Prices
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/liberia-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: **LBR**.
*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)** | 6,237 |
| **Columns** | 41 (28 numeric, 10 categorical, 3 datetime) |
| **Train split** | 4,989 rows |
| **Test split** | 1,247 rows |
| **Geographic scope** | LBR |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-04-01 |
---
## Variables
**Geographic** — `iso3` (LBR), `country` (Liberia), `lat` (range 4.38–8.42), `lon` (range -11.37–-7.63), `year` (range 2007.0–2026.0) and 12 others.
**Temporal** — `dates`, `month` (range 1.0–12.0).
**Demographic** — `data_coverage` (range 31.26–31.26), `data_coverage_recent` (range 26.44–26.44).
**Identifier / Metadata** — `adm1_name` (Nimba, River Gee, Gbarpolu), `adm2_name` (Greater Monrovia, Senjeh, Zoe-Gbao), `mkt_name` (Bahn, Harper, Zwedru), `geo_id` (gid_70300000-87200000, gid_43800000-77200000, gid_60700000-81300000), `esa_source` (HDX) and 1 others.
**Other** — `components` (cowpeas (1 KG, Index Weight = 1), exchange_rate_wfp (1 USD/LCU, Index Weight = 0), fuel_diesel (1 Gallon, Index Weight = 0), fuel_petrol_gasoline (1 Gallon, Index Weight = 0), oil (1 Gallon, Index Weight = 0.26)), `start_dense_data`, `cowpeas` (range 50.0–1350.0), `oil` (range 150.0–4500.0), `o_cowpeas` (range 38.79–453.92) and 9 others.
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-liberia-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% | LBR |
| `country` | object | 0.0% | Liberia |
| `adm1_name` | object | 0.0% | Nimba, River Gee, Gbarpolu |
| `adm2_name` | object | 0.0% | Greater Monrovia, Senjeh, Zoe-Gbao |
| `mkt_name` | object | 0.0% | Bahn, Harper, Zwedru |
| `lat` | float64 | 3.7% | 4.38 – 8.42 (mean 6.3027) |
| `lon` | float64 | 3.7% | -11.37 – -7.63 (mean -9.355) |
| `geo_id` | object | 0.0% | gid_70300000-87200000, gid_43800000-77200000, gid_60700000-81300000 |
| `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% | LRD |
| `components` | object | 0.0% | cowpeas (1 KG, Index Weight = 1), exchange_rate_wfp (1 USD/LCU, Index Weight = 0), fuel_diesel (1 Gallon, Index Weight = 0), fuel_petrol_gasoline (1 Gallon, Index Weight = 0), oil (1 Gallon, Index Weight = 0.26) |
| `start_dense_data` | datetime64[ns] | 0.0% | |
| `last_survey_point` | datetime64[ns] | 0.0% | |
| `data_coverage` | float64 | 0.0% | 31.26 – 31.26 (mean 31.26) |
| `data_coverage_recent` | float64 | 0.0% | 26.44 – 26.44 (mean 26.44) |
| `index_confidence_score` | float64 | 0.0% | 0.93 – 0.93 (mean 0.93) |
| `spatially_interpolated` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
| `cowpeas` | float64 | 78.1% | 50.0 – 1350.0 (mean 169.0639) |
| `oil` | float64 | 70.8% | 150.0 – 4500.0 (mean 585.6563) |
| `o_cowpeas` | float64 | 0.0% | 38.79 – 453.92 (mean 136.0558) |
| `h_cowpeas` | float64 | 0.0% | 40.21 – 513.73 (mean 144.0174) |
| `l_cowpeas` | float64 | 0.0% | 37.64 – 361.8 (mean 128.4796) |
| `c_cowpeas` | float64 | 0.0% | 38.75 – 460.0 (mean 135.9131) |
| `inflation_cowpeas` | float64 | 5.2% | -66.99 – 316.67 (mean 12.162) |
| `trust_cowpeas` | float64 | 0.0% | 8.4 – 9.9 (mean 8.8611) |
| `o_oil` | float64 | 0.0% | 147.26 – 1704.52 (mean 549.874) |
| `h_oil` | float64 | 0.0% | 156.02 – 1863.86 (mean 583.7756) |
| `l_oil` | float64 | 0.0% | 135.59 – 1617.59 (mean 516.545) |
| `c_oil` | float64 | 0.0% | 146.46 – 1771.53 (mean 549.1774) |
| `inflation_oil` | float64 | 5.2% | |
| `trust_oil` | 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-07 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `lat` | 4.38 | 8.42 | 6.3027 | 6.465 |
| `lon` | -11.37 | -7.63 | -9.355 | -9.255 |
| `year` | 2007.0 | 2026.0 | 2016.1299 | 2016.0 |
| `month` | 1.0 | 12.0 | 6.4416 | 6.0 |
| `data_coverage` | 31.26 | 31.26 | 31.26 | 31.26 |
| `data_coverage_recent` | 26.44 | 26.44 | 26.44 | 26.44 |
| `index_confidence_score` | 0.93 | 0.93 | 0.93 | 0.93 |
| `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 |
| `cowpeas` | 50.0 | 1350.0 | 169.0639 | 125.0 |
| `oil` | 150.0 | 4500.0 | 585.6563 | 500.0 |
| `o_cowpeas` | 38.79 | 453.92 | 136.0558 | 104.08 |
| `h_cowpeas` | 40.21 | 513.73 | 144.0174 | 110.03 |
| `l_cowpeas` | 37.64 | 361.8 | 128.4796 | 99.26 |
| `c_cowpeas` | 38.75 | 460.0 | 135.9131 | 103.77 |
| `inflation_cowpeas` | -66.99 | 316.67 | 12.162 | 6.96 |
---
## 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`. 819 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: `cowpeas`, `oil`.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/liberia-real-time-prices) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_liberia_real_time_prices,
title = {Liberia - Real Time Prices},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/liberia-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



