ICPSR provides a wealth of data on numerous social science topics. Data can be downloaded into many statistical packages (R, Stata, SPSS, etc). You need to create a user/name and password using your berkeley.edu email address to download the data. Below are some of their election data sources.
Need help with research? Have a question about the collection or the UC Berkeley Library? Here are two ways to get in touch with me: