five

electricsheepafrica/africa-kenya-real-time-prices

收藏
Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-kenya-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 - ken pretty_name: "Kenya - Real Time Prices" dataset_info: splits: - name: train num_examples: 43242 - name: test num_examples: 10810 --- # Kenya - Real Time Prices **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/kenya-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: **KEN**. *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)** | 54,053 | | **Columns** | 45 (32 numeric, 10 categorical, 3 datetime) | | **Train split** | 43,242 rows | | **Test split** | 10,810 rows | | **Geographic scope** | KEN | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-04-01 | --- ## Variables **Geographic** — `iso3` (KEN), `country` (Kenya), `lat` (range -4.66–4.62), `lon` (range 34.36–41.86), `year` (range 2007.0–2026.0) and 13 others. **Temporal** — `dates`, `month` (range 1.0–12.0). **Demographic** — `data_coverage` (range 4.11–4.11), `data_coverage_recent` (range 1.68–1.68). **Identifier / Metadata** — `adm1_name` (Rift Valley, Eastern, North Eastern), `adm2_name` (Turkana, Samburu, Garissa), `mkt_name` (Adele Center, Maralal, Lowarengak), `geo_id` (gid_-4700000396100000, gid_11000000367000000, gid_42800000358900000), `esa_source` (HDX) and 1 others. **Other** — `components` (beans_fao (1 Kg, Index Weight = 1), livestock_goat_s_fao (1 unit, Index Weight = 0), maize_fao (1 Kg, Index Weight = 1)), `start_dense_data`, `o_beans_fao` (range 28.89–225.26), `h_beans_fao` (range 31.11–233.0), `l_beans_fao` (range 27.83–217.44) and 12 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-kenya-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% | KEN | | `country` | object | 0.0% | Kenya | | `adm1_name` | object | 0.0% | Rift Valley, Eastern, North Eastern | | `adm2_name` | object | 0.0% | Turkana, Samburu, Garissa | | `mkt_name` | object | 0.0% | Adele Center, Maralal, Lowarengak | | `lat` | float64 | 0.4% | -4.66 – 4.62 (mean 0.9396) | | `lon` | float64 | 0.4% | 34.36 – 41.86 (mean 37.6937) | | `geo_id` | object | 0.0% | gid_-4700000396100000, gid_11000000367000000, gid_42800000358900000 | | `dates` | datetime64[ns] | 0.0% | | | `year` | int64 | 0.0% | 2007.0 – 2026.0 (mean 2016.1298) | | `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.4415) | | `currency` | object | 0.0% | KES | | `components` | object | 0.0% | beans_fao (1 Kg, Index Weight = 1), livestock_goat_s_fao (1 unit, Index Weight = 0), maize_fao (1 Kg, Index Weight = 1) | | `start_dense_data` | datetime64[ns] | 0.0% | | | `last_survey_point` | datetime64[ns] | 0.0% | | | `data_coverage` | float64 | 0.0% | 4.11 – 4.11 (mean 4.11) | | `data_coverage_recent` | float64 | 0.0% | 1.68 – 1.68 (mean 1.68) | | `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) | | `o_beans_fao` | float64 | 0.0% | 28.89 – 225.26 (mean 101.0217) | | `h_beans_fao` | float64 | 0.0% | 31.11 – 233.0 (mean 104.8793) | | `l_beans_fao` | float64 | 0.0% | 27.83 – 217.44 (mean 97.226) | | `c_beans_fao` | float64 | 0.0% | 29.11 – 221.17 (mean 101.0578) | | `inflation_beans_fao` | float64 | 5.2% | -59.18 – 152.03 (mean 9.2603) | | `trust_beans_fao` | float64 | 0.0% | 9.5 – 10.0 (mean 9.5387) | | `o_livestock_goat_s_fao` | float64 | 0.0% | 406.7 – 8857.92 (mean 2927.1929) | | `h_livestock_goat_s_fao` | float64 | 0.0% | 436.8 – 9373.12 (mean 3082.0651) | | `l_livestock_goat_s_fao` | float64 | 0.0% | 367.29 – 8076.51 (mean 2774.189) | | `c_livestock_goat_s_fao` | float64 | 0.0% | 413.99 – 8589.2 (mean 2928.0414) | | `inflation_livestock_goat_s_fao` | float64 | 5.2% | -53.49 – 341.56 (mean 11.584) | | `trust_livestock_goat_s_fao` | float64 | 0.0% | 9.2 – 10.0 (mean 9.2521) | | `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_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.66 | 4.62 | 0.9396 | 0.99 | | `lon` | 34.36 | 41.86 | 37.6937 | 37.62 | | `year` | 2007.0 | 2026.0 | 2016.1298 | 2016.0 | | `month` | 1.0 | 12.0 | 6.4415 | 6.0 | | `data_coverage` | 4.11 | 4.11 | 4.11 | 4.11 | | `data_coverage_recent` | 1.68 | 1.68 | 1.68 | 1.68 | | `index_confidence_score` | 0.97 | 0.97 | 0.97 | 0.97 | | `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 | | `o_beans_fao` | 28.89 | 225.26 | 101.0217 | 94.71 | | `h_beans_fao` | 31.11 | 233.0 | 104.8793 | 98.44 | | `l_beans_fao` | 27.83 | 217.44 | 97.226 | 91.14 | | `c_beans_fao` | 29.11 | 221.17 | 101.0578 | 94.59 | | `inflation_beans_fao` | -59.18 | 152.03 | 9.2603 | 2.81 | | `trust_beans_fao` | 9.5 | 10.0 | 9.5387 | 9.5 | | `o_livestock_goat_s_fao` | 406.7 | 8857.92 | 2927.1929 | 2870.37 | --- ## 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`. 815 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/kenya-real-time-prices) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_kenya_real_time_prices, title = {Kenya - Real Time Prices}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/kenya-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
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作