Given a series ID, return a sequence of dates in history when a series' data values were revised or new data values were released as a tibble object.

fredr_series_vintagedates(
series_id,
...,
limit = NULL,
offset = NULL,
sort_order = NULL,
realtime_start = NULL,
realtime_end = NULL
)

## Arguments

series_id A string ID for the FRED series. These dots only exist for future extensions and should be empty. An integer limit on the maximum number of results to return. Defaults to 1000, the maximum. An integer used in conjunction with limit for long series. This mimics the idea of pagination to retrieve large amounts of data over multiple calls. Defaults to 0. A string representing the order of the resulting series. Possible values are: "asc" (default), and "desc". A Date indicating the start of the real-time period. Defaults to today's date. For more information, see Real-Time Periods. A Date indicating the end of the real-time period. Defaults to today's date. For more information, see Real-Time Periods.

## Value

A tibble object where each row is a distinct vintage date.

## API Documentation

fred/series/vintagedates

fredr_series_observations(), fredr_series_search_text(), fredr_series_search_id(), fredr_series_search_tags(), fredr_series_search_related_tags(), fredr_series(), fredr_series_release(), fredr_series_tags(), fredr_series_categories(), fredr_series_updates().

## Examples

if (fredr_has_key()) {
# All data vintages for the "UNRATE" series
fredr_series_vintagedates(series_id = "UNRATE")
# 10 most recent data vintages for the "UNRATE" series
fredr_series_vintagedates(series_id = "UNRATE", limit = 10L, sort_order = "desc")
}
#> # A tibble: 10 x 1
#>    vintage_dates
#>    <chr>
#>  1 2021-06-04
#>  2 2021-05-07
#>  3 2021-04-02
#>  4 2021-03-05
#>  5 2021-02-05
#>  6 2021-01-08
#>  7 2020-12-04
#>  8 2020-11-06
#>  9 2020-10-02
#> 10 2020-09-04