Code4HR / open-health-inspection-scraper

Scraper for the open-health-inspector app.
Apache License 2.0
7 stars 9 forks source link

Handle non-standard addresses gracefully #30

Open qwo opened 9 years ago

qwo commented 9 years ago

reported via @bschoenfeld validate if data is present in the scraper.

bschoenfeld commented 9 years ago

Pretty sure the geocoder gets tripped up by on campus addresses.

ttavenner commented 9 years ago

This is a strong possibility. I've seen similar with ODU for instance. I count 198 out of 664 vendors in the DB without any lat/lng. You can compare these two API calls to get an idea of how many are missing geo info: http://api.openhealthinspection.com/vendors?locality=New%20River%20Health%20District http://api.openhealthinspection.com/vendors?locality=New%20River%20Health%20District&lat=37.2192357&lng=-80.4260911&dist=10000