fredr_sources: Get all sources of economic data
Description
Get all sources of economic data
Usage
fredr_sources(limit = NULL, offset = NULL, order_by = NULL,
sort_order = NULL, realtime_start = NULL, realtime_end = NULL)
Arguments
limit
An integer limit on the maximum number of results to return.
Defaults to 1000
, the maximum.
offset
An integer used in conjunction with limit for long series.
This mimics the idea of pagination to retrieve large amounts of data over
multiple calls. Defaults to 0
.
order_by
A string indicating which attribute should be used to order
the results. Possible values: "source_id"
(default), "name"
,
"realtime_start"
, "realtime_end"
.
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.
Examples
Run this code# NOT RUN {
fredr_sources(limit = 20L)
# }
Run the code above in your browser using DataLab