Set DataONE nodes

DataONE is a network of data repositories that is structured with coordinating nodes (CN) and member nodes (MN). The network tree looks something like this:

At the top level is DataONE itself. Within DataONE there are several coordinating nodes, including nodes for both production material and testing material. Within these coordinating nodes are many member nodes, including ones for both the Arctic Data Center and the KNB. To set the environment in which you want to publish data, you need to set both the coordinating node and the member node. For example, if you are publishing to the Arctic Data Center test site, you would want to set the coordinating node to STAGING and the member node to mnTestArctic.

A note on nodes - be very careful about what you publish on production nodes (PROD, or arcticdata.io). These nodes should NEVER be used to publish test or training data sets.

The primary nodes we work on, and how to set them in R, are below:

Staging (Test) nodes

# ADC (test.arcticdata.io)
cn_staging <- CNode('STAGING')
adc_test <- getMNode(cn_staging,'urn:node:mnTestARCTIC')

# KNB (dev.nceas.ucsb.edu)
cn_staging2 <- CNode("STAGING2")
knb_test <- getMNode(cn_staging2, "urn:node:mnTestKNB")

Production nodes

# ADC (arcticdata.io)
cn <- CNode('PROD')
adc <- getMNode(cn,'urn:node:ARCTIC')

# KNB (knb.ecoinformatics.org)
knb <- getMNode(cn, "urn:node:KNB")

# GOA 
goa <- getMNode(cn, "urn:node:GOA")

# You can also use the datamgmt::guess_membernode function to set a member node
# Note: this pid looks like a URL - it's really a unique identifier
dryad <- datamgmt::guess_member_node('https://doi.org/10.5061/dryad.k6gf1tf/15?ver=2018-09-18T03:54:10.492+00:00')

More DataONE STAGING nodes can be found here More DataONE PROD nodes can be found here