Loads Time Series Datasets
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")
#> TIME_PERIOD M.GB.TMG_CIF_USD.W00 M.GB.TMG_CIF_USD.B0
#> 1 2022-01 68801.920819 24001.987484
#> 2 2022-02 67016.922713 25933.214716
#> 3 2022-03 81096.418986 31201.578619
#> 4 2022-04 67966.428212 26953.866539
#> 5 2022-05 66725.87365 27547.283077
#> 6 2022-06 67131.744693 26811.570946
#> 7 2022-07 66660.108847 26054.336273
#> 8 2022-08 66139.575839 23693.312926
#> 9 2022-09 62456.168909 21688.018013
#> 10 2022-10 63037.53227 22724.573173
#> 11 2022-11 67923.373046 26312.077167
#> 12 2022-12 69288.692782 25545.968572