Sample of 2020 ANES cumulative data file
anes.Rd
Selected columns from the American National Election Studies' 2020 cumulative data file. The final column is an example of the three-valued variable for voting behavior, to be passed to the `dv_vote3` argument,
Format
A data frame with 68,224 rows and 13 columns:
- year
election year
- respid
respondent identifier
- weight
survey weight
- race
respondent race
- gender
respondent gender
- educ
respondent education level
- age
respondent age
- voted
respondent's voter turnout
- vote_pres
respondent's presidential vote
- vote_pres_dem
flag indicating Democratic presidential vote choice
- vote_pres_rep
flag indicating Republican presidential vote choice
- vote_pres3
Three-valued voting behavior DV coded as follows: -1 for Democrat vote choice, 0 for third-party vote, 1 for Republican vote choice, and NA for no vote.