fredSeries(symbols, from = NULL, to = Sys.timeDate(),
nDaysBack = 366, ...)
fredImport(query, file = "tempfile", source = NULL, frequency = "daily",
from = NULL, to = Sys.timeDate(), nDaysBack = NULL,
save = FALSE, sep = ";", try = TRUE)
file
. By default FALSE.NULL
, then the URL will be set automatically to its
default value.fredImport
returns an S4 object of class
fWEBDATA
with the following slots:fredSeries
returns an S4 object of
class timeSeries
or alternatively an object specified by
the function argument returnClass
.## fredImport -
DPRIME = fredSeries("DPRIME")
tail(DPRIME)
Run the code above in your browser using DataLab