Learn R Programming

RJSDMX (version 2.3-3.1)

getTimeSeriesTable: get time series and return a data.frame

Description

Extract a list of time series identified by the parameters provided in input, and return a data.frame as result. getTimeSeriesTable(provider, dataflow, start, end)

Usage

getTimeSeriesTable(provider, id, start = "", end = "")

Arguments

id

identifier of the time series

provider

the name of the provider

end

the end time - optional

start

the start time - optional

Examples

Run this code
if (FALSE) {
  # get single time series: EXR.A.USD.EUR.SP00.A (alternatively: EXR/A+M.USD.EUR.SP00.A)
  my_df=getTimeSeriesTable('ECB','EXR.A.USD.EUR.SP00.A')
  
  # get monthly and annual frequency: 'EXR.A|M.USD.EUR.SP00.A' 
  #                   (alternatively:  EXR/A+M.USD.EUR.SP00.A)
  my_df=getTimeSeriesTable('ECB','EXR.A|M.USD.EUR.SP00.A')

  # get all available frequencies: 'EXR.*.USD.EUR.SP00.A'
  #                 (alternatively: EXR/.USD.EUR.SP00.A)
  my_df=getTimeSeriesTable('ECB','EXR.*.USD.EUR.SP00.A')
}

Run the code above in your browser using DataLab