Yahoo Finance returns TR data (^SP500TR) from 1988, non-TR (^GSPC) data from 1950. I spent a lot of time working with Bob Schiller's data (http://www.econ.yale.edu/~shiller/data.htm) which contains dividends back to 1871. What I found was that adjusting for dividends was difficult and I could never improve upon appending the TR data to the non-TR data at the 1987-1988 year break. Neither can anyone else I can find on the Internet. I keep hoping to find better data than this but so far I have been stymied.
The columns of the data.frame returned
A data.frame with the daily data
Yahoo Finance, Bob Schiller
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.