getTimeSeries2 {RJSDMX} | R Documentation |
get time series (SDMX v3)
Description
Extract a list of time series . This function is used to extract a list of time series identified by the parameters provided in input.
Usage
getTimeSeries2(
provider,
dataflow,
key = "",
filter = "",
start = "",
end = "",
attributes = "all",
measures = "all"
)
Arguments
provider |
the name of the provider |
dataflow |
dataflow of the time series |
key |
timeseries key - optional |
filter |
optional filter to be applied - optional |
start |
the start time - optional |
end |
the end time - optional |
attributes |
the comma separated list of attributes to be returned - optional, default='all', 'none' for no attributes |
measures |
the comma separated list of measures to be returned - optional, default='all', 'none' for no measures |
Examples
## Not run:
# SDMX V3
## get single time series:
my_ts=getTimeSeries2('ECB', dataflow='EXR', key='A.USD.EUR.SP00.A')
## get all available frequencies:
my_ts=getTimeSeries2('ECB', dataflow='EXR', key='.USD.EUR.SP00.A')
#or
#' ## get single time series: EXR.A.USD.EUR.SP00.A
my_ts=getTimeSeries2('ECB', dataflow='EXR',
filter='c[FREQ]=A&c[CURRENCY]=USD&c[CURRENCY_DENOM]=EUR&c[EXR_TYPE]=SP00&c[EXR_SUFFIX]=A')
## get monthly and annual frequency:
my_ts=getTimeSeries2('ECB', dataflow='EXR',
filter='c[FREQ]=A,M&c[CURRENCY]=USD&c[CURRENCY_DENOM]=EUR&c[EXR_TYPE]=SP00&c[EXR_SUFFIX]=A')
## get all available frequencies:
my_ts=getTimeSeries2('ECB', dataflow='EXR',
filter='c[CURRENCY]=USD&c[CURRENCY_DENOM]=EUR&c[EXR_TYPE]=SP00&c[EXR_SUFFIX]=A')
## End(Not run)
[Package RJSDMX version 3.3-0 Index]