Learn R Programming

RJSDMX (version 3.4-0)

getTimeSeries: get time series

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.

getTimeSeries(provider, id, start, end)

Usage

getTimeSeries(provider, id, start='', end='')

Arguments

provider

the name of the provider

id

identifier of the time series

end

the end time - optional

start

the start time - optional

Examples

Run this code
if (FALSE) {
# SDMX V2
## get single time series:
my_ts=getTimeSeries('ECB',id='EXR.A.USD.EUR.SP00.A')
## get monthly and annual frequency: 
my_ts=getTimeSeries('ECB',id='EXR.A+M.USD.EUR.SP00.A')
## get all available frequencies: 
my_ts=getTimeSeries('ECB',id='EXR..USD.EUR.SP00.A')
}

Run the code above in your browser using DataLab