gna_search: Search for taxonomic names using the Global Names...

View source: R/gna_search.R

gna_searchR Documentation

Description

Uses the Global Names Index, see http://gni.globalnames.org

Usage

gna_search(sci, justtotal = FALSE, parse_names = FALSE, ...)

Arguments

sci

(character) required. Name pattern you want to search for. WARNING: Does not work for common names. Search term may include following options:

  • n: A shortcut that allows to put together several elements (e.g., ⁠n:B. bubo Linn. 1750-1800⁠)

  • g: a genus name. (e.g. g:B., g:Bub., g:Bubo)

  • isp: an infraspecies name (e.g. sp:bubo, sp:gallop.)

  • asp: either species or infraspecies (all sp) (e.g. asp:bubo)

  • ds: data-sources IDs (e.g., ⁠ds:1,2,3⁠)

  • tx: parent taxon . Uses classification of the first data-source from ds. If data-sources are not set, uses Catalogue of Life. (e.g. tx:Aves)

  • au: author - Search by author word (e.g. au:Linnaeus, au:Linn.)

  • y: year - Search by year (e.g. y:2005)

justtotal

Return only the total results found.

parse_names

If TRUE use gni_parse() on the outputs.

...

Curl options passed on to crul::verb-GET

Value

data.frame of results.

Author(s)

Scott Chamberlain, Zachary Foster

References

http://gni.globalnames.org/ https://apidoc.globalnames.org/gnames

See Also

gnr_datasources(), gna_search()

Examples

## Not run: 
gna_search('n:B. bubo ds:1,2 au:Linn. y:1700-')

## End(Not run)

taxize documentation built on April 4, 2025, 2:12 a.m.