View source: R/initializeMazamaSpatialUtils.R
Convenience function that wraps:
1 2 3 4 |
This function should be run before using pas_load()
, as
pas_load()
uses the spatial data loaded by
initializeMazamaSpatialUtils()
to enhance raw synoptic data via
pas_enhanceData()
.
If file logging is desired, these commands should be run individually with
output log files specified as arguments to logger.setup()
from the
MazamaCoreUtils package.
1 2 3 4 5 | initializeMazamaSpatialUtils(
spatialDataDir = "~/Data/Spatial",
stateCodeDataset = "NaturalEarthAdm1",
logLevel = WARN
)
|
spatialDataDir |
Directory where spatial datasets are created. |
stateCodeDataset |
MazamaSpatialUtils dataset returning ISO 3166-2 . alpha-2 stateCodes |
logLevel |
Logging level used if logging has not already been initialized. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.