Coder Social home page Coder Social logo

lumenwang / covid19 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pomber/covid19

0.0 0.0 0.0 671 KB

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

Home Page: https://pomber.github.io/covid19/timeseries.json

JavaScript 100.00%

covid19's Introduction

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.

covid19's People

Contributors

actions-user avatar ae0l avatar agaktr avatar alexanderritik avatar atapas avatar backtrackbaba avatar daniel-karl avatar dhanushkac avatar f2acode avatar jvas28 avatar lkameya avatar main-sh4 avatar mrsunshyne avatar mugabodeo avatar neniemsu avatar ngmikeng avatar nickmccullum avatar ormesam avatar pomber avatar randallarms avatar remdelaportemathurin avatar ritomsonowal avatar rlindskog avatar robert-northmind avatar royriojas avatar rsheptolut avatar sauravkanchan avatar thomas-alrek avatar twei55 avatar vinecz-data avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.