The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

covid19br

R build status CRAN_Status_Badge Downloads Total Downloads R-CMD-check

The goal of the package is to provide a function to automatically import the Brazilian COVID-19 pandemic data into R. Brazilian data is available on country, region, state, and city levels, and are downloaded from the official Brazilian repository at <https://covid.saude.gov.br/>. The package also enables one to download the world-level COVID-19 data from the Johns Hopkins University’s repository at <https://github.com/CSSEGISandData/COVID-19>.

Installation

You can install the released version of covid19br from CRAN with:

install.packages("covid19br")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("fndemarqui/covid19br")

Example

Downloading COVID-19 pandemic data:

library(covid19br)
library(tidyverse)

brazil <- downloadCovid19("brazil")
regions <- downloadCovid19("regions")
states <- downloadCovid19("states")
cities <- downloadCovid19("cities")
world <- downloadCovid19("world")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.