Brazilian COVID-19 Pandemic Data

Set of functions to import COVID-19 pandemic data into R. The Brazilian COVID-19 data, obtained from the official Brazilian repository at < https://covid.saude.gov.br/>, is available at the country, region, state, and city levels. The package also downloads world-level COVID-19 data from Johns Hopkins University's repository. COVID-19 data is available from the start of follow-up until to May 5, 2023, when the World Health Organization (WHO) declared an end to the Public Health Emergency of International Concern (PHEIC) for COVID-19.


covid19br

R buildstatus CRAN_Status_Badge Downloads TotalDownloads

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")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("covid19br")

1.0.0.1 by Fabio Demarqui, a year ago


https://fndemarqui.github.io/covid19br/


Report a bug at https://github.com/fndemarqui/covid19br/issues


Browse source code at https://github.com/cran/covid19br


Authors: Fabio Demarqui [aut, cre, cph] , Cristiano Santos [aut] , Matheus Costa [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports data.table, dplyr, httr2, rlang, sf, tibble, tidyr

Suggests ggrepel, kableExtra, knitr, leaflet, pracma, plotly, rmarkdown, testthat, tidyverse


See at CRAN