getTimeSeriesTable | R Documentation |
Extract a list of time series identified by the parameters provided in input, and return a data.frame as result.
getTimeSeriesTable(provider, id, start, end, dataflow, filter)
getTimeSeriesTable(provider, id, start='', end='', dataflow='', filter='')
id |
identifier of the time series |
provider |
the name of the provider |
end |
the end time - optional |
start |
the start time - optional |
dataflow |
dataflow of the time series - optional |
filter |
filter to be applied - optional |
## Not run: # SDMX V2 ## get single time series: my_ts=getTimeSeriesTable('ECB',id='EXR.A.USD.EUR.SP00.A') ## get monthly and annual frequency: my_ts=getTimeSeriesTable('ECB',id='EXR.A+M.USD.EUR.SP00.A') ## get all available frequencies: my_ts=getTimeSeriesTable('ECB',id='EXR..USD.EUR.SP00.A') # SDMX V3 ## get single time series: my_ts=getTimeSeriesTable('ECB', dataflow='EXR', id='A.USD.EUR.SP00.A') ## get monthly and annual frequency: my_ts=getTimeSeriesTable('ECB', dataflow='EXR', id='A+M.USD.EUR.SP00.A') ## get all available frequencies: my_ts=getTimeSeriesTable('ECB', dataflow='EXR', id='.USD.EUR.SP00.A') #or ## get single time series: EXR.A.USD.EUR.SP00.A my_ts=getTimeSeriesTable('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=getTimeSeriesTable('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=getTimeSeriesTable('ECB', dataflow='EXR', filter='c[CURRENCY]=USD&c[CURRENCY_DENOM]=EUR&c[EXR_TYPE]=SP00&c[EXR_SUFFIX]=A') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.