The goal of this project is to begin the methods for my project coming in later months. This is hopefully going to serve the role of allowing me to nail down some of the particulars so I am not completely winging it at a later date. After loading tidyverse, the next step is loading in Alamance County’s voting file and viewing it.
Now that those data sets are incorporated, we will run a histogram to look at the spread of precincts. To do this, we will filter the data to have only one election, in this case the 2020 general.
NCv1.1 <- NCv1 %>%
filter(election_lbl == "11/03/2020")
ggplot(NCv1.1) +
geom_bar(aes(x = pct_description), stat = "count")
Something that becomes abundently clear at this point is that there are a lot of precincts in Alamance County. The next step is looking at just how many there are.
NCv1.2 <- NCv1.1 %>%
group_by(pct_label) %>%
count()
Through that, we see that there are 929 different “precincts”, though quickly viewing it makes it clear that part of that is attributable to having precintcs written different ways. However, this gives us a good direction to go in for later efforts, as it shows we need to do something to resolve the precinct issue.