midterms_house: President's party performance and unemployment rate

Description Usage Format Details Source Examples

Description

Covers midterm elections.

Usage

1

Format

A data frame with 29 observations on the following 5 variables.

year

a numeric vector

potus

The president in office.

party

President's party.

unemp

Unemployment rate.

house_change

Change in House seats for the president's party.

Details

An older version of this data is at unemploy_pres.

Source

Wikipedia.

Examples

1
2
3
4
library(ggplot2)

ggplot(midterms_house, aes(x = unemp, y = house_change)) +
  geom_point()

tessington/qsci381 documentation built on Sept. 26, 2020, 12:40 p.m.