economagicSeries(symbols, from = NULL, to = Sys.timeDate(),
nDaysBack = 366, ...)
economagicImport(query, file = "tempfile", source = NULL,
frequency = c("auto", "quarterly", "monthly", "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.economagicImport returns an S4 object of class
fWEBDATA with the following slots:economagicSeries returns an S4 object of
class timeSeries. [query] Description:
var/leading-ind-long Index of Leading Economic Indicators
beana/t102l01 Real Gross Domestic Product
fedstl/trsp500 SP 500 Total Return
fedstl/gnp Gross National Product in Current Dollars
var/cpiu-long Consumer Price Index - All Urban Consumers
feddal/ru Unemployment Rate
fedstl/indpro Total Industrial Production Index
fedstl/exjpus+2 FX Rate: Japanese Yen to one US Dollar
fedstl/fedfunds+2 Federal Funds Rate
fedstl/mdiscrt+2 Discount Rate
fedbog/tcm30y+2 30-Year Treasury Constant Maturity Rate
fedstl/mprime+2 Bank Prime Loan Rate
fedstl/tb3ms+2 3-Month Treasury Bills - Secondary Market
fedstl/tb6ms+2 6-Month Treasury Bills - Secondary Market
fedbog/cm+2 30 Year Federal Home Loan Mortgages
var/west-texas-crude-long Price of West Texas Intermediate Crude }
## economagicSeries -
# USDEUR Foreign Exchange Rate:
economagicSeries("fedny/day-fxus2eu", frequency = "daily")
# USFEDFUNDS US FedFunds Rate:
economagicSeries("fedstl/fedfunds+2", frequency = "monthly")Run the code above in your browser using DataLab