MazamaSpatialUtils (version 0.6.4)

loadSpatialData: Load spatial datasets

Description

Load datasets found in the directory previously set with setSpatialDataDir(). Only files matching pattern will be loaded.

Core datastes available for the package include:

  • TMWorldBorders -- high resolution country polygons (higher resolution than SimpleCountries)

  • NaturalEarthAdm1 -- state/province polygons throughout the world

  • USCensusCounties -- county polygons in the United States

  • WorldTimezones -- high resolution timezone polygons (higher resolution than SimpleTimezones)

These can be installed with installSpatialData().

Usage

loadSpatialData(pattern = "*")

Arguments

pattern

regular expression used to match filenames

Value

Invisibly returns a vector of spatial dataset names loaded into the global environment.

See Also

setSpatialDataDir

installSpatialData