gadm.saveStripped: Save a stripped GADM object

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Save a stripped ( with stripSP() ) GADM object for later use it with ggplot2.

Usage

1
gadm_saveStripped(x,fname, basefile = './')

Arguments

x

Object gadm_sp with stripped property == TRUE

fname

String file name of a region. You don't have to specify the suffix (admX) nor the file extension (.rds).

basefile

Character vector the path of the directory where shapefiles are stored. Default is "./"

Value

Boolean TRUE

Note

—-

Author(s)

Jean Pierre Decorps <jp.decorps@epiconcept.fr>

References

—-

See Also

—-

Examples

1
2
3
4
5
# library(GADMTools)
# library(sp)
# BE <- gadm_loadCountries('BEL', level=2)
# S_BE <- stripSP(BE)
# gadm_saveStripped(S_BE, "BEL")

IamKDO/GADMTools documentation built on Aug. 23, 2021, 5:14 a.m.