knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of covidminsa is to be an easy way to obtain data from Minsa Peru about COVID-19.
You can install the development version of covidminsa from GitHub with:
# install.packages("devtools") devtools::install_github("brianmsm/covidminsa")
This is a basic example which shows you how to download the vaccination data:
library(covidminsa)
get_vaccination()
library(dplyr)
fs::dir_info() %>% select(path, type, size, modification_time) %>% filter(stringr::str_detect(path, "vacunas_covid"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.