GithubHelp home page GithubHelp logo

ryanapilado / toronto-covid-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 410 KB

Google Cloud Function which scrapes new COVID-19 cases for Toronto and Ontario from the province's daily epidemiological update.

Home Page: https://twitter.com/toronto_covid19

JavaScript 99.18% Shell 0.82%

toronto-covid-tracker's Introduction

Toronto COVID-19 New Cases

Simple Google Cloud Function which retrieves the daily new cases of COVID-19 in Toronto and in Ontario, as reported in the province's daily epidemiological update.

Usage

Sample query string: ?date=YYYY-MM-DD

Sample response:

{
    "torontoNewCases": 6,
    "ontarioNewCases": 76
}

Notes

This only works for the current report format, which reports daily new cases. The Ontario government changed the format sometime in early June. Reports prior to that date do not include daily new cases, so there is no data in those reports for the code to retrieve.

Negative numbers for Toronto are occasionally reported due to corrections and updates from Toronto Public Health.

toronto-covid-tracker's People

Contributors

ryanapilado avatar

Stargazers

 avatar

Watchers

 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.