five

electricsheepafrica/africa-food-prices-madagascar

收藏
Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-food-prices-madagascar
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - 100K<n<1M source_datasets: - original task_categories: - tabular-regression task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - energy - food-security - mdg pretty_name: "Madagascar - Real Time Prices" dataset_info: splits: - name: train num_examples: 86860 - name: test num_examples: 21715 --- # Madagascar - Real Time Prices **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/madagascar-real-time-prices) · **License:** `cc-by` · **Updated:** 2026-04-16 --- ## 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: **MDG**. *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)** | 108,575 | | **Columns** | 45 (32 numeric, 10 categorical, 3 datetime) | | **Train split** | 86,860 rows | | **Test split** | 21,715 rows | | **Geographic scope** | MDG | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-04-16 | --- ## Variables **Geographic** — `iso3` (MDG), `country` (Madagascar), `lat` (range -25.54–-12.28), `lon` (range 43.31–50.17), `year` (range 2007.0–2026.0) and 13 others. **Temporal** — `dates`, `month` (range 1.0–12.0). **Demographic** — `data_coverage` (range 3.08–3.08), `data_coverage_recent` (range 5.73–5.73). **Identifier / Metadata** — `adm1_name` (Atsimo Andrefana, Vatovavy Fitovinany, Atsimo Atsinanana), `adm2_name` (Betioky Atsimo, Manakara Atsimo, Farafangana), `mkt_name` (Alakamisy, Manambondro, Manjakandriana), `geo_id` (gid_-198000000470200000, gid_-237900000475500000, gid_-189200000478100000), `esa_source` (HDX) and 1 others. **Other** — `components` (rice (1 KG, Index Weight = 1), sugar (1 KG, Index Weight = 1), wheat_flour (1 KG, Index Weight = 1)), `start_dense_data`, `o_rice` (range 700.33–5356.08), `h_rice` (range 782.82–5627.2), `l_rice` (range 645.24–4745.41) and 12 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-food-prices-madagascar") 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% | MDG | | `country` | object | 0.0% | Madagascar | | `adm1_name` | object | 0.0% | Atsimo Andrefana, Vatovavy Fitovinany, Atsimo Atsinanana | | `adm2_name` | object | 0.0% | Betioky Atsimo, Manakara Atsimo, Farafangana | | `mkt_name` | object | 0.0% | Alakamisy, Manambondro, Manjakandriana | | `lat` | float64 | 0.2% | -25.54 – -12.28 (mean -22.5492) | | `lon` | float64 | 0.2% | 43.31 – 50.17 (mean 46.3983) | | `geo_id` | object | 0.0% | gid_-198000000470200000, gid_-237900000475500000, gid_-189200000478100000 | | `dates` | datetime64[ns] | 0.0% | | | `year` | int64 | 0.0% | 2007.0 – 2026.0 (mean 2016.1724) | | `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.4311) | | `currency` | object | 0.0% | MGA | | `components` | object | 0.0% | rice (1 KG, Index Weight = 1), sugar (1 KG, Index Weight = 1), wheat_flour (1 KG, Index Weight = 1) | | `start_dense_data` | datetime64[ns] | 0.0% | | | `last_survey_point` | datetime64[ns] | 0.0% | | | `data_coverage` | float64 | 0.0% | 3.08 – 3.08 (mean 3.08) | | `data_coverage_recent` | float64 | 0.0% | 5.73 – 5.73 (mean 5.73) | | `index_confidence_score` | float64 | 0.0% | 0.84 – 0.84 (mean 0.84) | | `spatially_interpolated` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) | | `o_rice` | float64 | 17.2% | 700.33 – 5356.08 (mean 1972.5177) | | `h_rice` | float64 | 17.2% | 782.82 – 5627.2 (mean 2038.7448) | | `l_rice` | float64 | 17.2% | 645.24 – 4745.41 (mean 1906.3455) | | `c_rice` | float64 | 17.2% | 690.66 – 5270.02 (mean 1971.6805) | | `inflation_rice` | float64 | 22.4% | -38.3 – 103.14 (mean 6.9522) | | `trust_rice` | float64 | 17.2% | 9.1 – 9.8 (mean 9.1126) | | `o_sugar` | float64 | 17.2% | 1995.19 – 4301.52 (mean 2776.5831) | | `h_sugar` | float64 | 17.2% | 2056.38 – 4409.44 (mean 2813.9622) | | `l_sugar` | float64 | 17.2% | 1904.12 – 4194.44 (mean 2738.6215) | | `c_sugar` | float64 | 17.2% | 2000.0 – 4258.05 (mean 2775.7405) | | `inflation_sugar` | float64 | 22.4% | -51.56 – 75.84 (mean -0.3301) | | `trust_sugar` | float64 | 17.2% | 7.9 – 10.0 (mean 8.0251) | | `o_wheat_flour` | float64 | 17.2% | | | `h_wheat_flour` | float64 | 17.2% | | | `l_wheat_flour` | float64 | 17.2% | | | `c_wheat_flour` | float64 | 17.2% | | | `inflation_wheat_flour` | float64 | 22.4% | | | `trust_wheat_flour` | float64 | 17.2% | | | `o_food_price_index` | float64 | 17.2% | | | `h_food_price_index` | float64 | 17.2% | | | `l_food_price_index` | float64 | 17.2% | | | `c_food_price_index` | float64 | 17.2% | | | `inflation_food_price_index` | float64 | 22.4% | | | `trust_food_price_index` | float64 | 17.2% | | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-27 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `lat` | -25.54 | -12.28 | -22.5492 | -22.88 | | `lon` | 43.31 | 50.17 | 46.3983 | 46.77 | | `year` | 2007.0 | 2026.0 | 2016.1724 | 2016.0 | | `month` | 1.0 | 12.0 | 6.4311 | 6.0 | | `data_coverage` | 3.08 | 3.08 | 3.08 | 3.08 | | `data_coverage_recent` | 5.73 | 5.73 | 5.73 | 5.73 | | `index_confidence_score` | 0.84 | 0.84 | 0.84 | 0.84 | | `spatially_interpolated` | 0.0 | 0.0 | 0.0 | 0.0 | | `o_rice` | 700.33 | 5356.08 | 1972.5177 | 1803.11 | | `h_rice` | 782.82 | 5627.2 | 2038.7448 | 1868.05 | | `l_rice` | 645.24 | 4745.41 | 1906.3455 | 1745.58 | | `c_rice` | 690.66 | 5270.02 | 1971.6805 | 1806.04 | | `inflation_rice` | -38.3 | 103.14 | 6.9522 | 7.36 | | `trust_rice` | 9.1 | 9.8 | 9.1126 | 9.1 | | `o_sugar` | 1995.19 | 4301.52 | 2776.5831 | 2778.36 | --- ## 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`. 766 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: `inflation_rice`, `inflation_sugar`, `inflation_wheat_flour`, `inflation_food_price_index`. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/madagascar-real-time-prices) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_food_prices_madagascar, title = {Madagascar - Real Time Prices}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/madagascar-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 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作