organizations: Organizations metadata.

Description Usage Arguments Value References Examples

View source: R/organizations.r

Description

Organizations metadata.

Usage

1
2
organizations(data = "all", uuid = NULL, query = NULL, limit = 100,
  start = NULL, curlopts = list())

Arguments

data

(character) The type of data to get. One or more of: 'organization', 'contact', 'endpoint', 'identifier', 'tag', 'machineTag', 'comment', 'hostedDataset', 'ownedDataset', 'deleted', 'pending', 'nonPublishing', or the special 'all'. Default: 'all'

uuid

(character) UUID of the data node provider. This must be specified if data is anything other than 'all'.

query

(character) Query nodes. Only used when data='all'

limit

Number of records to return. Default: 100. Maximum: 1000.

start

Record number to start at. Default: 0. Use in combination with limit to page through results.

curlopts

list of named curl options passed on to HttpClient. see curl_options for curl options

Value

A list of length one or two. If uuid is NULL, then a data.frame with call metadata, and a data.frame, but if uuid given, then a list.

References

http://www.gbif.org/developer/registry#organizations

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
organizations(limit=5)
organizations(query="france", limit=5)
organizations(uuid="4b4b2111-ee51-45f5-bf5e-f535f4a1c9dc")
organizations(data='contact', uuid="4b4b2111-ee51-45f5-bf5e-f535f4a1c9dc")
organizations(data='pending')
organizations(data=c('contact','endpoint'),
  uuid="4b4b2111-ee51-45f5-bf5e-f535f4a1c9dc")

# Pass on curl options
organizations(query="spain", curlopts = list(verbose=TRUE))

## End(Not run)

rgbif documentation built on Oct. 20, 2018, 1:03 a.m.