update_population <- function(path,filename='population.csv'){
"https://raw.githubusercontent.com/frandiego/data/master/population.csv" %>%
fread() %>%
fwrite(file.path(path,filename))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.