Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 814 Bytes

readme.md

File metadata and controls

26 lines (21 loc) · 814 Bytes

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