The modified metadata should be set in the 'env' variable. For example, if your original metadata is:
(data.frame) An inventory.
(character) The package identifier.
and your modified metadata is in
Then your env should be:
env$base_path <- "/home/you/" env$alternate_path <- "/home/someone_else"
Note that the data files are not updated either so all that's happening is the metadata object and resource map are being updated.
Note that this function checks if the old objects (metadata and resource map) exist on the Member Node before doing their work and will call createObject() instead of updateObject() if the object didn't already exist.
TRUE or FALSE depending on sucess (logical)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.