R Dataset / Package cluster / votes.repub
On this R-data statistics page, you will find information about the votes.repub data set which pertains to Votes for Republican Candidate in Presidential Elections. The votes.repub data set is found in the cluster R package. You can load the votes.repub data set in R by issuing the following command at the console data("votes.repub"). This will load the data into a variable called votes.repub. If R says the votes.repub data set is not found, you can try installing the package by issuing this command install.packages("cluster") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the votes.repub R data set. The size of this file is about 9,009 bytes.
Votes for Republican Candidate in Presidential Elections
Description
A data frame with the percents of votes given to the republican candidate in presidential elections from 1856 to 1976. Rows represent the 50 states, and columns the 31 elections.
Usage
data(votes.repub)
Source
S. Peterson (1973): A Statistical History of the American Presidential Elections. New York: Frederick Ungar Publishing Co.
Data from 1964 to 1976 is from R. M. Scammon, American Votes 12, Congressional Quarterly.
Dataset imported from https://www.r-project.org.