getTimeSeriesRevisions | R Documentation |
Extract time series starting from a specific update time and with history of revisions. This function works as getTimeSeriesTable but the query can be narrowed to getting only observations that were updated after a specific point in time, and eventually it returns the revision history of the matching time series.
The result is packed into a data.frame
getTimeSeriesRevisions(provider, id, start = "", end = "",
updatedAfter = "", includeHistory = TRUE)
id |
identifier of the time series |
provider |
the name of the provider |
end |
the end time - optional |
start |
the start time - optional |
updatedAfter |
the updatedAfter time - optional. It has to be in the form: 'YYYY-MM-DD' |
includeHistory |
boolean parameter - optional. If TRUE the full list of revisions will be returned |
getTimeSeriesRevisions(provider, id, start, end, updatedAfter, includeHistory)
## Not run:
# get single time series with history:
my_ts=getTimeSeriesRevisions('ECB','EXR.A.USD.EUR.SP00.A', includeHistory=TRUE)
# get single time series (only observations updated after january 1st 2015):
my_ts=getTimeSeriesRevisions('ECB','EXR.A.USD.EUR.SP00.A',
updatedAfter='2015', includeHistory=FALSE)
# get single time series (full revision history starting from january 1st 2015):
my_ts=getTimeSeriesRevisions('ECB','EXR.A.USD.EUR.SP00.A',
updatedAfter='2015', includeHistory=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.