Given a series ID, return information on the categories to which a series belongs
as a tibble object.
fredr_series_categories(
  series_id,
  ...,
  realtime_start = NULL,
  realtime_end = NULL
)A string ID for the FRED series.
These dots only exist for future extensions and should be empty.
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.
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.
if (fredr_has_key()) {
# Return the categories to which the "UNRATE" series belongs
fredr_series_categories(series_id = "UNRATE")
}
#> # A tibble: 1 × 4
#>      id name              parent_id notes                                       
#>   <int> <chr>                 <int> <chr>                                       
#> 1 32447 Unemployment Rate        12 The ratio of unemployed to the civilian lab…