Skip to content

Web scraping, candidate data, and election visualizations

Notifications You must be signed in to change notification settings

BlakeRMills/2022-Election-Material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

2022 Election

Materials

This repository is where analyses, data, and useful scripts regarding the 2022 Elections in the United States will be stored. All data and scripts are welcome to be used by anyone. Feel free to reach out to me if there are any issues.

Content

Ballotpedia Webscraper

Contains an R file that scrapes webpages for each of the 435 US House of Representative races in 2022. Only candidates that are listed on Ballotpedia are included, therefore, the data may not encompass all candidates. The webscraper gives the name of the candidate, their party, the district they are running for, a link to their individual candidate page on Ballotpedia, a link to their campaign website, as well as their Twitter account handles (Official, Personal, and Campaign accounts)

The folder also contains the output of webscraper as a CSV or an Excel sheet for anyone who would like to use the data. This file was last updated on: Oct 21st, 2021.

About

Web scraping, candidate data, and election visualizations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages