| boe_get | R Documentation |
The core data retrieval function. Fetches one or more series by their
BoE series codes and returns a tidy data frame. Use this when the
convenience functions (e.g. boe_bank_rate(), boe_exchange_rate())
do not cover the series you need.
boe_get(series_codes, from = "1960-01-01", to = Sys.Date(), cache = TRUE)
series_codes |
Character vector of one or more BoE series codes. |
from |
Date or character (YYYY-MM-DD). Start date. Defaults to
|
to |
Date or character (YYYY-MM-DD). End date. Defaults to today. |
cache |
Logical. Use cached data if available (default |
Series codes can be found via the Bank of England Interactive Statistical Database at https://www.bankofengland.co.uk/boeapps/database/.
A data frame with columns:
Date. Observation date.
Character. BoE series code.
Numeric. Observation value.
https://www.bankofengland.co.uk/boeapps/database/
# Bank Rate since 2000
boe_get("IUDBEDR", from = "2000-01-01")
# Multiple series
boe_get(c("IUDBEDR", "IUDSOIA"), from = "2020-01-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.