Usage Arguments Author(s) Examples
View source: R/ReadSpeciesList.R
1 | ReadSpeciesList(TerrADat_Path, Internal)
|
TerrADat_Path |
file path to the TerrADat geodatabase. Set to NULL if you are internal (within Bureau of Land Management network/vpn) |
Internal |
logical. TRUE if within BLM network/on vpn. FALSE if accessing TerrADat via external geodatabase. |
Rachel Burke, ecologist/analyst @ Jornada
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #If working on external geodatabase:
SpeciesList <- ReadSpeciesList(TerrADat_Path = "~/gdbs/TerrADat.gdb", Internal = FALSE)
#If working within BLM network:
SpeciesList <- ReadSpeciesList(TerrADat_Path = NULL, Internal = TRUE)
## The function is currently defined as
function (TerrADat_Path, Internal){
if(!Internal){
SpeciesList<- sf::st_read(dsn = TerrADat_Path ,
layer = "tblStateSpecies")}
if(Internal){
SpeciesList <- SpeciesList
}
SpeciesList <- SpeciesList
return(SpeciesList)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.