gnr_simple | R Documentation |
Provides convienent output with a single result, using a variety of criteria for the best match
gnr_simple(
name,
sourceid = NULL,
best_match = TRUE,
canonical = TRUE,
with_context = TRUE,
higher = FALSE
)
name |
character string binomial scientific name to resolve |
sourceid |
integer vector with data source ids. see https://resolver.globalnames.org/sources/ |
best_match |
boolean. Should the best match be returned based on score? |
canonical |
If TRUE, names do not include authorship or date |
with_context |
If TRUE, Match scores are weighted for taxonomic consistency |
higher |
boolean: Return higher taxonomic classifications? |
new data.frame with name matches, column indicating match type and scores from Global Names Resolver (https://resolver.globalnames.org/). Will contain a row of NAs if no matches found
#Visit https://resolver.globalnames.org/data_sources to see all possible
#data sources for name checking.
name<-"Aphanazomenon flos-aquae"
#sourceid=3 for ITIS database,195 for Algaebase
gnr_simple(name,sourceid=3) #search for ITIS matches
gnr_simple(name,sourceid=NULL) #search for matches from any source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.