The data is cached for the duration of the current R session

get_boc_series(
  series,
  start_date = NULL,
  end_date = NULL,
  recent = NULL,
  recent_weeks = NULL,
  recent_months = NULL,
  recent_years = NULL,
  quiet = FALSE,
  refresh = FALSE
)

Arguments

series

A vector of series identifiers

start_date

(Optional) Start date for time series

end_date

(Optional) End date for time series

recent

(Optional) Only retrieve most recent recent number of data points

recent_weeks

(Optional) Only retrieve data for most recent recent_weeks weeks

recent_months

(Optional) Only retrieve data for most recent recent_months months

recent_years

(Optional) Only retrieve data for most recent recent_years years

quiet

(Optional) Don't emit messages or warnings if TRUE, default is FALSE

refresh

(Optional) Refresh currently cached series if TRUE, default is FALSE

Value

a tibble with series data

Examples

# \donttest{
series_data <- get_boc_series(c("IEXE1001.CL", "IEXE4702"))
#> Accessing BOC series data from cache...
#> Accessing BOC series data from cache...
# }