taxoncount: Search by taxon to retrieve number of records in GBIF.

Description Usage Arguments Examples

Description

Search by taxon to retrieve number of records in GBIF.

Usage

1
2
3
4
  taxoncount(sciname = NULL, rank = NULL,
    dataresourcekey = NULL,
    url = "http://data.gbif.org/ws/rest/taxon/count?", ...,
    curl = getCurlHandle())

Arguments

sciname

scientitic name of taxon (character, see example)

rank

rank of taxon, see taxrank() (character)

dataresourcekey

Filter records to those provided by the supplied numeric key for a data resource. See resources(). (character)

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
5
6
## Not run: 
taxoncount('Puma concolor')
taxoncount('Helianthus annuus')
taxoncount(rank = 'family')

## End(Not run)

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