R/initializeMazamaSpatialUtils.R
initializeMazamaSpatialUtils.Rd
Convenience function that wraps:
logger.setup() logger.setLevel(WARN) setSpatialDataDir('~/Data/Spatial') loadSpatialData('NaturalEarthAdm1')
If file logging is desired, these commands should be run individually with
output log files specified as arguments to logger.setup()
.
initializeMazamaSpatialUtils( spatialDataDir = "~/Data/Spatial", stateCodeDataset = "NaturalEarthAdm1" )
spatialDataDir | directory where spatial datasets are created |
---|---|
stateCodeDataset | MazamaSpatialUtils dataset returning ISO 3166-2 alpha-2 stateCodes |
{link{logger.setup}