GithubHelp home page GithubHelp logo

tochsner / covid_19 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openzh/covid_19

0.0 0.0 0.0 1.48 MB

COVID19 case numbers Cantons of Switzerland and Principality of Liechtenstein (FL) - case numbers include persons tested in the respective area. The data is updated at best once a day (times of collection and update may vary). Start with the README.

Home Page: https://statistik.zh.ch/internet/justiz_inneres/statistik/de/covid19.html

License: Creative Commons Attribution 4.0 International

Shell 4.07% JavaScript 0.60% Jupyter Notebook 68.85% Python 26.12% Ruby 0.36%

covid_19's Introduction

OpenZH-logo

GD-logo

GitHub commit Binder

SARS-CoV-2 Cases communicated by Swiss Cantons and Principality of Liechtenstein (FL)

Our aim is to create a common official OGD dataset of SARS-CoV-2 cases of the Swiss Authorities.

The infection rates refer to the infection with SARS-CoV-2, whereas the disease caused by the virus is called Covid-19.

We are providing SARS-CoV-2 case numbers in machine-readable form (CSV) as OGD resources (Open Government Data), that have been published by official sources (Cantons and FL) online. Sources are specifed with the respective URL(s).

Case numbers include persons tested and treated in the respective Canton resp. Principality of Liechtenstein. Important: Since 09.03.2020, only persons who meet certain test criteria are tested (see e.g. with the Canton of Zurich "Testkriterien" at www.gd.zh.ch/coronavirus).

The data is updated regularly - if available daily. Times of collection and update of the data may vary.

We are seeking to cover all Cantons, and to update the data automatically (by scraping or pipeline). Join our challenge to contribute to this goal: https://db.schoolofdata.ch/project/73

There is a merged file of all Cantons and FL that is automatically updated for use in data analysis.

You can get started exploring the data with visualise.ipynb (run it in your browser).

We are available to advise and support interested authorities. You can reach us: https://twitter.com/OpenDataZH (follow us, we send you a private Direct Message, thanks!)

(Latest full roundtrip to check for updates: completed at 2020-03-25 18:20 - next full roundtrip starting at at 2020-03-25 20:00)

OGD resource updated by latest update data historized Official source(s)
FL manually 2020-03-25 20:00 yes see 'source' OGD resource
AG scraping 2020-03-25 15:00 yes see 'source' OGD resource
for list of all sources see here
AI manually 2020-03-25 17:00 yes see 'source' OGD resource
AR scraping 2020-03-26 09:00 yes see 'source' OGD resource
BE scraping 2020-03-26 yes see 'source' OGD resource
BL scraping 2020-03-26 yes see 'source' OGD resource
BS manually 2020-03-26 10:30 yes see 'source' OGD resource
FR manually 2020-03-18 (partially) no see 'source' OGD resource
GE manually 2020-03-25 12:00 no see 'source' OGD resource
GL manually 2020-03-26 13:30 no see 'source' (data before 2020-03-22 not official) OGD resource
GR scraping 2020-03-26 no see 'source' (identical case no. for 2020-03-22; we're verifying) OGD resource
JU scraping 2020-03-25 18:00 no see 'source' OGD resource
LU scraping 2020-03-26 11:00 no see 'source' OGD resource
NE scraping 2020-03-25 14:00 no see 'source' OGD resource
NW scraping 2020-03-25 15:30 no see 'source' OGD resource
OW manually 2020-03-25 no see 'source' OGD resource
SG scraping 2020-03-26 yes see 'source' OGD resource
SH scraping 2020-03-26 07:00 no see 'source' OGD resource
SO scraping 2020-03-26 00:00 yes see 'source' (data before 2020-03-20 not official) OGD resource
SZ manually 2020-03-25 no see 'source' (one record not official) OGD resource
TG scraping 2020-03-26 no see 'source' OGD resource
TI manually 2020-03-25 08:00 yes see 'source' OGD resource
UR scraping 2020-03-24 12:00 yes see 'source' OGD resource
VD manually 2020-03-25 yes see 'source' OGD resource
VS scraping 2020-03-25 15:00 yes see 'source' OGD resource
ZG scraping 2020-03-26 08:00 no see 'source' OGD resource
ZH manually 2020-03-26 09:30 yes see 'source' OGD resource

Data structure

The data of the Cantonal case numbers is structured in such a way, it can be easily expanded vertically (Confederation).

example-file

Field Name Description Format
date Date of notification YYYY-MM-DD
time Time of notification HH:MM
abbreviation_canton_and_fl Abbreviation of the reporting canton Text
ncumul_tested Tests performed (cumulative) Number
ncumul_conf Number of confirmed cases Number
ncumul_hosp Number of hospitalised patients Number
ncumul_ICU Number of hospitalised patients in ICUs Number
ncumul_vent Number of patients requiring ventilation Number
ncumul_released Number of patients released from hospitals Number
ncumul_deceased Number of deceased Number
source Source of the information href

Metadata and explanations

Cases Canton ZH

Metadata (in German): https://opendata.swiss/en/dataset/covid_19-fallzahlen-kanton-zuerich

Cases all Cantons CH

Metadata (in English): https://opendata.swiss/de/dataset/covid_19-cases-per-canton-of-switzerland-and-principality-of-liechtenstein

Important: Data is being updated after the next official data publication incl. Cantonal level issued by the Federal Office of Public Health FOPH: https://www.bag.admin.ch/bag/en/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov/situation-schweiz-und-international.html#-1199962081

Quick beta Visualization: https://observablehq.com/@mmznrstat/covid19-cases-in-switzerland

Community Contributions

Visualization of Swiss and Cantonal Case Numbers over Time

Operations Dashboard

corona-data.ch

Many thanks for the great work!

covid_19's People

Contributors

tlorusso avatar metaodi avatar zukunft avatar baryluk avatar jb3-2 avatar fab-benz avatar corinnehuegli avatar sarahnadeau avatar fabian avatar judithbouman2412 avatar mmznrstat avatar ebeusch avatar gaberoo avatar hroest avatar taremeh avatar rsalzer avatar simon-mettler avatar rokroskar avatar pedrodude avatar michadavid avatar deragent avatar jstcki avatar betatim avatar andreasamsler avatar davidnussio avatar filippo82 avatar hmutzner avatar zdavatz avatar inaertlt avatar luca-dall 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.