This repository contains web scraper for municipal finance data.
- Visual Studio Code: download Visual Studio Code and install it.
- Anaconda: download anaconda and install it.
- Download this repo
- Go to terminal(or cmd) and type
$ conda create -n municipal-finance-data
$ conda activate municipal-finance-data
$ pip install -r requirements.txt
- Open api_V2.py using VS Code and set PATH and Key variable
- On your terminal, type target year and month and day where you want to start to scrape to scrape data.
$ python api_V2.py [year] [month] [day]
e.g. Below code start scraping data in 2016 from March 1st.
$ python api_V2.py 2016 3 1