-
-
Save alexsingleton/cda4e90699acf1e3c7295d63226a09da to your computer and use it in GitHub Desktop.
ESRI Function R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tool_exec <- function(in_params, out_params) { | |
# the first input parameter, as a character vector | |
input.dataset <- in_params[[1]] | |
# alternatively, can access by the parameter name: | |
input.dataset <- in_params$input_dataset | |
print(input.dataset) | |
# ... do analysis steps | |
out_params[[1]] <- results.dataset | |
return(out_params) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment