initializeMazamaSpatialUtils: Initialize Mazama Spatial Utils

Description Usage Arguments See Also

View source: R/initializeMazamaSpatialUtils.R

Description

Convenience function that wraps:

1
2
3
4
  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().

Usage

1
2
3
4
initializeMazamaSpatialUtils(
  spatialDataDir = "~/Data/Spatial",
  stateCodeDataset = "NaturalEarthAdm1"
)

Arguments

spatialDataDir

directory where spatial datasets are created

stateCodeDataset

MazamaSpatialUtils dataset returning ISO 3166-2 alpha-2 stateCodes

See Also

{link{logger.setup}


PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.