bcrp_get_latest
Fetch recent data for up to 10 economic series from Peru's central bank (exchange rates, interest rates, GDP) and return only the last n periods for a quick snapshot of current conditions.
Instructions
Get the most recent data points for 1–10 BCRP series (same frequency).
Convenience wrapper around bcrp_get_series that fetches latest data without
specifying a date range, then returns only the last n_periods values.
Use this for quick snapshots of current economic conditions.
Example codes:
Daily rates/prices: PD04637PD, PD12301MD, PD04650MD, PD04701XD
Monthly monetary: PN00196MM, PN00496MM, PN00178MM
Quarterly growth: PN03503MQ, PN03501MQ
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | 'esp' (Spanish) or 'ing' (English) | esp |
| n_periods | No | Number of most recent periods to return (1–50). Default: 5. | |
| series_codes | Yes | List of 1–10 BCRP series codes (same frequency) |