R/data-gov_poll.R

#' Pew Research poll on government approval ratings
#'
#' The poll's focus is on Obama and then Democrats and Republicans in Congress.
#'
#'
#' @name gov_poll
#' @docType data
#' @format A data frame with 4223 observations on the following 2 variables.
#' \describe{\item{poll}{a factor with levels \code{approve}
#' \code{disapprove}} \item{eval}{a factor with levels \code{Democrats}
#' \code{Obama} \code{Republicans}} }
#' @source See the Pew Research website:
#' www.people-press.org/2012/03/14/romney-leads-gop-contest-trails-in-
#' matchup-with-obama. The counts in Table 6.19 are approximate.
#' @keywords datasets
#' @examples
#'
#' gov_poll
"gov_poll"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.