YahooKeystats {fImport} | R Documentation |
Imports key statistics from chart.yahoo.com.
yahooKeystats(query, file = "tempfile", source = NULL, save = FALSE, try = TRUE)
file |
a character string with 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 file . By default FALSE.
|
source |
a character string setting the URL of the source.
If NULL , then the URL will be set automatically to its
default value.
|
try |
a logical value, if set to TRUE the Internet access will be checked. |
returns a data frame with key statistics downloaded from yahoo's web site.
Function yohooKeystats
has been renamed from keystatsImport
.
Diethelm Wuertz for the Rmetrics R-port.
## Not run: ## yahooKeystats - yahooKeystats("IBM") ## End(Not run)