powered by
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
# \donttest{ sectors <- download_sp500_sectors() head(sectors) # }
Run the code above in your browser using DataLab