Where in the meta.json there would be a subset what's in timeseries-byLocation.json without dates prop, so that I can populate the dropdown/autofill for user to select the necessary location.
Describe alternatives you've considered
I've considered splitting the timeseries-byLocation.json as part of dashboard logic but it's stupid idea - a lot better to do so as part of this repo so everyone would benefit from it.
Notes
Also I'd love to have aggregation beyond country level - by region and world total. If you wish to provide that then that should be taken into account by organizing the API path
Original issue https://github.com/covidatlas/coronadatascraper/issues/621, transferred here on Friday Apr 03, 2020 at 10:41 GMT
Description.
I'm frustrated that my Pandemic Estimator takes long time fetching whole dataset, while I display only one location at a time.
Describe the solution you'd like
I'd like a endpoint for single location. Instead of
https://coronadatascraper.com/timeseries-byLocation.json
, sometime likehttps://coronadatascraper.com/timeseries/location/meta.json
https://coronadatascraper.com/timeseries/location/france.json
https://coronadatascraper.com/timeseries/location/france/normandie.json
Where in the
meta.json
there would be a subset what's intimeseries-byLocation.json
withoutdates
prop, so that I can populate the dropdown/autofill for user to select the necessary location.Describe alternatives you've considered
I've considered splitting the
timeseries-byLocation.json
as part of dashboard logic but it's stupid idea - a lot better to do so as part of this repo so everyone would benefit from it.Notes
Also I'd love to have aggregation beyond country level - by region and world total. If you wish to provide that then that should be taken into account by organizing the API path