Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ covid19 Public

JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily

Notifications You must be signed in to change notification settings

pomber/covid19

Repository files navigation

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}`)
 );
 });

Projects using this dataset (+ add yours)

APIs

Tutorials

Visualizations

Analysis

Adding your project to the list

Pull requests adding more projects to this list are welcome, just a few rules:

  • Add only open source projects
  • Make sure the project cite this repo as a data source (with a link)
  • Follow the same order as the rest of the list - [project-name](your-project-url) ([repo](repo-url)): description
  • Try not to add extra blank lines, it breaks the formatting

πŸ‘‰ add a new project to the list

License

The code from this repo is MIT licensed.
The data is under CSSEGISandData/COVID-19 terms of use.

About

JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 126

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /