getObject | R Documentation |
Get the bytes associated with an object on this Node.
getObject(x, ...) ## S4 method for signature 'CNode' getObject(x, pid) ## S4 method for signature 'MNode' getObject(x, pid, check = as.logical(FALSE))
x |
The Node instance from which the pid will be downloaded |
... |
(Not yet used). |
pid |
The identifier of the object to be downloaded |
check |
A logical value, if TRUE check if this object has been obsoleted by another object in DataONE. |
This operation acts as the 'public' anonymous user unless an X.509 certificate is present in the default location of the file system, in which case the access will be authenticated.
the bytes of the object
D1Node-class{D1Node}
class description.
## Not run: library(dataone) cn <- CNode() mn <- getMNode(cn, "urn:node:KNB") pid <- "solson.5.1" obj <- getObject(mn, pid) df <- read.csv(text=rawToChar(obj)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.