resources: Get data resources and their unique keys.

Description Usage Arguments Examples

Description

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

Usage

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

Arguments

name

data provider name search string, by default searches all data resources 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 resources
resources(maxresults=10)
#'# All data providers
resources()

## End(Not run)

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