item_update {sbtools} | R Documentation |
Update a SB item with new metadata
Description
Updates metadata associated with a ScienceBase item based on supplied list of new or updated metadata elements.
Usage
item_update(sb_id, info, ...)
Arguments
sb_id |
An |
info |
list of metadata info (key-value pairs) to change on the item |
... |
Additional parameters are passed on to |
Value
An object of class sbitem
Examples
## Not run:
res <- item_create(user_id(), "item-to-update")
out <- item_update(res, list(title = "item-updated"))
out$title
## End(Not run)
[Package sbtools version 1.3.2 Index]