getEndpoint: Return the URL endpoint for the DataONE Coordinating Node.

Description Usage Arguments Value See Also Examples

Description

A D1Client object is associated with a DataONE Coordinating Node. This CN is either the production CN (from the "PROD" environment, the default), or a CN from one of the development environments ("STAGING", "SANDBOX", "DEV"). The base URL for the CN is returned.

Usage

1
2
3
4
getEndpoint(x, ...)

## S4 method for signature 'D1Client'
getEndpoint(x)

Arguments

x

A D1Client object

...

(Not yet used.)

Value

A character vector containing the URL of the Coordinating Node

See Also

D1Client class description.

Examples

1
2
3
4
5
## Not run: 
cli <- D1Client("STAGING2", "urn:node:mnTestKNB")
cnUrl <- getEndpoint(cli)

## End(Not run)

dataone documentation built on May 29, 2017, 8:52 p.m.

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