Learn R Programming

fImport (version 3000.82)

utils-yahooBriefing: Import Briefings from Yahoo

Description

Imports briefings from chart.yahoo.com.

Usage

yahooBriefing(query, file = "tempfile", source = NULL, save = FALSE, try = TRUE)

Arguments

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.

Value

returns a data frame with briefings downloaded from yahoo's web site.

References

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.