Learn R Programming

tm.plugin.webmining (version 1.3)

GoogleFinanceSource: Get feed Meta Data from Google Finance.

Description

Google Finance provides business and enterprise headlines for many companies. Coverage is particularly strong for US-Markets. However, only up to 20 feed items can be retrieved.

Usage

GoogleFinanceSource(query, params = list(hl = "en", q = query, ie = "utf-8", start = 0, num = 20, output = "rss"), ...)

Arguments

query
ticker symbols of companies to be searched for, see http://www.google.com/finance. Please note that Google ticker symbols need to be prefixed with the exchange name, e.g. NASDAQ:MSFT
params
additional query parameters
...
additional parameters to WebSource

Value

WebXMLSource

See Also

WebSource

Examples

Run this code
## Not run: 
# corpus <- Corpus(GoogleFinanceSource("NASDAQ:MSFT"))
# ## End(Not run)

Run the code above in your browser using DataLab