View source: R/boe_mortgage_rates.R
| boe_mortgage_rates | R Documentation |
Downloads monthly quoted (advertised) mortgage rates from the Bank of England, including fixed-rate products and the standard variable rate (SVR). Available from January 1995.
boe_mortgage_rates(
type = c("2yr_fixed", "3yr_fixed", "5yr_fixed", "svr"),
from = "1995-01-01",
to = Sys.Date(),
cache = TRUE
)
type |
Character vector. One or more of |
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 |
A data frame with columns:
Date. End of month.
Character. Mortgage product type.
Numeric. Quoted rate (percent).
https://www.bankofengland.co.uk/boeapps/database/
# All mortgage rate types since 2015
boe_mortgage_rates(from = "2015-01-01")
# 2-year fixed only
boe_mortgage_rates(type = "2yr_fixed", from = "2020-01-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.