knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

covidrecon

DOI

R tools for monitoring effectiveness of COVID-19 control efforts

Installation

The development version from GitHub with:

# install.packages("devtools")
devtools::install_github("CBDRH/covidrecon")

Why Another COVID19 R package?

We created an open source dashboard to combine value-adding data visualisations with updated statistical analysis not yet widely seen. We decided to package up a lot of the code used in the dashboard into this R package.

Now, there are many other R packages for pulling COVID19 data, so why create another one? A few reasons. The main one being that the COVID9 data formats, and other other R packages are changing rapidly. We wanted to perform statistical analysis that aren't widely available. We needed to ensure the data stayed in a format that was easily usable for our purposes. We needed something that we could control and add features to ourselves, that wouldn't need to rely on from another person.

This package is still changing and evolving, and it's primary purpose is to implement code

Usage

covidrecon is designed to add statistical analysis and data visualisations of covid19 data. It was created to power this dashboard.

Pulling data

The data source that we recommend using is from the European CDC. You can get this data with covid_latest(). This will by default cache the data downloaded for that day. Here is what the data looks like.

library(covidrecon)
covid <- covid_latest()
covid

This contains new names for the data (from European CDC)

For full use of the package and the data visualisations, we recommend that you look at the dashboard, ozcovis.



CBDRH/covidrecon documentation built on May 27, 2020, 9:41 a.m.