This function scrapes the stocks that constitute the SP500 index from the wikipedia page at https://en.wikipedia.org/wiki/List_of_S
1 2 3 4
Use cache system? (default = TRUE)
Where to save cache files? (default = file.path(tempdir(), 'BGS_Cache') )
A dataframe that includes a column with the list of tickers of companies that belong to the SP500 index
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.