providers: Get data providers and their unique keys.

Description Usage Arguments Examples

View source: R/providers.r

Description

Beware: It takes a while to retrieve the full list of providers - so go get more coffee. #'

Usage

1
2
3
  providers(name = "", maxresults = NA,
    url = "http://data.gbif.org/ws/rest/provider/list",
    ..., curl = getCurlHandle())

Arguments

name

data provider name search string, by default searches all data providers by defining name = ”

maxresults

max number of results to return

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
7
## Not run: 
# Test the function for a few providers
providers(maxresults=10)
#'# All data providers
providers()

## End(Not run)

sckott/rgbif_scott documentation built on May 26, 2017, 3:46 a.m.