`si_path` accesses folder paths stored in global options to make it easier work across analysts/machines. Analysts will first setup the paths using `set_paths()` which then store local folder paths where larger data are stored centrally and outside of projects. This will also work on PEPFAR Workbench to return the location of the MSD, `Sys.getenv("S3_READ")`.

si_path(type = "path_msd")

Arguments

type

folderpath, eg "path_msd" (default), "path_datim", "path_raster", "path_vector", "path_downloads"

Value

folderpath stored in global options

See also

Other stored paths: set_paths()

Examples

if (FALSE) { # \dontrun{
#old
  list.files("C:/Users/rshah/Documents/Data", "OU_IM", full.names = TRUE)
#new
  list.files(si_path("path_msd"), "OU_IM", full.names = TRUE)
} # }