occ_names | R Documentation |
Search for species names across many data sources.
occ_names(
query = NULL,
from = "gbif",
limit = 100,
rank = "species",
callopts = list(),
gbifopts = list()
)
query |
(character) One to many names. Either a scientific name or a common name. Only scientific names supported right now. |
from |
(character) Data source to get data from, only gbif |
limit |
(numeric) Number of records to return. This is passed across all sources. To specify different limits for each source, use the options for each source (gbifopts). See Details for more. |
rank |
(character) Taxonomic rank to limit search space. Used in GBIF. |
callopts |
Options passed on to |
gbifopts |
(list) List of named options to pass on to
|
Not all 7 data sources available from the occ()
function are
available here, as not all of those sources have functionality to search
for names.
We strongly encourage you to use the taxize
package if you want to
search for taxonomic or common names, convert common to scientific names,
etc. That package was built exactly for that purpose, and we only provide
a bit of name searching here in this function.
Other queries:
occ_names_options()
,
occ_options()
,
occ()
,
spocc_objects
## Not run:
# Single data sources
## gbif
(res <- occ_names(query = 'Accipiter striatus', from = 'gbif'))
head(res$gbif$data[[1]])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.