recover_failed_submission | R Documentation |
Recovers failed submissions and writes the new, valid EML to a given path
recover_failed_submission(node, pid, path)
node |
(MNode) The Member Node to publish the object to. |
pid |
The PID of the EML metadata document to be recovered. |
path |
path to write XML. |
recovers and write the valid EML to the indicated path
Rachel Sun rachelsun@ucsb.edu
## Not run:
# Set environment
cn <- dataone::CNode("STAGING2")
mn <- dataone::getMNode(cn,"urn:node:mnTestKNB")
pid <- "urn:uuid:b1a234f0-eed5-4f58-b8d5-6334ce07c010"
path <- tempfile("file", fileext = ".xml")
recover_failed_submission(mn, pid, path)
eml <- EML::read_eml(path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.