load_datasets {imf.data} | R Documentation |
Loads Time Series Datasets
Description
Loads Time Series Datasets
Usage
load_datasets(id, use_cache = TRUE)
Arguments
id |
is character vector of Dataset Series identifier. |
use_cache |
is Boolean, defaults to TRUE, if TRUE it reloads the Dataset from cached values. |
Value
a dataset object for the time-series identifier, i.e. a list containing a list 'dimensions' of data.frames with the valid dimensions values, and a function 'get_series' to retrieve time-series data.
Examples
DOT <- load_datasets("DOT")
DOT$get_series(freq = "M",
ref_area ="GB",
indicator = "TMG_CIF_USD",
counterpart_area = c("B0","W00"),
start_period = "2022-01-01",
end_period = "2022-12-31")
[Package imf.data version 0.1.6 Index]