RunMacro | R Documentation |
A GISDK macro is a function defined in a GISDK scrip (.rsc). When working in
Caliper software, these are always called in GISDK using the
RunMacro()
function.
RunMacro(macro_name, ..., process_result = TRUE)
macro_name |
|
... |
Used to pass arguments to the GISDK macro |
process_result |
|
To run GISDK functions (like OpenTable()
) see RunFunction
.
## Not run:
# These won't work unless Caliper software is installed.
RunMacro("G30 Tutorial Folder")
RunMacro("add", 1, 2)
#> 3
RunMacro("parse opts array", list("one" = 1, "two" = 2))
#> "The first option name is one. The first option value is 1."
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.