initialize,D1Client-method {dataone}R Documentation

Initialize a D1Client object

Description

Initialize a D1Client object

Usage

## S4 method for signature 'D1Client'
initialize(
  .Object,
  cn = NA,
  mn = NA,
  env = as.character(NA),
  mNodeid = as.character(NA)
)

Arguments

.Object

A D1client object.

cn

The Member Node object to associate this D1Client with.

mn

The Member Node object to associate this D1Client with.

env

The DataONE environment to initialize this D1Client with, e.g. "PROD", "STAGING", "SANDBOX", "DEV"

mNodeid

The node identifier of the Member Node to associate with this D1Client.

See Also

dataone class description.

Examples

## Not run: 
library(dataone)
d1c <- D1Client("PROD", "urn:node:KNB")

## End(Not run)

[Package dataone version 2.2.2 Index]