Skip to content

Code to download daily reports of Early Voters from the Texas Secretary of State website

Notifications You must be signed in to change notification settings

MaxPowerWasTaken/tx_early_voting_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

TX Early Voting Scraper

Python Environment

This project uses uv for virtual environment management. If you don't have uv already, see install instructions here

To create a new virtual environment and install dependencies, run the following from your shell:

# Create a virtual environment at .venv.
uv venv

# Activate the virtual environment
source .venv/bin/activate  # or .venv\Scripts\activate On Windows.

# Install from a requirements.txt file.
uv pip install -r requirements.txt  

Useage

To run the scraper, downloading and saving each available day's Early Voting data to a local csv, run:

python download_ev_files.py

To then combine all the downloaded files [and eventually upload to bq], run:

python combine_results.py

About

Code to download daily reports of Early Voters from the Texas Secretary of State website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages