The goal of covid19cvdata package is to provide datasets of Covid19 Cases in Cabo Verde, although the public entities only provide a dashboard (the sad part) it was possible to extract the data to csv and organize them in tidy format for the COVID-19 datasets.
covid19cv
- For each date since the first case, containing the nacionality, sex, age group, type of case (confirmed, recovered or death) and other categories.
covid19cv_nacional
- The number of cases by type for each date since the first case
covid19cv_concelhos
- The number of cases by type for each province/region of Cabo Verde for each date since the first case
covid19cv_pop
- The number of cases for each type (recovered,death,confirmed,ative,etc)by age group and sex
You can install the most recent version of covid19cvdata from Github with:
devtools::install.github("covid19cvdata")
This is a basic example which shows you how to update the installed package datasets
library(covid19cvdata) data.update()
head(covid19cv)
data nacionalidade sexo tipo_caso tipo_transmissao concelho grupo_etario ilha long lat
# 2020-03-19 Inglesa M confirmado Importado Boa Vista [60,70[ BV -22.80094 16.09951
# 2020-03-21 Holandesa F confirmado Importado Boa Vista [60,70[ BV -22.80094 16.09951
# 2020-03-21 Inglesa M confirmado Importado Boa Vista [50,60[ BV -22.80094 16.09951
# 2020-03-24 Inglesa M obito Importado Boa Vista [60,70[ BV -22.80094 16.09951
# 2020-03-25 Cabo-verdiana M confirmado Importado Praia [40,50[ ST -23.50961 14.91602
# 2020-03-25 Inglesa M evacuado Importado Boa Vista [50,60[ BV -22.80094 16.09951
Italy Covid19 by Rami Krispin: This project was a bible to learn how to build datasets package and follow the tidy standart format applied by his project Covid19R. Thank You!
Tutorial on R-bloggers
R Packages Book Site
Please note that the ‘covid19cvdata’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.