Description Usage Arguments Value Examples
View source: R/get_sp500_tickers.R
Scrapes ticker symbols from the Wikipedia Revision history https://en.wikipedia.org/wiki/List_of_S%26P_500_companies. Of course, the data may be imperfect.
1  | 
date | 
 Date (or character vector that can be coerced).  | 
Character vector.
1 2 3 4 5 6 7 8  | ## Not run: 
# S&P 500 tickers as of today
head(get_sp500_tickers())
# S&P 500 tickers at the beginning of 2019
head(get_sp500_tickers("2019-01-01"))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.