Description Usage Arguments Value Examples
Get stock values from Google Finance
1 2 | google_dat(symbols, file_out = FALSE, file_name = "investments.txt",
append = TRUE)
|
symbols |
A character vector of symbols to look up on Google Finance |
file_out |
An optional file name to append comma-delimited data to. This file must already exist. |
file_name |
The name of the file to write to. |
append |
Should the data be appended to
|
A data frame with current values for each stock symbol. The first column will contain today's date.
1 2 3 | s <- c("VAB", "XRB", "ZRE", "XEC", "XEF", "XIC",
"VUN", "TDB909", "TDB911")
google_dat(s)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.