R/update_population.R

Defines functions update_population

update_population <- function(path,filename='population.csv'){
  "https://raw.githubusercontent.com/frandiego/data/master/population.csv" %>%
    fread() %>%
    fwrite(file.path(path,filename))
}
frandiego/covidTracker documentation built on May 4, 2020, 9:23 a.m.