
Last chance! 50% off unlimited learning
Sale ends in
Get information for a single DataONE object format
getFormat(x, ...)# S4 method for CNode
getFormat(x, formatId)
A CNode object instance
(Not yet used)
The formatId to retrieve.
A dataframe of all object formats registered in the DataONE Object Format Vocabulary.
CNode
class description.
# NOT RUN {
library(dataone)
cn <- CNode()
fmt <- getFormat(cn, "eml://ecoinformatics.org/eml-2.1.0")
cat(sprintf("format name: %s\n", fmt$name))
cat(sprintf("format type: %s\n", fmt$type))
cat(sprintf("format Id: %s\n", fmt$id))
# }
Run the code above in your browser using DataLab