Skip to contents

Fetch data from the Bank of England (BoE) Interactive Statistical Database

Usage

boe_data(id, start_date = NULL, end_date = Sys.Date())

Arguments

id

a vector of BoE series codes

start_date

(Date(1) | character(1))

end_date

(Date(1) | character(1))

Examples

# \donttest{
boe_data(c("LPMVWYR", "LPMVWYR"), "2012-01-01")
#>            date LPMVWYR LPMVWYR
#>          <Date>   <int>   <int>
#>   1: 2012-01-31   55012   55012
#>   2: 2012-02-29   55274   55274
#>   3: 2012-03-31   55167   55167
#>   4: 2012-04-30   55279   55279
#>   5: 2012-05-31   55568   55568
#>  ---                           
#> 156: 2024-12-31   90155   90155
#> 157: 2025-01-31   89193   89193
#> 158: 2025-02-28   89688   89688
#> 159: 2025-03-31   91879   91879
#> 160: 2025-04-30   92512   92512
# }