Tool to get VA restaurant health inspection data from website to database. Addresses are geocoded using the SmartyStreets API. An older version uses the Google Geocoding API. To use SmartyStreets you will need to obtain a key. The Google version does not require a key but is limited to 2,500 lookups per 24-hour period.
To run:
-
cd to the
scraper
directory -
Add
config.json
file with the following content:{"db_uri": "[URI TO MONGODB]", "db_name":"[NAME OF DATABASE]", "ss_id": "[SmartyStreets ID]", "ss_token":"[SmartyStreets Token]"}
-
Run the python 2.x script
python scrapeHealthData.py