Learn R Programming

recordr (version 1.0.3)

recordr_updateObject: Provenance wrapper function for dataone::updateObject

Description

Override the dataone::updateObject method and record a provenance relationship for the object uploaded.

Usage

recordr_updateObject(mnode, pid, file, newpid, sysmeta, ...)

Arguments

mnode
The DataONE member node to update the object on
pid
The persistent identifier of the object to be updated
file
The file to upload
newpid
The persistent identifier of the updating object
sysmeta
The SystemMetadata for the updating object
...
additional parameters