Transforms the data from CSSEGISandData/COVID-19 into a json file. Available at https://pomber.github.io/covid19/timeseries.json. Updated three times a day using GitHub Actions.
The json contains the number of Coronavirus confirmed cases, deaths, and recovered cases for every country and every day since 2020-1-22:
{
"Thailand": [
{
"date": "2020-1-22",
"confirmed": 2,
"deaths": 0,
"recovered": 0
},
{
"date": "2020-1-23",
"confirmed": 3,
"deaths": 0,
"recovered": 0
},
...
],
...
}
For example, if you want to use it from a web site:
fetch("https://pomber.github.io/covid19/timeseries.json")
.then(response => response.json())
.then(data => {
data["Argentina"].forEach(({ date, confirmed, recovered, deaths }) =>
console.log(`${date} active cases: ${confirmed - recovered - deaths}`)
)
})
- Mobile Friendly COVID-19 Report (repo): Coronavirus daily report in a mobile friendly website (PWA)
- COVID-19 Daily Report (repo): Coronavirus daily report, updated hourly
- COVID-19 GLOBAL Report (repo)
- covid-charts (repo): chart widget with Coronavirus stats for specified country
- COVID-19 GraphQL API (repo)
- COVID-19 Global Chart (repo): Chart GeoMap with last status by country.