clydebaron2000 / Covid-Danger-Data

GNU General Public License v3.0
1 stars 3 forks source link

Fix heat-map to pull from live Covid API rather than CSV hosting API #18

Closed rebgrasshopper closed 4 years ago

rebgrasshopper commented 4 years ago

Nancy, I think you figured out how to get all the data by the end of yesterday, but I was too fuzzy to fully comprehend it.

rebgrasshopper commented 4 years ago

Given that:

when using the origin API for the covid data, you can only pull chunks of 100 in the response, and you must make additional calls until you have the full set of 8700+ responses, which takes 14-15 seconds on my computer

the current method of CSV to API pulls from a CSV that is updated daily and only takes 3 to 5 seconds

then, I think that we should continue pulling from the CSV to API source, and I'm closing this unless anyone wants to reopen