fredr_series_categories {fredr} | R Documentation |
Get the categories for a FRED series
Description
Given a series ID, return information on the categories to which a series belongs
as a tibble
object.
Usage
fredr_series_categories(
series_id,
...,
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. |
realtime_start |
A |
realtime_end |
A |
Value
A tibble
object with information on the categories to
which the series specified by series_id
belongs. Data include category ID,
name, parent category ID, and notes.
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_updates()
,
fredr_series_vintagedates()
.
Examples
if (fredr_has_key()) {
# Return the categories to which the "UNRATE" series belongs
fredr_series_categories(series_id = "UNRATE")
}