Description Usage Arguments Value Note Author(s) References See Also Examples
Test if a stripped gadm_sp object exists on the file system in the directory 'basefile'
1 | strippedExists(name, level, basefile = './')
|
name |
Character vector of a named region. An ISO-3166-1 code or a custom name. You don't have to specify the suffix (admX) nor the file extension (.rds). |
level |
Integer the level of the administrative boundaries (0 is the country, higher values equal finer divisions) |
basefile |
Character vector the path of the directory where shapefiles are stored. Default is "./" |
Boolean TRUE if the file exists, FALSE if not
—-
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
—-
—-
1 2 3 4 5 | # library(GADMTools)
# library(sp)
# if (strippedExists('BEL', level = 2) {
# BE <- gadm_loadStripped("BEL", level=2)
# }
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.