Re:Show HN: Open Covid-19 Vaccine Appointments
by ekatzenstein on Wednesday January 27, 2021 @09:35PM
(#25937408)
Good point...thought about doing a typeahead for nearer zip codes if the zip code searched doesn't show up results. Counties are interesting idea, but the bucketing needs to be simplified to lat/lng for data ingestion, which is why zip codes were chosen, arguably the most intuitive thing that's "close enough" to a lat/lng coord.
[ Parent
| on HN ]
Re:Show HN: Open Covid-19 Vaccine Appointments
by Townley on Thursday January 28, 2021 @12:26AM
(#25938553)
Dunno what search backend you’re using, but if it’s ElasticSearch this can be done pretty quickly with a Gaussian decay filter. That takes in lat/lng directly, and adjusts the ordering of results.
That’d also give the nifty feature of finding the closest available vaccine, even if it’s a hundred miles away (not a walk in the park, but I’d drive that far personally)
Re:Show HN: Open Covid-19 Vaccine Appointments
by ekatzenstein on Thursday January 28, 2021 @02:42PM
(#25947855)
Cool idea, thanks for the tip.