328 articles that mention non-incumbents that are coded as unique.
We did not determine whether an article was unique across the whole data set. For example, if an article mentions two different challengers, it would appear in our data twice.
What types of articles did we have?
1 = news story
2 = opinion or editorial
3 = letter to the editor
4 = advertisement/notification
99 = other
Code
combined_unique_articles <-bind_rows(inc_unique_articles, ninc_unique_articles) combined_unique_articles %>%tabyl(type_of_article) %>%datatable(options =list(dom='t'),rownames =FALSE,colnames =c('Type', '# of articles', '% of articles')) %>%formatPercentage('percent', 2) %>%formatRound('n', digits =0)
How competitive was each contest we analyzed?
Note: In Lake County, Oregon, there was no incumbent following the resignation of the previous district attorney in 2018. In other contests marked as “open,” the incumbent did not run but did receive news coverage.