bayesimpact / encompass

Bayes Impact's Encompass Tool for Visualizing and Analyzing Geographic Access
https://encompass.bayes.org
Apache License 2.0
26 stars 7 forks source link

Cleverer rp API #705

Open ericboucher opened 6 years ago

ericboucher commented 6 years ago

Ideally the backend accepts a list of service area descriptions. For a full state, this could be as simple as [{'state': 'TX'}], and we could use this information in the cache filename.

Then the backend methods (e.g., fetch) can accept these descriptions and convert them into SQL, etc.

ericboucher commented 6 years ago

Note that we would also be able to switch to GET functions, and then enable caching at the Nginx level.