3 ms·
I'd like to do something similar using GIS tools, what JH API call are you using for the national data? The one I have returns a mix of country and region data
by Recurecur 7y ago
I'd like to do something similar using GIS tools, what JH API call are you using for the national data?
The one I have returns a mix of country and region data, I want just the country level summaries (confirmed, deaths, recovered).
Thanks for any help!
- adventured 7y agoThe data is all manually pulled. I thought about writing a script to retrieve all the state data and recalculate daily, because I've wanted a persistently updated per capita figure, but have been too busy to get to it the last few days. This site: https://covidtracking.com/data https://covidtracking.com/data is doing a good job of updating the state data about once or twice per day. You can get slightly more accurate data by hitting each state site, as the aggregator site lags slightly behind typically. For my own consumption I thought about just once-per-day scraping that site and using its data to update the per capita numbers for each state. You could do a historical back-fill based on the data from that site (it has histories for the nation and each state, as they've been accumulating it each day) and show a running per capita figure. On the upside for dealing with the national data, you really only need to update that once per day and it's easy to manually plug it in if you're only going to focus on the large volume case nations (less than two dozen; and China's figures aren't really changing much). Alternatively there are a few sites out there that are tracking national data to varying degrees of accuracy on updating that could be scraped once per day.