govrace10: Election results for 2010 Governor races in the U.S.

Description Usage Format Source Examples

Description

Election results for 2010 Governor races in the U.S.

Usage

1

Format

A tibble with 37 observations on the following 23 variables.

id

Unique identifier for the race, which does not overlap with other 2010 races (see houserace10 and senaterace10)

state

State name

abbr

State name abbreviation

name1

Name of the winning candidate

perc1

Percentage of vote for winning candidate (if more than one candidate)

party1

Party of winning candidate

votes1

Number of votes for winning candidate

name2

Name of candidate with second most votes

perc2

Percentage of vote for candidate who came in second

party2

Party of candidate with second most votes

votes2

Number of votes for candidate who came in second

name3

Name of candidate with third most votes

perc3

Percentage of vote for candidate who came in third

party3

Party of candidate with third most votes

votes3

Number of votes for candidate who came in third

name4

Name of candidate with fourth most votes

perc4

Percentage of vote for candidate who came in fourth

party4

Party of candidate with fourth most votes

votes4

Number of votes for candidate who came in fourth

name5

Name of candidate with fifth most votes

perc5

Percentage of vote for candidate who came in fifth

party5

Party of candidate with fifth most votes

votes5

Number of votes for candidate who came in fifth

Source

Data was collected from MSNBC.com on November 9th, 2010.

Examples

1
table(govrace10[,c("party1", "party2")])

OpenIntroStat/openintro-r-package documentation built on Jan. 22, 2020, 3:23 p.m.