R/create_folders.R

Defines functions create_folders

Documented in create_folders

#' create_folders
#' @export
create_folders <- function() {
  # standard
  fs::dir_create(fd::path("results", "externalapi"))
  fs::dir_create(fd::path("results", latest_date()))
  fs::dir_create(fd::path("results", latest_date(), "standard"))
  fs::dir_create(fd::path("results", latest_date(), "standard", "alert_pdfs"))
  fs::dir_create(fd::path("results", latest_date(), "emerg"))
  fs::dir_create(fd::path("results", latest_date(), "stats"))
  fs::dir_create(fd::path("results", latest_date(), "skabb"))

  # mem?
}
raubreywhite/dashboards_sykdomspuls documentation built on April 27, 2020, 6:11 p.m.