Matches partial scientific names against the species index. By default this
uses a cached index request; set index to a pre-built index from
sp_species_urls() to avoid repeated downloads.
Arguments
- query
Character vector of search terms (case-insensitive).
- index
Optional species index tibble from
sp_species_urls(). For comprehensive matching, build the index once withsp_species_urls(all_pages = TRUE)and pass it here.- all_pages
If
indexisNULL, whether to scan all index pages.- cache
Passed to
sp_species_urls()whenindexisNULL.