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 of series to return. The five
traditional series are the default: |
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 reads only the projection sheets.
In the classic format (up to February 2026) each row of a projection
sheet is one MPR publication and the columns are forecast quarters,
so the function returns one row per publication and horizon with a
single central projection (scenario is NA). In the scenario-based
format (April 2026) each sheet holds one series with the quarters
down the rows and one column per scenario, so the function returns
the full quarterly path (history and projection) for every scenario,
tagged in the scenario column. Hybrid releases (July 2026 onward)
carry both: central projections for all publications (scenario is
NA) plus the current report's scenario paths (labelled, e.g.
"Adverse Scenario"), in one output.
A boe_tbl data frame with columns:
Date. Publication date of the MPR release.
Character. Quarter label (e.g. "2026 Q1").
Date. Start of the quarter.
Character. Series identifier (e.g. "cpi_inflation").
Character. Scenario or vintage label in the
scenario-based format (e.g. "April 2026 Scenario A"); NA in
the classic format, which carries a single central projection.
Numeric. Forecast value (percent for rates and
growth; index for gdp_level).
Following the Bernanke review of forecasting, the Bank replaced the single central projection of the classic "Projections Databank" with a scenario-based "Scenario Projections Databank" in the April 2026 report, then merged the two from the July 2026 report into one hybrid workbook holding both the classic central-projection sheets (GDP level and Bank Rate restored) and a "Quarterly scenarios" section. All three layouts are parsed and share the same output columns; the format is detected automatically from the release. The April 2026 release alone lacks a GDP level and Bank Rate sheet (Bank Rate was published as a conditioning assumption), so those two series are skipped with a warning for that release. Pre-2020 MPRs that predate the single databank workbook may 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. In the scenario-based format
# this returns one path per scenario (see the `scenario` column).
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.