GithubHelp home page GithubHelp logo

portugbd / 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 76.84 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 2.18% JavaScript 1.54% Jupyter Notebook 47.99% Python 48.04% Ruby 0.25%

covid_19's Introduction

OpenZH-logo

GD-logo

GitHub commit Binder

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

We are providing a common official OGD dataset of SARS-CoV-2 case numbers, which are communicated by official Swiss canton's (26 cantons, abbreviations see below) and Principality of Liechtenstein's (abbreviation: FL) sources.

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 specified 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 specifying the date of the last reporting, and - if available - a time-stamp, too.

The data is both automatically and manually updated, and regularly checked. We are performing three times a day complete manual updates and verifications; these "roundtrips" are starting at 8am, 2pm and 8pm. They are usally completed within 60 minutes.

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, how to easily complete both historized data, and missing columns. You can reach us:

Data Updates

--> Check our status dashboard with the latest data updates

Note: Image below is updated every 15 minutes. Dashboard of data updates

Cantonal / FL data ressources

Canton / FL updated by data historized
FL manually yes
AG scraping yes
AI scraping yes
AR scraping yes
BE scraping yes
BL scraping yes
BS scraping yes
FR scraping yes
GE manually no
GL scraping no
GR scraping no
JU scraping no
LU scraping no
NE manually no
NW scraping no
OW scraping no
SG scraping yes
SH scraping no
SO scraping yes
SZ scraping no
TG scraping no
TI scraping yes
UR scraping yes
VD scraping yes
VS scraping yes
ZG scraping no
ZH scraping yes

Data structure

The data of the Cantonal case numbers is structured as follows:

example-file

Field Name Description Format Note
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 Reported number of tests performed as of date Number Irrespective of canton of residence
ncumul_conf Reported number of confirmed cases as of date Number Only cases that reside in the current canton
ncumul_hosp * Reported number of hospitalised patients on date Number Irrespective of canton of residence
ncumul_ICU * Reported number of hospitalised patients in ICUs on date Number Irrespective of canton of residence
ncumul_vent * Reported number of patients requiring invasive ventilation on date Number Irrespective of canton of residence
ncumul_released Reported number of patients released from hospitals or reported recovered as of date Number Irrespective of canton of residence
ncumul_deceased Reported number of deceased as of date Number Only cases that reside in the current canton
source Source of the information href

*These variables reflect current, not cumulative numbers, even if the prefix in the column-name might suggest otherwise. Column names will not be changed to grant stability.

Note that only numbers communicated by the cantons are published in the files, i.e. it's possible that there are gaps, when a canton did not provide a certain number on a date. It's on purpose that the cumulative numbers are not carried forward if no new number is communicated.

Note about empty values vs. 0:

Value Meaning
0 canton communicated 0 for this variable on that date
empty canton communicated nothing/did not provide a value for this variable on that date

Community Contributions

Visualization of Swiss and Cantonal Case Numbers over Time

Operations Dashboard

corona-data.ch

Interactive Small Multiples of Case Numbers by Canton

REST-API

Data for Basel-Stadt

Many thanks for the great work!

covid_19's People

Contributors

metaodi avatar tlorusso avatar baryluk avatar gaberoo avatar jb3-2 avatar zukunft avatar judithbouman2412 avatar claudia013 avatar fab-benz avatar sarahnadeau avatar viktoria023 avatar corinnehuegli avatar fabian avatar janetzkoa avatar mmznrstat avatar ebeusch avatar calmyournerves avatar hroest avatar simgraworldwide avatar taremeh avatar andreasamsler avatar rsalzer avatar piotrpiotrowski avatar simon-mettler avatar rokroskar avatar pedrodude avatar michadavid avatar deragent avatar jstcki avatar raphaelmoser 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.