FetchOneTimeSeriesWithRevisions {MacrobondAPI}R Documentation

Download a time series with revisions

Description

Download a time series with revisions.

Usage

FetchOneTimeSeriesWithRevisions(seriesName)

Arguments

seriesName

The name of the series.

Value

Returns an TimeSeriesWithRevisions object.

Note

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.

See Also

TimeSeriesWithRevisions FetchTimeSeriesWithRevisions

Examples

  # 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)

[Package MacrobondAPI version 1.1-5 Index]