reset_data <- function(path,folder = 'covid_data'){
dir <- file.path(path,folder)
if(!dir.exists(dir)){
dir.create(dir)
}
update_population(dir)
update_spain_popualtion(dir)
update_data(dir)
update_spain_data(dir)
update_scrap_data(dir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.