loadSpatialData {MazamaSpatialUtils} | R Documentation |
Load spatial datasets
Description
Load datasets found in the directory previously set with
setSpatialDataDir()
.
Only files matching pattern
will be loaded.
By default, all .rda
files are matched.
Core datastes available for the package include:
TMWorldBorders
– high resolution country polygons (higher resolution thanSimpleCountries
)NaturalEarthAdm1
– state/province polygons throughout the worldUSCensusCounties
– county polygons in the United StatesWorldTimezones
– high resolution timezone polygons (higher resolution thanSimpleTimezones
)
These can be installed with installSpatialData()
.
Usage
loadSpatialData(pattern = "*\\.rda")
Arguments
pattern |
Regular expression used to match file names. |
Value
Invisibly returns a vector of spatial dataset names loaded into the global environment.
See Also
setSpatialDataDir
installSpatialData
[Package MazamaSpatialUtils version 0.8.6 Index]