R/data.R
covid19swiss.Rd
daily summary of the Coronavirus (COVID-19) pandemic cases in Switzerland by Canton
covid19swiss
A data.frame object
Specialist Unit for Open Government Data Canton of Zurich website
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
#> date location location_type location_code location_code_type #> 1 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> 2 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> 3 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> 4 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> 5 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> 6 2020-01-24 GE Canton of Switzerland CH.GE gn_a1_code #> data_type value #> 1 tested_total 4 #> 2 cases_total NA #> 3 hosp_new NA #> 4 hosp_current NA #> 5 icu_current NA #> 6 vent_current NA