nbp_api_response object containing the exchange rates tables from the specified interval.
Details
As exchange rate tables are not published on the weekends fetching values from an interval containing a weekend will result in a response that omits those days.
Examples
tryCatch({## Fetch the exchange rate table from the past week response <- get_exchangerate_tables_from_interval("A", Sys.Date()-7, Sys.Date())## Preview response content response$content
}, error =function(e) message(e))