item_create | R Documentation |
Create a new item on ScienceBase with the requested parent and item title. Info can be provided to populate metadata at the time of creation.
item_create(parent_id = user_id(), title, ..., info)
parent_id |
An |
title |
The title of the new SB item |
... |
Additional parameters are passed on to |
info |
(optional) list of metadata info for the new item |
An object of class sbitem
## Not run:
# Create an item - by default we use your user ID
item_create(title = "testing 123")
# Pass an object of class sbitem
x <- folder_create(user_id(), "foobar456")
item_create(x, "foobar456-item")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.