Title: | COVID-19 Cases in Switzerland and Principality of Liechtenstein |
---|---|
Description: | Provides a daily summary of the Coronavirus (COVID-19) cases in Switzerland cantons and Principality of Liechtenstein. Data source: Specialist Unit for Open Government Data Canton of Zurich <https://www.zh.ch/de/politik-staat/opendata.html>. |
Authors: | Rami Krispin [aut, cre] |
Maintainer: | Rami Krispin <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0 |
Built: | 2024-11-09 04:38:45 UTC |
Source: | https://github.com/Covid19R/covid19swiss |
daily summary of the Coronavirus (COVID-19) pandemic cases in Switzerland by Canton
covid19swiss
covid19swiss
A data.frame object
The dataset contains the daily summary of the Coronavirus pandemic cases in Switzerland and Principality of Liechtenstein. The data includes the following fields:
date - the timestamp of the case, a Date object
location - the Cantons of Switzerland and the Principality of Liechtenstein (FL) abbreviation code
location_type - description of the location, either Canton of Switzerland or the Principality of Liechtenstein
location_code - a canton index code for merging geometry data from the rnaturalearth package, available only for Switzerland cantons
location_code_type - the name of code in the rnaturalearth package for Switzerland map
data_type - the type of case
value - the number of cases corresponding to the date and data_type fields
Where the available data_type field includes the following cases:
total_tested - number of tests performed as of the date
total_confirmed - number of positive cases as of the date
new_hosp - new hospitalizations with respect to the previously reported date
current_hosp - number of hospitalized patients as of the current date
current_icu - number of hospitalized patients in ICUs as of the current date
current_vent - number of hospitalized patients requiring ventilation as of the current date
total_recovered - total number of patients recovered as of the current date
total_death - total number of death as of the current date
Specialist Unit for Open Government Data Canton of Zurich website
data(covid19swiss) head(covid19swiss)
data(covid19swiss) head(covid19swiss)
Returns information about the datasets in this package for covid19R harvesting
get_info_covid19swiss()
get_info_covid19swiss()
a data.frame of information about the datasets in this package
get_info_covid19swiss()
get_info_covid19swiss()
aily summary of the Coronavirus (COVID-19) pandemic cases in Switzerland by Canton
refresh_covid19swiss()
refresh_covid19swiss()
A data.frame object
Specialist Unit for Open Government Data Canton of Zurich website
# update the data covid19_swiss <- refresh_covid19swiss()
# update the data covid19_swiss <- refresh_covid19swiss()
Checks if new data is available on the package dev version (Github). In case new data is available the function will enable the user the update the datasets
update_swiss_data()
update_swiss_data()
update_swiss_data()
update_swiss_data()