networks: Networks metadata.

Description Usage Arguments Details References Examples

View source: R/networks.r

Description

Networks metadata.

Usage

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

Arguments

data

The type of data to get. One or more of: 'contact', 'endpoint', 'identifier', 'tag', 'machineTag', 'comment', 'constituents', or the special 'all'. Default: 'all'

uuid

UUID of the data network provider. This must be specified if data is anything other than 'all'. Only 1 can be passed in

query

Query nodes. Only used when data='all'. Ignored otherwise.

identifier

The value for this parameter can be a simple string or integer, e.g. identifier=120. This parameter doesn't seem to work right now.

identifierType

Used in combination with the identifier parameter to filter identifiers by identifier type. See details. This parameter doesn't seem to work right now.

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

Details

identifierType options:

References

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
networks(limit=5)
networks(uuid='7ddd1f14-a2b0-4838-95b0-785846f656f3')
uuids <- c('7ddd1f14-a2b0-4838-95b0-785846f656f3',
  '07b013b4-a2da-47a1-a8ef-df685912fbd6')
lapply(uuids, function(x) networks(uuid = x))
networks(data='endpoint', uuid='16ab5405-6c94-4189-ac71-16ca3b753df7')

# curl options
networks(limit=5, curlopts = list(verbose=TRUE))

## End(Not run)

rgbif documentation built on May 20, 2017, 3:25 a.m.

Search within the rgbif package
Search all R packages, documentation and source code