R/pres12.R

#' 2012 US Presidential Election Data
#'
#' 2012 US presidential election outcomes by state.
#'
#' @format A data frame with 51 rows and 4 variables:
#' \describe{
#'  \item{ state }{ character: abbreviated name of the state }
#'  \item{ Obama }{ integer: Obama’s vote share (percentage) }
#'  \item{ Romney }{ integer: Romney’s vote share (percentage) }
#'  \item{ EV }{ integer: number of Electoral College votes for the state }
#' }
#'
#'
#' @details
#' See \emph{QSS} Table 4.5.
#'
#'
#' @references
#' \itemize{
#' \item{ Imai, Kosuke. 2017. \emph{Quantitative Social Science: An Introduction}.
#' Princeton University Press. \href{http://press.princeton.edu/titles/11025.html}{URL}. }
#' \item { David Rothschild (2009) “Forecasting elections: Comparing prediction markets,
#' polls, and their biases.” \emph{Public Opinion Quarterly}, vol. 73, no. 5, pp. 895–916.
#' doi = 10.1093/poq/nfp082 }
#'}
"pres12"
kosukeimai/qss-data documentation built on April 20, 2022, 2:26 p.m.