The get_series()
function retrieves data from various sources, including the EDDS API and FRED API at this version.
When multiple indexes are provided as a character vector or string template, the function individually
requests each item from the corresponding sources, discerning the source from the item's format.
The function combines data frames when there are common frequencies and returns both a combined data frame and
individual data frames for each requested item.
A character vector or string representing the index to be retrieved.
Limits the start date of the data.
Limits the end date of the data.
Frequency of the data (rarely needed).
If FALSE, a new request will be made; if TRUE, cached data will be used.
If TRUE, NA values are removed only if all columns are NA.
If TRUE, prints information during the process; if FALSE, silently does its job.
default is NULL which implies applying default verbose option. If this function is called with
a TRUE or FALSE value it changes global verbose option for Rapi
package.
If verbose option is FALSE it gives a warning only if something goes wrong.
Additional parameters for future versions.
Source such as "evds" or "fred" for internal use at this version.
Table or series on the source for internal use at this version.
Debug option for development.
An S3 object, Rapi_GETPREP, which has generic functions such as print and excel.
The print
generic provides hints to the user on how to use requested data,
such as creating output with the excel
function or examining requested data in the global environment.
if (FALSE) {
o <- get_series(template_test())
excel(o)
object <- get_series("UNRATE", start_date = "2000/01/01", na.remove = TRUE)
excel(object)
}