item_update | R Documentation |
Updates metadata associated with a ScienceBase item based on supplied list of new or updated metadata elements.
item_update(sb_id, info, ...)
sb_id |
An |
info |
list of metadata info (key-value pairs) to change on the item |
... |
Additional parameters are passed on to |
An object of class sbitem
## Not run:
res <- item_create(user_id(), "item-to-update")
out <- item_update(res, list(title = "item-updated"))
out$title
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.