| utils-yahooKeystats {fImport} | R Documentation |
Imports key statistics data from
chart.yahoo.com.
yahooKeystats(query, file = "tempfile", source = NULL, save = FALSE, try = TRUE)
file |
a character string specifying a filename, usually having extension ‘".csv"’, where to save the downloaded data. |
query |
a character string, denoting the location of the data at the web site. |
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 |
source |
a character string setting the URL of the source.
If |
try |
logical indicating if the internet access will be checked. |
returns a data frame (data.frame) with
key statistics downloaded from yahoo's web site.
Diethelm Wuertz for the Rmetrics R-port.
Diethelm Wuertz, Yohan Chalabi, and Andrew Ellis (2010). Financial Market Data for R/Rmetrics; Rmetrics eBook, Rmetrics Association and Finance Online, Zurich, www.rmetrics.org.