Usage
economagicImport(query, file = "tempfile",
source = "http://www.economagic.com/em-cgi/data.exe/",
frequency = c("quarterly", "monthly", "daily"), save = FALSE,
colname = "VALUE", try = TRUE) economagicSeries(query, frequency = c("quarterly", "monthly", "daily"),
returnClass = c("timeSeries", "ts", "matrix", "data.frame"),
getReturns = FALSE, ...)
Arguments
getReturns
a logical flag. Should return values be computed using the
function returnSeries?
colname
a character string which defines the name of the value
column. By default "VALUE".
file
a character string with filename, usually
having extension ".csv", where to save the downloaded data.
frequency
a character string, one of "quarterly", "monthly", or "daily",
defining the frequency of the data records.
query
a character string, denoting the location of the data at the
web site.
returnClass
a character string naming the class of the object to be
returned. By default the function returns
a "timeSeries" object, alternatives are: "ts",
"matrix", or "data.frame".
save
a logical value, if set to TRUE the downloaded data file will
be stored under the path and file name specified by the
string file. By default FALSE.
source
a character string with the download URL.
try
a logical value, if set to TRUE the Internet access will be
checked.
...
optional arguments to be passed.