object_exists | R Documentation |
This is a simple check for the HTTP status of a /meta/PID call on the provided Member Mode.
object_exists(node, pids)
node |
(MNode) The Member Node to query. |
pids |
(character) The PID(s) to check the existence of. |
(logical) Whether the object exists.
## Not run:
# Set environment
cn <- CNode("STAGING2")
mn <- getMNode(cn,"urn:node:mnTestKNB")
pids <- c("urn:uuid:3e5307c4-0bf3-4fd3-939c-112d4d11e8a1",
"urn:uuid:23c7cae4-0fc8-4241-96bb-aa8ed94d71fe")
object_exists(mn, pids)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.