View source: R/initializeMazamaSpatialUtils.R
initializeMazamaSpatialUtils | R Documentation |
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}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.