Learn R Programming

sbtools (version 1.3.2)

folder_create: Create a folder

Description

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, ...)

Value

A response object

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

Examples

Run this code
if (FALSE) {
folder_create(name="foobar345")
}

Run the code above in your browser using DataLab