From the absolute figures I did the final calculation to get the 100k rates based on the latest population figures I could find for each location.
From the absolute figures I did the final calculation to get the 100k rates based on the latest population figures I could find for each location.
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!
This site: 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.