You can preview and download the dataset from this tab, and download the R script file. The dataset is available in multiple file formats, compatible with most common software packages. You can also view and download the Codebook, which provides information on the structure, contents, and layout of the dataset.
This dataset is designed for teaching logistic regression. The dataset is a subset of data derived from the 2012 American National Election Study, and the example test whether reported vote choice in the 2012 U.S. Presidential election is predicted by several factors, including a respondent’s race/ethnicity and how they feel about the Democratic and Republican Parties. The dataset file is accompanied by a teaching guide, a student guide, and a how-to guide for R.