View source: R/data_utilities.R
| download_sp500_sectors | R Documentation |
Scrapes current S&P 500 constituent list with sector classifications from Wikipedia and returns as a data.table.
download_sp500_sectors()
Data.table with columns: Symbol, Security, Sector, SubIndustry, Industry
sectors <- download_sp500_sectors()
head(sectors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.