| D1Client | R Documentation | 
The DataONE client class used to download, update and search for data in the DataONE network.
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, ...)
| 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) | 
the D1Client object representing the DataONE environment
D1Client class description.
## Not run: 
cli <- D1Client("PROD", "urn:node:KNB")
cn <- CNode('STAGING2')
mn <- getMNode(cn,'urn:node:mnTestKNB')
cli <- D1Client(cn,mn)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.