# Carregar pacotes
pkgload::load_all()
pak::pkg_install("curso-r/munifacil")
df_disaster <- get_data_disaster()
# exportar csv
write.csv(df_disaster, "inst/df_disaster.csv")
# escrever a mensagem de commit
commit_message <-
paste0("Base de desastres em MG atualizada em ", Sys.time())
# salvar a mensagem de commit
writeLines(commit_message, "mensagem-comit.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.