election_2020 {MSMU} | R Documentation |
2020 election data
Description
Dataset providing detailed results from the 2020 U.S. presidential election at the county level.
Usage
election_2020
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)
Source
Data retrieved from MIT Election Data and Science Lab, 2018, "County Presidential Election Returns 2000-2020” with alterations made for educational purposes.
[Package MSMU version 0.1.2 Index]