View source: R/boe_mpr_forecasts.R
| boe_mpr_forecasts | R Documentation |
Downloads the Bank of England's Monetary Policy Report (MPR) and parses headline projections from the Projections Databank workbook. Returns a long-format data frame where each row is one (publication date, forecast horizon, series) triple.
boe_mpr_forecasts(
series = c("cpi_inflation", "gdp_growth", "gdp_level", "unemployment", "bank_rate"),
month = NULL,
year = NULL,
cache = TRUE
)
series |
Character vector. One or more of:
|
month |
Character. Publication month of the report, e.g.
|
year |
Integer. MPR year, 2019 or later. Supply with |
cache |
Logical. Use cached download if available (default
|
Coverage runs quarterly from November 2019 (when the report was renamed from Inflation Report) to the latest published release.
Requires the readxl package. The MPR is published as a zip archive containing a Projections Databank workbook plus chart data and slides; this function only reads the projection sheets.
Each row of a projection sheet is one MPR publication; columns are forecast quarters. The same publication therefore contributes multiple rows here, one per forecast horizon.
A boe_tbl data frame with columns:
Date. Publication date of the MPR (start of quarter the report covers).
Character. Forecast horizon label (e.g. "2026 Q1").
Date. Start of the forecast quarter.
Character. Series identifier (e.g. "cpi_inflation").
Numeric. Forecast value (percent for rates and
growth; index for gdp_level).
From the April 2026 report the Bank moved to a scenario-based
"Scenario Projections Databank" with a transposed layout (following
the Bernanke review of forecasting). That format is not parsed by
this function yet. When automatic selection encounters such a
release it skips it, falls back to the most recent compatible release
(the classic "Projections Databank" workbook), and warns. Requesting
a scenario-format release explicitly via month/year raises a
clear error. Pre-2020 MPRs that predate the single "Projections
Databank" workbook may also error.
https://www.bankofengland.co.uk/monetary-policy
boe_mpc_decisions(), boe_mpc_votes()
Other monetary policy:
boe_mpc_decisions(),
boe_mpc_votes()
if (requireNamespace("readxl", quietly = TRUE)) {
op <- options(boe.cache_dir = tempdir())
# Latest CPI inflation projections
cpi <- boe_mpr_forecasts(series = "cpi_inflation")
head(cpi)
options(op)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.