knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(cwdcovid19)
library(dplyr)

Explore the COVID-19 daily cases data of Chile and Bolivia


Data provided by this package


The original dataset

coronavirus %>% 
  head(5)

The long format dataset

coronavirus_long %>% 
  head(5)


The wide format dataset

coronavirus_wide %>% 
  head(5)


Launch the shiny app within this package


Explore more

There's another function: n_countries() in this package. This would provide some space for the users to explore the dataset by themselves. For example, maybe you would like to know how many countries reported newly confirmed cases on a certain date.



etc5523-2020/r-package-assessment-1029YanMa documentation built on Jan. 1, 2021, 1:09 a.m.