R/path.R

Defines functions stcovid_path

Documented in stcovid_path

#' Retrieve a CDC path
#'
#' @export
#' @param ... path segments passed to file.path
#' @param root character, the root path to the CDC data directory
#' @return a file/directory path (not tested for existence)
stcovid_path <- function(...,
                       root = "/mnt/ecocast/projectdata/covid19/stcovid"){
  file.path(root, ...)
}
BigelowLab/stcovid documentation built on May 1, 2020, 3:59 p.m.