Learn R Programming

rgbif (version 0.9.6)

organizations: Organizations metadata.

Description

Organizations metadata.

Usage

organizations(data = "all", uuid = NULL, query = NULL, limit = 100, start = NULL, ...)

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.
...
Further named parameters, such as query, path, etc, passed on to modify_url within GET call. Unnamed parameters will be combined with config.

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

Run this code
## 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 options to httr
# library('httr')
# res <- organizations(query="spain", config=progress())
# ## End(Not run)

Run the code above in your browser using DataLab