Skip to contents

Create a special kind of item on ScienceBase that is intended to be a "folder" that contains one or more child items. This is similar to a standard item (item_create) but defaults to showing child-items on the ScienceBase web interface.

Usage

folder_create(parent_id = user_id(), name, ...)

Arguments

parent_id

An sbitem object or character ScienceBase ID corresponding to the parent item (folder)

name

(character) the folder name

...

Additional parameters are passed on to GET, POST, HEAD, PUT

Value

A response object

Examples

if (FALSE) {
folder_create(name="foobar345")
}