Learn R Programming

fec16 (version 0.1.2)

results_house: General Federal Election Results

Description

2016 House General Election Results

2016 Senate General Election Results

2016 Presidential General Election Results

Usage

results_house

results_senate

results_president

Arguments

Format

3 data frames with information about the House, Senate, and Presidential Election results:

state

The state of the votes

district_id

District ID

cand_id

A code assigned to a candidate by the FEC

incumbent

A logical variable: TRUE if incumbent, FALSE if not

party

Party of the candidate

primary_votes

Number of votes in the primary election

primary_percent

Percentage of votes in the primary election

runoff_votes

Number of runoff votes

runoff_percent

Percentage of runoff votes

general_votes

Number of votes in the general election

general_percent

Percentage of votes in the general election

won

A logical variable: TRUE if candidate won, FALSE if not

footnotes

Footnotes

An object of class tbl_df (inherits from tbl, data.frame) with 377 rows and 10 columns.

An object of class tbl_df (inherits from tbl, data.frame) with 619 rows and 6 columns.