Retrieve time series data from the BoE database.
Usage
boe_data(key, start_date, end_date = Sys.Date())Arguments
- key
(
character())
The series keys to query.- start_date
(
character(1)|Date(1))
Start date of the data.- end_date
(
character(1)|Date(1))
End date of the data. Default is today's date.
Value
A data.table::data.table() with the requested data.
See also
Other data:
banxico_data(),
bbk_data(),
bbk_series(),
bcb_data(),
bcb_expectations(),
bcb_fx_rates(),
bcb_inflation(),
bcb_selic(),
bcb_top5(),
bde_data(),
bde_latest(),
bdf_codelist(),
bdf_data(),
bdf_dataset(),
bdp_data(),
bis_data(),
boc_data(),
boi_data(),
boj_data(),
cnb_czeonia(),
cnb_data(),
cnb_fx_other_rates(),
cnb_fx_rates(),
cnb_pribor(),
ecb_data(),
nbb_data(),
nbp_fx_rates(),
nbp_gold(),
nob_data(),
onb_data(),
snb_data(),
srb_cross_rates(),
srb_data()
Examples
# \donttest{
# Bank Rate
boe_data("IUDBEDR", "2015-01-01")
#> date key value description freq instruments
#> <Date> <char> <num> <char> <char> <char>
#> 1: 2015-01-02 IUDBEDR 0.50 Official Bank Rate daily Official Bank Rate
#> 2: 2015-01-05 IUDBEDR 0.50 Official Bank Rate daily Official Bank Rate
#> 3: 2015-01-06 IUDBEDR 0.50 Official Bank Rate daily Official Bank Rate
#> 4: 2015-01-07 IUDBEDR 0.50 Official Bank Rate daily Official Bank Rate
#> 5: 2015-01-08 IUDBEDR 0.50 Official Bank Rate daily Official Bank Rate
#> ---
#> 2991: 2026-11-02 IUDBEDR 3.75 Official Bank Rate daily Official Bank Rate
#> 2992: 2026-11-03 IUDBEDR 3.75 Official Bank Rate daily Official Bank Rate
#> 2993: 2026-11-04 IUDBEDR 3.75 Official Bank Rate daily Official Bank Rate
#> 2994: 2026-11-05 IUDBEDR 4.00 Official Bank Rate daily Official Bank Rate
#> 2995: 2026-11-06 IUDBEDR 4.00 Official Bank Rate daily Official Bank Rate
# SONIA daily rate
boe_data("IUDSOIA", "2015-01-01")
#> date key value
#> <Date> <char> <num>
#> 1: 2015-01-02 IUDSOIA 0.4316
#> 2: 2015-01-05 IUDSOIA 0.4335
#> 3: 2015-01-06 IUDSOIA 0.4300
#> 4: 2015-01-07 IUDSOIA 0.4292
#> 5: 2015-01-08 IUDSOIA 0.4339
#> ---
#> 2990: 2026-10-30 IUDSOIA 3.7348
#> 2991: 2026-11-02 IUDSOIA 3.7352
#> 2992: 2026-11-03 IUDSOIA 3.7342
#> 2993: 2026-11-04 IUDSOIA 3.7335
#> 2994: 2026-11-05 IUDSOIA 3.9824
#> description freq
#> <char> <char>
#> 1: Daily Sterling overnight index average (SONIA) rate daily
#> 2: Daily Sterling overnight index average (SONIA) rate daily
#> 3: Daily Sterling overnight index average (SONIA) rate daily
#> 4: Daily Sterling overnight index average (SONIA) rate daily
#> 5: Daily Sterling overnight index average (SONIA) rate daily
#> ---
#> 2990: Daily Sterling overnight index average (SONIA) rate daily
#> 2991: Daily Sterling overnight index average (SONIA) rate daily
#> 2992: Daily Sterling overnight index average (SONIA) rate daily
#> 2993: Daily Sterling overnight index average (SONIA) rate daily
#> 2994: Daily Sterling overnight index average (SONIA) rate daily
# 10-year nominal par yield
boe_data("IUDMNPY", "2015-01-01")
#> date key value
#> <Date> <char> <num>
#> 1: 2015-01-02 IUDMNPY 1.7846
#> 2: 2015-01-05 IUDMNPY 1.7162
#> 3: 2015-01-06 IUDMNPY 1.6465
#> 4: 2015-01-07 IUDMNPY 1.6584
#> 5: 2015-01-08 IUDMNPY 1.6970
#> ---
#> 2990: 2026-10-30 IUDMNPY 5.2497
#> 2991: 2026-11-02 IUDMNPY 5.1677
#> 2992: 2026-11-03 IUDMNPY 5.2098
#> 2993: 2026-11-04 IUDMNPY 5.1364
#> 2994: 2026-11-05 IUDMNPY 5.1392
#> description
#> <char>
#> 1: Yield from British Government Securities, 10 year Nominal Par Yield
#> 2: Yield from British Government Securities, 10 year Nominal Par Yield
#> 3: Yield from British Government Securities, 10 year Nominal Par Yield
#> 4: Yield from British Government Securities, 10 year Nominal Par Yield
#> 5: Yield from British Government Securities, 10 year Nominal Par Yield
#> ---
#> 2990: Yield from British Government Securities, 10 year Nominal Par Yield
#> 2991: Yield from British Government Securities, 10 year Nominal Par Yield
#> 2992: Yield from British Government Securities, 10 year Nominal Par Yield
#> 2993: Yield from British Government Securities, 10 year Nominal Par Yield
#> 2994: Yield from British Government Securities, 10 year Nominal Par Yield
#> freq seasonal_adjustment type output_in instrument_currency
#> <char> <char> <char> <char> <char>
#> 1: daily Not seasonally adjusted Yield Percent Sterling
#> 2: daily Not seasonally adjusted Yield Percent Sterling
#> 3: daily Not seasonally adjusted Yield Percent Sterling
#> 4: daily Not seasonally adjusted Yield Percent Sterling
#> 5: daily Not seasonally adjusted Yield Percent Sterling
#> ---
#> 2990: daily Not seasonally adjusted Yield Percent Sterling
#> 2991: daily Not seasonally adjusted Yield Percent Sterling
#> 2992: daily Not seasonally adjusted Yield Percent Sterling
#> 2993: daily Not seasonally adjusted Yield Percent Sterling
#> 2994: daily Not seasonally adjusted Yield Percent Sterling
#> instruments
#> <char>
#> 1: Nominal par yield, 10 year
#> 2: Nominal par yield, 10 year
#> 3: Nominal par yield, 10 year
#> 4: Nominal par yield, 10 year
#> 5: Nominal par yield, 10 year
#> ---
#> 2990: Nominal par yield, 10 year
#> 2991: Nominal par yield, 10 year
#> 2992: Nominal par yield, 10 year
#> 2993: Nominal par yield, 10 year
#> 2994: Nominal par yield, 10 year
# multiple series
boe_data(c("IUMABEDR", "IUALBEDR"), "2015-01-01")
#> date key value description freq
#> <Date> <char> <num> <char> <char>
#> 1: 2015-01-31 IUMABEDR 0.50 Monthly average of official Bank Rate monthly
#> 2: 2015-02-28 IUMABEDR 0.50 Monthly average of official Bank Rate monthly
#> 3: 2015-03-31 IUMABEDR 0.50 Monthly average of official Bank Rate monthly
#> 4: 2015-04-30 IUMABEDR 0.50 Monthly average of official Bank Rate monthly
#> 5: 2015-05-31 IUMABEDR 0.50 Monthly average of official Bank Rate monthly
#> ---
#> 149: 2021-12-31 IUALBEDR 0.25 End year official Bank Rate annual
#> 150: 2022-12-31 IUALBEDR 3.50 End year official Bank Rate annual
#> 151: 2023-12-31 IUALBEDR 5.25 End year official Bank Rate annual
#> 152: 2024-12-31 IUALBEDR 4.75 End year official Bank Rate annual
#> 153: 2025-12-31 IUALBEDR 3.75 End year official Bank Rate annual
#> seasonal_adjustment type output_in instrument_currency
#> <char> <char> <char> <char>
#> 1: Not seasonally adjusted Interest rate Percent Sterling
#> 2: Not seasonally adjusted Interest rate Percent Sterling
#> 3: Not seasonally adjusted Interest rate Percent Sterling
#> 4: Not seasonally adjusted Interest rate Percent Sterling
#> 5: Not seasonally adjusted Interest rate Percent Sterling
#> ---
#> 149: <NA> Interest rate Percent Sterling
#> 150: <NA> Interest rate Percent Sterling
#> 151: <NA> Interest rate Percent Sterling
#> 152: <NA> Interest rate Percent Sterling
#> 153: <NA> Interest rate Percent Sterling
#> instruments
#> <char>
#> 1: Official Bank Rate
#> 2: Official Bank Rate
#> 3: Official Bank Rate
#> 4: Official Bank Rate
#> 5: Official Bank Rate
#> ---
#> 149: Official Bank Rate
#> 150: Official Bank Rate
#> 151: Official Bank Rate
#> 152: Official Bank Rate
#> 153: Official Bank Rate
# }