npn_lookup_names | R Documentation |
Look up species IDs by taxonomic or common name
npn_lookup_names(name, type = "genus", fuzzy = FALSE)
name |
A scientific or common name |
type |
One of common_name, genus, or species |
fuzzy |
One of TRUE or FALSE, if FALSE, uses fuzzy search via agrep, if FALSE, uses grep. |
A data frame with species ID numbers based on the name and type parameters.
## Not run:
npn_lookup_names(name='Pinus', type='genus')
npn_lookup_names(name='pine', type='common_name')
npn_lookup_names(name='bird', type='common_name', fuzzy=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.