if (FALSE) {
library(ustfd)
exchange_rates <- ustfd_simple(
'v1/accounting/od/rates_of_exchange',
fields = c(
'country_currency_desc', 'exchange_rate','record_date','effective_date'
),
filter = list(
record_date = c('>=' = '2020-01-01'),
country_currency_desc = list('in' = c('Canada-Dollar','Mexico-Peso'))
)
)
}
Run the code above in your browser using DataLab