Digest a spatial object to get a unique character string (hash) of the study area.
Use .suffix()
to append the hash to a filename,
e.g., when using filename2
in prepInputs
.
studyAreaName(studyArea, ...)
# S4 method for class 'character'
studyAreaName(studyArea, ...)
# S4 method for class 'ANY'
studyAreaName(studyArea, ...)
A character string using the .robustDigest
of the studyArea
. This is only intended
for use with spatial objects.
studyAreaName("Ontario")
#> [1] "f8871845734fa227"