five

electricsheepafrica/africa-nigeria-real-time-prices

收藏
Hugging Face2026-04-06 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-nigeria-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 - nga pretty_name: "Nigeria - Real Time Prices" dataset_info: splits: - name: train num_examples: 13674 - name: test num_examples: 3418 --- # Nigeria - Real Time Prices **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/nigeria-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: **NGA**. *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** | 63 (50 numeric, 10 categorical, 3 datetime) | | **Train split** | 13,674 rows | | **Test split** | 3,418 rows | | **Geographic scope** | NGA | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-04-01 | --- ## Variables **Geographic** — `iso3` (NGA), `country` (Nigeria), `lat` (range 4.9057–13.64), `lon` (range 3.3947–14.49), `year` (range 2007.0–2026.0) and 21 others. **Temporal** — `dates`, `month` (range 1.0–12.0). **Demographic** — `data_coverage` (range 13.47–13.47), `data_coverage_recent` (range 17.2–17.2). **Identifier / Metadata** — `adm1_name` (Borno, Yobe, Adamawa), `adm2_name` (Maiduguri, Konduga, Damaturu), `mkt_name` (Aba, Nangere, Mubi), `geo_id` (gid_5150000073600000, gid_118600000110700000, gid_102700000132600000), `esa_source` (HDX) and 1 others. **Other** — `components` (gari_fao (1 Kg, Index Weight = 1), maize_fao (1 Kg, Index Weight = 1), millet (2.6 KG, Index Weight = 0.38), rice_fao (1 Kg, Index Weight = 1), sorghum_fao (1 Kg, Index Weight = 1), yam (2.5 KG, Index Weight = 0.4)), `start_dense_data`, `o_gari_fao` (range 27.99–1636.61), `h_gari_fao` (range 31.16–1726.11), `l_gari_fao` (range 26.61–1522.38) and 22 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-nigeria-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% | NGA | | `country` | object | 0.0% | Nigeria | | `adm1_name` | object | 0.0% | Borno, Yobe, Adamawa | | `adm2_name` | object | 0.0% | Maiduguri, Konduga, Damaturu | | `mkt_name` | object | 0.0% | Aba, Nangere, Mubi | | `lat` | float64 | 1.4% | 4.9057 – 13.64 (mean 11.211) | | `lon` | float64 | 1.4% | 3.3947 – 14.49 (mean 11.09) | | `geo_id` | object | 0.0% | gid_5150000073600000, gid_118600000110700000, gid_102700000132600000 | | `dates` | datetime64[ns] | 0.0% | | | `year` | int64 | 0.0% | 2007.0 – 2026.0 (mean 2016.1301) | | `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.4415) | | `currency` | object | 0.0% | NGN | | `components` | object | 0.0% | gari_fao (1 Kg, Index Weight = 1), maize_fao (1 Kg, Index Weight = 1), millet (2.6 KG, Index Weight = 0.38), rice_fao (1 Kg, Index Weight = 1), sorghum_fao (1 Kg, Index Weight = 1), yam (2.5 KG, Index Weight = 0.4) | | `start_dense_data` | datetime64[ns] | 0.0% | | | `last_survey_point` | datetime64[ns] | 0.0% | | | `data_coverage` | float64 | 0.0% | 13.47 – 13.47 (mean 13.47) | | `data_coverage_recent` | float64 | 0.0% | 17.2 – 17.2 (mean 17.2) | | `index_confidence_score` | float64 | 0.0% | 0.95 – 0.95 (mean 0.95) | | `spatially_interpolated` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) | | `o_gari_fao` | float64 | 0.0% | 27.99 – 1636.61 (mean 258.3419) | | `h_gari_fao` | float64 | 0.0% | 31.16 – 1726.11 (mean 274.6041) | | `l_gari_fao` | float64 | 0.0% | 26.61 – 1522.38 (mean 242.4148) | | `c_gari_fao` | float64 | 0.0% | 28.24 – 1593.61 (mean 257.126) | | `inflation_gari_fao` | float64 | 5.2% | -68.18 – 326.88 (mean 28.0037) | | `trust_gari_fao` | float64 | 0.0% | 8.7 – 10.0 (mean 8.9604) | | `o_maize_fao` | float64 | 0.0% | 27.51 – 1688.46 (mean 199.1489) | | `h_maize_fao` | float64 | 0.0% | 29.84 – 1761.74 (mean 213.2122) | | `l_maize_fao` | float64 | 0.0% | 26.14 – 1539.75 (mean 185.2011) | | `c_maize_fao` | float64 | 0.0% | 28.0 – 1647.29 (mean 198.3861) | | `inflation_maize_fao` | float64 | 5.2% | -61.07 – 238.91 (mean 23.3999) | | `trust_maize_fao` | float64 | 0.0% | 9.2 – 10.0 (mean 9.3589) | | `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_rice_fao` | float64 | 0.0% | | | `h_rice_fao` | float64 | 0.0% | | | `l_rice_fao` | float64 | 0.0% | | | `c_rice_fao` | float64 | 0.0% | | | `inflation_rice_fao` | float64 | 5.2% | | | `trust_rice_fao` | 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_yam` | float64 | 0.0% | | | `h_yam` | float64 | 0.0% | | | `l_yam` | float64 | 0.0% | | | `c_yam` | float64 | 0.0% | | | `inflation_yam` | float64 | 5.2% | | | `trust_yam` | 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` | 4.9057 | 13.64 | 11.211 | 11.83 | | `lon` | 3.3947 | 14.49 | 11.09 | 11.97 | | `year` | 2007.0 | 2026.0 | 2016.1301 | 2016.0 | | `month` | 1.0 | 12.0 | 6.4415 | 6.0 | | `data_coverage` | 13.47 | 13.47 | 13.47 | 13.47 | | `data_coverage_recent` | 17.2 | 17.2 | 17.2 | 17.2 | | `index_confidence_score` | 0.95 | 0.95 | 0.95 | 0.95 | | `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 | | `o_gari_fao` | 27.99 | 1636.61 | 258.3419 | 158.55 | | `h_gari_fao` | 31.16 | 1726.11 | 274.6041 | 168.8 | | `l_gari_fao` | 26.61 | 1522.38 | 242.4148 | 149.19 | | `c_gari_fao` | 28.24 | 1593.61 | 257.126 | 158.77 | | `inflation_gari_fao` | -68.18 | 326.88 | 28.0037 | 14.24 | | `trust_gari_fao` | 8.7 | 10.0 | 8.9604 | 8.7 | | `o_maize_fao` | 27.51 | 1688.46 | 199.1489 | 100.44 | --- ## 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`. 797 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. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/nigeria-real-time-prices) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_nigeria_real_time_prices, title = {Nigeria - Real Time Prices}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/nigeria-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
二维码
社区交流群
二维码
科研交流群
商业服务