Description Usage Arguments Details Examples
GISDK functions are core functions (like OpenTable()
) that are called
in Caliper software without using RunMacro()
.
1 | RunFunction(macro_name, ..., process_result = TRUE)
|
macro_name |
|
... |
Used to pass arguments to the GISDK function |
process_result |
|
To run GISDK macros (like RunMacro("G30 Tutorial Folder")
) see
RunMacro
.
1 2 3 4 5 6 7 8 | ## Not run:
# These won't work unless Caliper software is installed.
table_name <- RunFunction("OpenTable", "airports", "ffb", list(paste0(folder, "airports.bin"), NA))
num_rows <- RunFunction("GetRecordCount", table_name, NA)
num_rows
#> 280
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.