taxonsearch: Search for taxa in GBIF

Description Usage Arguments Examples

Description

Search for a taxon using scientific name. Optionally, include taxonomic rank in the search.

Usage

1
2
3
  taxonsearch(sciname = NA, rank = NA, maxresults = 10,
    url = "http://data.gbif.org/ws/rest/taxon/list?", ...,
    curl = getCurlHandle())

Arguments

sciname

scientitic name of taxon (character, see example)

rank

rank of taxon, see taxrank() (character)

maxresults

return at most the specified number of records. The default (and maximum supported) is 1000 records.

url

the base GBIF API url for the function (should be left to default)

...

optional additional curl options (debugging tools mostly)

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Examples

1
2
3
4
## Not run: 
taxonsearch(sciname = 'Puma concolor')

## End(Not run)

sckott/rgbif_scott documentation built on May 29, 2019, 4:04 p.m.