Description Usage Arguments Details Value Note Author(s) References See Also Examples
Save a GADM shapefile (.rds)
1 |
x |
Object - GADMWWrapper |
name |
String - filename |
directory |
String - path to an alternative directory |
If directory is NULL (default), the file is stored in the same directory as specified in basefile parameter of gadm_loadCountries or gt2.loadCountries
—-
Do not specify the rds extension, it is added automatically.
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
—-
—-
1 2 3 4 5 6 7 | # library(GADMTools)
# library(sp)
# France = gadm_loadCountries("FRA", level=1, basefile="./")
# Auvergne = subset(France,regions = "Auvergne", level=1)
# saveas(Auvergne, "./AUVERGNE")
# AUV <- gadm_loadCountries("AUVERGNE", level=1, basefile="./")
# plotmap(AUV)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.