openreferral / api-specification

This is the working repository for Open Referral's Human Services Data API protocols.
https://openreferral.readthedocs.io/en/latest/hsda/
Other
29 stars 13 forks source link

HSDA Postal Code Search Parameters #91

Closed kinlane closed 3 years ago

kinlane commented 5 years ago

Adding postal code search for HSDA, allowing searching using proximity across all core resources.

NeilMcKLogic commented 5 years ago

Just want to point out for this to work properly, the entity hosting the data needs a reliable lat/long approximation for each postal code to get reasonably accurate results. Unfortunately, postal codes can be geographically quite large (see rural Canada for example, hundreds of square kilometers each). It's better than nothing, but far from perfect. Caveat emptor.

kinlane commented 5 years ago

OpenReferral can only speak to the schema, and access via the API to the schema. I would say that quality / scope of functionality behind interface is out of scope of this work.

MikeThacker1 commented 4 years ago

In the UK we have asked implementation to support a syntax like this /services?postcode=BS3%204AQ&proximity=5000 with proximity in metres.

kinlane commented 3 years ago

I am proposing we adopt an approach similar to GitHubs: