R/data-unemploy_pres.R

#' President's party performance and unemployment rate
#'
#' Covers midterm elections.
#'
#' @name unemploy_pres
#' @docType data
#' @format A data frame with 29 observations on the following 5 variables.
#' \describe{
#'   \item{year}{Year.}
#'   \item{potus}{The president in office.}
#'   \item{party}{President's party.}
#'   \item{unemp}{Unemployment rate.}
#'   \item{change}{Change in House seats for the president's party.}
#'   }
#' @source Wikipedia.
#' @keywords datasets
#' @examples
#'
#' unemploy_pres
"unemploy_pres"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.