Get the releases for a source
fredr_source_releases(
source_id,
...,
limit = NULL,
offset = NULL,
order_by = NULL,
sort_order = NULL,
realtime_start = NULL,
realtime_end = NULL
)
An integer ID for the data source.
These dots only exist for future extensions and should be empty.
An integer limit on the maximum number of results to return.
Defaults to 1000
, the maximum.
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
.
A string indicating which attribute should be used to order the results. Possible values:
"release_id"
(default)
"name"
"press_release"
"realtime_start"
"realtime_end"
A string representing the order of the resulting series.
Possible values are: "asc"
(default), and "desc"
.
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.
if (fredr_has_key()) {
# Board of Governors
fredr_source_releases(source_id = 1L)
# University of Michigan
fredr_source_releases(source_id = 14L, realtime_start = as.Date("1950-01-01"))
}
#> # A tibble: 1 × 6
#> id realtime_start realtime_end name press_release link
#> <int> <chr> <chr> <chr> <lgl> <chr>
#> 1 91 1998-07-31 9999-12-31 Surveys of Consumers TRUE http://w…