Description Usage Arguments Value Examples
This function macthes scientific species names against the NaTron taxa register and returns the corresponding taxonIDs (UUIDs).
1 | get_taxonID(names, conn)
|
names |
A vector of scientific species names. These should already be checked agains the NaTron taxa register to make sure they exist there. |
conn |
A connection object with NaTRON (see |
Returns a vector of UUIDs corresponding to the scientific species names given in the names argument.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# get some data:
data("setesdal")
# connect to the database
myConnection <- natron_connect("YOUR-USERNAME-HERE")
# Then get the taxonIDs inserted into the setesdal data:
setesdal$taxonID <- get_taxonID(
names = setesdal$scientificName,
conn = myConnection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.