fredr_series_vintagedates {fredr} | R Documentation |
Get the data vintage dates for a FRED series
Description
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.
Usage
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. |
limit |
An integer limit on the maximum number of results to return.
Defaults to |
offset |
An integer used in conjunction with |
sort_order |
A string representing the order of the resulting series.
Possible values are: |
realtime_start |
A |
realtime_end |
A |
Value
A tibble
object where each row is a distinct vintage date.
API Documentation
See Also
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")
}