USvote2016: Self-reported votes from VOTER Survey in 2016

USvote2016R Documentation

Self-reported votes from VOTER Survey in 2016

Description

Dataset based on self-reported votes from 2016 VOTER Survey by \insertCitedfvsg2017;textualplot3logit, as used in the examples in \insertCitesanti2022;textualplot3logit.

Format

tibble (data.frame) with 8000 observations of 7 variables:

idcode:

voter identifier (integer).

vote:

declared vote, afactor with three levels: Clinton, Trump, Other.

race:

race, a factor with six levels: White, Black, Hispanic, Asian, Mixed, Other.

educ:

level of education, a factor with six levels: No high school, High school grad., Some college, 2-year college, 4-year college, Post-grad.

gender:

gender, a factor with four levels: Male, Female, Skipped, Not Asked.

birthyr:

decades when the voter was born, a factor with six levels: [1920,1940), [1940,1950), [1950,1960), [1960,1970), [1970,1980), [1980,2000).

famincome:

income (in USD) of voter's family, a factor with five levels: [0; 30,000), [30,000; 60,000), [60,000; 100,000), [100,000; 150,000), [150,000; Inf).

Details

Object USvote2016 includes only few variables based on the result of the survey, which are publicly available online. See file "data-raw/USvote2016_prepare.R" in the GitHub repository "f-santi/plot3logit" (https://github.com/f-santi/plot3logit), where it is documented how the dataset USvote2016 has been generated.

References

\insertAllCited

plot3logit documentation built on July 19, 2022, 9:07 a.m.