Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 834 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 834 Bytes

vic-council-candidates-scraper

A webscraper that gets all Council candidates from the VEC and writes their details to a CSV.

Getting the data

Data is available as CSV files in the data directory.

  • candidates.csv: Contains all candidates for all councils in Victoria.
  • MCC-candidates.csv: Contains all candidates for Melbourne City Council.
  • MCC-leadership.csv: Contains all leadership candidates for Melbourne City Council.

Running project

  1. Set up the virtual environment & install dependencies using poetry.
poetry init
poetry install
  1. Run the project

Scraper

poetry run python scraper.py

Keyword search

poetry run python keywords.py