R/rd-anes_vote84.R

#' @importFrom tibble tibble
NULL

#' Simple Data for a Simple Model of Individual Voter Turnout (ANES, 1984)
#'
#' This is a simple data set for estimating a simple model on voter turnout from
#'  the 1984 American National Election Studies (ANES) 1984 time-series.
#'
#' @format A data frame with 2257 observations on the following 9 variables.
#' \describe{
#' \item{\code{uid}}{a unique identifier for the respondent}
#' \item{\code{stateabb}}{the state where the respondent lives (as an abbreviation)}
#' \item{\code{vote}}{whether the respondent voted (1 = yes; 0 = no)}
#' \item{\code{age}}{the age of the respondent}
#' \item{\code{educ}}{the education-level of the respondent. See details section for more.}
#' \item{\code{female}}{whether the respondent is a woman (1 = female; 0 = male)}
#' \item{\code{south}}{does the respondent live in the south (1 = yes; 0 = no)}
#' \item{\code{polint}}{the political interest of the respondent in the campaigns (-1 = not much interested; 0 = somewhat interested; 1 = very much interested)}
#' \item{\code{govrace}}{did the respondent's state have a gubernatorial election that same November (1 = yes; 0 = no)}
#' }
#'
#' @source Data come from ANES's (1984) time series.
#'
#' @details The \code{vote} variable is deliberately coded where those with a value of 1 are respondents
#' who said they voted and the ANES was able to confirm that with voter registration records. There are purportedly
#' 85 responses in this raw variable where the respondent said they voted, but this could not be confirmed from
#' registration records. Those cases are recorded as \code{NA}. The \code{educ} variable ranges from 1 (finished 8th
#' grade or less than that) to 10 (respondent holds an advanced degree). The \code{uid} variable is a simple sequence variable
#' ranging from 1 to 2257 and is calculated on the original 1984 time-series study (May 3, 1999 version)
#' before other recoding was done. This should allow some reproducibility for an interested user.
#'
"anes_vote84"

Try the stevedata package in your browser

Any scripts or data that you put into this service are public.

stevedata documentation built on Oct. 26, 2024, 5:14 p.m.