check_inputs | R Documentation |
Check whether a raw or processed input exists
check_inputs(mainPath, location, type, onlyPrint = TRUE)
mainPath |
character; the parent directory of the location folder |
location |
character; the location folder name |
type |
character; 'raw' or 'processed' depending on whether the required input is the raw input or the already processed one. |
onlyPrint |
logical; should the function just print which inputs are available and which are not available. Internally
|
character vector when onlyPrint
= FALSE, and NULL when onlyPrint
= TRUE
# Replace workDir with the actual path to your working directory
## Not run:
mainPath <- "workDir"
initiate_project(mainPath)
## End(Not run)
# Replace myLocation with the location name you are working on (workDir subfolder)
## Not run:
location <- "myLocation"
check_inputs(mainPath, location, type = "raw")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.