npn_lookup_names {rnpn} | R Documentation |
Species Name Lookup
Description
Look up species IDs by taxonomic or common name
Usage
npn_lookup_names(name, type = "genus", fuzzy = FALSE)
Arguments
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. |
Value
A data frame with species ID numbers based on the name and type parameters.
Examples
## 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)
[Package rnpn version 1.2.8.0 Index]