## Getting data from the 2014-2018 5-year ACS
## Warning: package 'sf' was built under R version 4.0.3
## Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1
## Warning in st_centroid.sf(ca): st_centroid assumes attributes are constant over
## geometries of x
## Warning in st_centroid.sfc(st_geometry(x), of_largest_polygon =
## of_largest_polygon): st_centroid does not give correct centroids for longitude/
## latitude data
## Warning: package 'kableExtra' was built under R version 4.0.2
##
## Attaching package: 'kableExtra'
## The following object is masked from 'package:dplyr':
##
## group_rows
| county | Donald Trump | Joe Biden |
|---|---|---|
| Alameda County | 136309 | 617659 |
| Alpine County | 244 | 476 |
| Amador County | 13585 | 8153 |
| Butte County | 48730 | 50426 |
| Calaveras County | 16518 | 10046 |
| Colusa County | 4554 | 3234 |
| Contra Costa County | 152877 | 416386 |
| Del Norte County | 6461 | 4677 |
| El Dorado County | 61838 | 51621 |
| Fresno County | 164464 | 193025 |
| Glenn County | 7063 | 3995 |
| Humboldt County | 21770 | 44768 |
| Imperial County | 20847 | 34678 |
| Inyo County | 4620 | 4634 |
| Kern County | 164484 | 133366 |
| Kings County | 24072 | 18699 |
| Lake County | 13123 | 14941 |
| Lassen County | 8970 | 2799 |
| Los Angeles County | 1145530 | 3028885 |
| Madera County | 29378 | 23168 |
| Marin County | 24612 | 128288 |
| Mariposa County | 5950 | 4088 |
| Mendocino County | 13267 | 28782 |
| Merced County | 39397 | 48991 |
| Modoc County | 3109 | 1150 |
| Mono County | 2513 | 4013 |
| Monterey County | 46299 | 113953 |
| Napa County | 20676 | 49817 |
| Nevada County | 26779 | 36359 |
| Orange County | 676498 | 814009 |
| Placer County | 122488 | 106869 |
| Plumas County | 6445 | 4561 |
| Riverside County | 448702 | 527945 |
| Sacramento County | 259405 | 440808 |
| San Benito County | 10590 | 17628 |
| San Bernardino County | 366257 | 455859 |
| San Diego County | 600094 | 964650 |
| San Francisco County | 56417 | 378156 |
| San Joaquin County | 121098 | 161137 |
| San Luis Obispo County | 67436 | 88310 |
| San Mateo County | 75563 | 291410 |
| Santa Barbara County | 65736 | 129963 |
| Santa Clara County | 214612 | 617967 |
| Santa Cruz County | 26937 | 114246 |
| Shasta County | 60789 | 30000 |
| Sierra County | 1142 | 730 |
| Siskiyou County | 13290 | 9593 |
| Solano County | 69306 | 131639 |
| Sonoma County | 61825 | 199938 |
| Stanislaus County | 104145 | 105841 |
| Sutter County | 24375 | 17367 |
| Tehama County | 19141 | 8911 |
| Trinity County | 3188 | 2851 |
| Tulare County | 77579 | 66105 |
| Tuolumne County | 17689 | 11978 |
| Ventura County | 162207 | 251388 |
| Yolo County | 27292 | 67598 |
| Yuba County | 17676 | 11230 |
``{r}
```