mt_compact_data {imf.data} | R Documentation |
Calls API endpoint 'CompactData' to get Dataset time series
Description
Calls API endpoint 'CompactData' to get Dataset time series
Usage
mt_compact_data(id, dimensions, start_period = NA, end_period = NA)
Arguments
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. |
Details
The 'start_period' and 'end_pariod' parameters should have formats: 'yyyy', 'yyyy-mm' or 'yyyy-mm-dd'.
Value
a list with content of 'CompactData' response.
Examples
DOT <- mt_compact_data("DOT", list("M","GB", "TMG_CIF_USD", c("B0","W00")))
[Package imf.data version 0.1.6 Index]