Description Usage Arguments Value API Documentation See Also Examples
Given a series ID, return basic information for a FRED series. Note that
this function will not return the actual series data. For this functionality,
see fredr_series_observations()
.
1 | fredr_series(series_id, ..., realtime_start = NULL, realtime_end = NULL)
|
series_id |
A string ID for the FRED series. |
... |
These dots only exist for future extensions and should be empty. |
realtime_start |
A |
realtime_end |
A |
A tibble
object (1 row) with information for the series specified by
series_id
.
fredr_series_observations()
, fredr_series_search_text()
,
fredr_series_search_id()
, fredr_series_search_tags()
,
fredr_series_search_related_tags()
, fredr_series_categories()
,
fredr_series_release()
, fredr_series_tags()
, fredr_series_updates()
,
fredr_series_vintagedates()
.
1 2 3 4 | if (fredr_has_key()) {
# Return information for the "UNRATE" series
fredr_series(series_id = "UNRATE")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.