Project to scrape election data
Tested using python 3.7 on ubuntu.
- Install requirements:
- curl
- geckodriver
-
set up a virtual environment
-
pip install requirements.txt
-
set up a data directory
(working in your virtual environment in this directory)
python ./ptp.py JOB_NAME
where job name options are:
- peru_regional_and_municipal_2018
- peru_second_presidential_2021