Skip to contents

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)

Arguments

series_id

Character. A single FRED series ID.

Value

A data frame with columns series_id and vintage_date.

Examples

# \donttest{
op <- options(fred.cache_dir = tempdir())
fred_vintages("GDP")
#> Error in fred_get_key(): No FRED API key found.
#>  Set one with `fred_set_key()` or the `FRED_API_KEY` environment variable.
#>  Register for a free key at <https://fredaccount.stlouisfed.org/apikeys>.
options(op)
# }