D1Client {dataone} | R Documentation |
The DataONE client class used to download, update and search for data in the DataONE network.
Description
The DataONE client class used to download, update and search for data in the DataONE network.
Usage
D1Client(x, y, ...)
## S4 method for signature 'ANY,ANY'
D1Client()
## S4 method for signature 'character,ANY'
D1Client(x, y, ...)
## S4 method for signature 'character,character'
D1Client(x, y)
## S4 method for signature 'CNode,MNode'
D1Client(x, y, ...)
## S4 method for signature 'character,MNode'
D1Client(x, y, ...)
Arguments
x |
The label for the DataONE environment to be using ('PROD','STAGING','SANDBOX','DEV'). This parameter
can alternatively be a |
y |
The node Id of the application's 'home' node. Should be already registered to the corresponding 'env'. This
parameter can alternatively be an |
... |
(not yet used) |
Value
the D1Client object representing the DataONE environment
See Also
D1Client
class description.
Examples
## Not run:
cli <- D1Client("PROD", "urn:node:KNB")
cn <- CNode('STAGING2')
mn <- getMNode(cn,'urn:node:mnTestKNB')
cli <- D1Client(cn,mn)
## End(Not run)
[Package dataone version 2.2.2 Index]