Learn R Programming

fred (version 0.3.1)

fred_vintages: Get vintage dates for a FRED series

Description

Returns the dates on which data for a series were revised. This is useful for real-time analysis and understanding data revisions.

Usage

fred_vintages(series_id)

Value

A data frame with columns series_id and vintage_date.

Arguments

series_id

Character. A single FRED series ID.

See Also

Other series: fred_info(), fred_search(), fred_series(), fred_updates()

Examples

Run this code
# \donttest{
op <- options(fred.cache_dir = tempdir())
try({
  fred_vintages("GDP")
})
options(op)
# }

Run the code above in your browser using DataLab