fredr_series_release: Get the release for a FRED series

Description Usage Arguments Value API Documentation See Also Examples

View source: R/fredr_series_release.R

Description

Given a series ID, return information on a series as a tibble object.

Usage

1
2
3
4
5
6
fredr_series_release(
  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 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 with information on the release for the series specified by the series_id parameter. Data include release ID, real-time periods, release name, and links to press releases, if available.

API Documentation

fred/series/release

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_categories(), fredr_series_tags(), fredr_series_updates(), fredr_series_vintagedates().

Examples

1
2
3
4
if (fredr_has_key()) {
# Get release information for the "UNRATE" series
fredr_series_release(series_id = "UNRATE")
}

fredr documentation built on Jan. 30, 2021, 1:06 a.m.