powered by
Calls API endpoint 'CompactData' to get Dataset time series
mt_compact_data(id, dimensions, start_period = NA, end_period = NA)
a list with content of 'CompactData' response.
is a Dataset Series identifier.
is a named list with the dimensions query.
is time series start date with formats.
is time series end date with format. See Details for the valid formats.
The 'start_period' and 'end_pariod' parameters should have formats: 'yyyy', 'yyyy-mm' or 'yyyy-mm-dd'.
DOT <- mt_compact_data("DOT", list("M","GB", "TMG_CIF_USD", c("B0","W00")))
Run the code above in your browser using DataLab