You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(tidyverse)
politicaldata::pres_results %>%
filter(year==2016, state=="WA")
#> year state total_votes dem rep other#> 1 2016 WA 3317019 0.5253868 0.3683268 0.07378583
Results look different than expected. For example https://en.wikipedia.org/wiki/2016_United_States_presidential_election_in_Washington_(state) says 2016 election had 54.3% of vote for Clinton and 38.07% for Trump. Or perhaps I'm misunderstanding specifics of data. Also the total for dem, rep, and other does not add-up to 1.
Created on 2020-09-10 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: