mt_compact_data | R Documentation |
Calls API endpoint 'CompactData' to get Dataset time series
mt_compact_data(id, dimensions, start_period = NA, end_period = NA)
id |
is a Dataset Series identifier. |
dimensions |
is a named list with the dimensions query. |
start_period |
is time series start date with formats. |
end_period |
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'.
a list with content of 'CompactData' response.
DOT <- mt_compact_data("DOT", list("M","GB", "TMG_CIF_USD", c("B0","W00")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.