get_food_prices_latest
Latest PIHPS Nasional (Bank Indonesia) price of a staple food per province, in Rp/kg, on the newest observation day, plus PIHPS national averages. Covers the 10 groups and 21 items. Without market you get one row per province and commodity: the traditional-market (tradisional) price when it exists, otherwise the modern-market price; each row names its market and day. Traditional markets report for fewer provinces than modern ones. Pass market for one market only. Filter by commodity, province and market. With month (YYYY-MM): the monthly series price instead, for the 10 groups in traditional markets only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | Return this month instead of the newest on file, optional | |
| market | No | tradisional or modern; omit for one row per province and commodity, tradisional first then modern (with month: tradisional only) | |
| commodity | No | Commodity code from list_food_commodities (a group or an item), optional; with month, groups only | |
| province_code | No | Kemendagri province code, optional (Papua and Papua Barat only: 91, 92) |