FetchOneTimeSeriesWithRevisions {MacrobondAPI} | R Documentation |
Download a time series with revisions.
FetchOneTimeSeriesWithRevisions(seriesName)
seriesName |
The name of the series. |
Returns an TimeSeriesWithRevisions
object.
If you want to download more than one series, it is more efficient to use FetchTimeSeriesWithRevisions
.
This method is only available if you run Macrobond app 1.23 or later and have a Data Scientist license.
TimeSeriesWithRevisions
FetchTimeSeriesWithRevisions
# Load the series revisions and get the vintage series, that shows what it looked like at 2018-01-01 seriesWithRevisions <- FetchOneTimeSeriesWithRevisions("usgdp") series2018 <- getVintage(seriesWithRevisions, as.Date("2018-01-01")) show(series2018)