Description Usage Arguments Author(s) Examples
View source: R/defineStudyArea.R
Downloads, reprojects, crops and masks to speficic areas in canada such as: boreal, random areas, provinces and territories, or any of the last in the boreal.
1 2 3 4 5 6 | defineStudyArea(
testArea = NULL,
specificTestArea = NULL,
mapSubset = NULL,
destinationFolder = tempdir()
)
|
testArea |
Logical. Indicates if the test area should be anything other than 'NULL'. Default is 'NULL'. |
specificTestArea |
A character string with a province or territory, or 'boreal'. if boreal region (following Brandt et al., 2013) is wanted. Default is 'NULL'. |
mapSubset |
If specificTestArea is supplied as 'boreal', this can be set as a character string with a province or territory that is contained in the boreal or 'Canada' if the whole Canadian boreal is wanted. Default is 'NULL'. |
destinationFolder |
Path to where to save downloaded files. Default is 'tempdir()'. |
Tati Micheletti
1 2 3 4 5 6 7 8 | ## rp is the whole North American boreal region
rp <- defineStudyArea(testArea = TRUE, specificTestArea = "boreal", mapSubset = NULL)
## Alberta
rp <- defineStudyArea(testArea = TRUE, specificTestArea = "Alberta", mapSubset = NULL)
## Alberta inside boreal extension
rp <- defineStudyArea(testArea = TRUE, specificTestArea = "boreal", mapSubset = "Alberta")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.