D1Client: The DataONE client class used to download, update and search...

Description Usage Arguments Value See Also Examples

Description

The DataONE client class used to download, update and search for data in the DataONE network.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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, ...)

Arguments

x

The label for the DataONE environment to be using ('PROD','STAGING','SANDBOX','DEV'). This parameter can alternatively be a CNode instance, with the 'y' parameter specified as an MNode instance.

y

The node Id of the application's 'home' node. Should be already registered to the corresponding 'env'. This parameter can alternatively be an MNode instance, with the 'x' parameter specified as a CNode instance.

...

(not yet used)

Value

the D1Client object representing the DataONE environment

See Also

D1Client class description.

Examples

1
2
3
4
5
6
7
## Not run: 
cli <- D1Client("PROD", "urn:node:KNB")
cn <- CNode('STAGING2')
mn <- getMNode(cn,'urn:node:mnTestKNB')
cli <- D1Client(cn,mn)

## End(Not run)

dataone documentation built on July 2, 2018, 1:02 a.m.