Given a series ID, return associated tags for the series as a tibble object.

fredr_series_tags(
  series_id,
  ...,
  order_by = 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.

order_by

A string indicating the attribute by which to order the Possible values include "series_count" (default), "popularity", "created", "name", and "group_id".

sort_order

A string representing the order of the resulting series. Possible values are: "asc" (default), and "desc".

realtime_start

A Date indicating the start of the real-time period. Defaults to today's date. For more information, see Real-Time Periods.

realtime_end

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 represents a tag associated with the series specified by series_id`. Data include tag name, group ID, popularity, series count, tag creation date, and additional notes.

API Documentation

fred/series/tags

Examples

if (fredr_has_key()) {
# Return all tags assigned to the "UNRATE" series and order the results by
# group ID.
fredr_series_tags(series_id = "UNRATE", order_by = "group_id")
}
#> # A tibble: 14 × 6
#>    name                           group_id notes created popularity series_count
#>    <chr>                          <chr>    <chr> <chr>        <int>        <int>
#>  1 public domain: citation reque… cc        NA   2018-1…         99       608914
#>  2 monthly                        freq     ""    2012-0…         94       213768
#>  3 rate                           gen      ""    2012-0…         85        47028
#>  4 unemployment                   gen      ""    2012-0…         72        32722
#>  5 household survey               gen      "Cur… 2012-0…         62        21528
#>  6 labor                          gen      ""    2012-0…         61        33822
#>  7 16 years +                     gen      ""    2012-0…         58         5812
#>  8 civilian                       gen      ""    2012-0…         53         9638
#>  9 headline figure                gen      ""    2013-1…         53           50
#> 10 labor underutilization         gen      ""    2012-0…         35          748
#> 11 usa                            geo      "Uni… 2012-0…        100       655680
#> 12 nation                         geot     ""    2012-0…         99       262536
#> 13 sa                             seas     "Sea… 2012-0…         89        93932
#> 14 bls                            src      "Bur… 2012-0…         88       175524