powered by
Get a source of economic data
fredr_source(source_id, ..., realtime_start = NULL, realtime_end = NULL)
An integer ID for the data source.
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.
Date
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.
tibble
fred/source
fredr_sources(), fredr_source_releases()
fredr_sources()
fredr_source_releases()
# NOT RUN { if (fredr_has_key()) { fredr_source(source_id = 14L) # Has this source ID ever changed over time? fredr_source(source_id = 14L, realtime_start = as.Date("1990-01-01")) } # }
Run the code above in your browser using DataLab