nativeStatusCtry | R Documentation |
performs several queries based on the orignir package to identify native and invasive range status for a given species
nativeStatusCtry( spName, xydat, resolveNative = TRUE, resolveAlien = TRUE, verbose = TRUE )
spName |
character. Species name in the form of Genus species |
xydat |
dataframe Species longitude latitude coordinates. |
resolveNative |
logical. Should the function attempt to find countries where species are considered native? |
resolveAlien |
logical. Should the function attempt to find countries where species are considered introduced? |
verbose |
logical. Want to print information during the process? |
right now based on the package originr, which queries on Flora Europea, GISD or Native species resolver. Future implementation may query more databases.
list with two vectors: ntvCtry and invCtry, showing the countries in ISO3 standard codes
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)
Other spStatus:
ctryToIso3()
#needs spocc library df <- spocc::occ(query = 'Pseudotsuga menziesii') occ.data <- spocc::occ2df(df) nativeStatusCtry(spName = 'Pseudotsuga menziesii',xydat = occ.data[,2:3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.