Learn R Programming

MSMU (version 0.1.2)

election_2020: 2020 election data

Description

Dataset providing detailed results from the 2020 U.S. presidential election at the county level.

Usage

election_2020

Arguments

Format

A data frame with 32177 rows and 7 columns:

state

State (character)

state_ev

State electoral votes (integer)

county

County name (character)

candidate

Candidate name (character)

party

Candidate party (character)

total_votes

Total number of votes (integer)

won

True or false for the candidate to win the county (logical)