Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Offsite Location #3

Open
codyja opened this issue Mar 9, 2021 · 2 comments
Open

Offsite Location #3

codyja opened this issue Mar 9, 2021 · 2 comments

Comments

@codyja
Copy link

codyja commented Mar 9, 2021

Excellent work on this project!

I haven't figured out why yet, but I don't believe non store locations (like offsite vaccination sites) are showing up in the table. Here's an example, with this location set:

home_coords = (30.0475, -99.140583)

With max_dist=20, I only see 2 sites around this town, but there's really 3.
image

Here's an example curl showing 3 actual sites in this town:

curl 'https://heb-ecom-covid-vaccine.hebdigital-prd.com/vaccine_locations.json' -s | jq '.locations[] |select(.city | test("kerrville";"i"))'
@codyja
Copy link
Author

codyja commented Mar 9, 2021

Oh, maybe never mind. I see the 'offsite' locations don't have a lat/long.

@tannerblair
Copy link
Owner

Oh, interesting. That could be a problem in that there could be vaccinations available that you're missing. I don't know that I'll fix it because it's still better than nothing, but if you have any ideas on how to change it I would be happy to hear them or take a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants