si_path | R Documentation |
'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")
type |
folderpath, eg "path_msd" (default), "path_datim", "path_raster", "path_vector", "path_downloads" |
folderpath stored in global options
Other stored paths:
set_paths()
## Not run:
#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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.