Create a folder

Share:

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

1
folder_create(parent_id = user_id(), name, ..., session = current_session())

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, or DELETE

session

Session object from authenticate_sb. Defaults to anonymous or last authenticated session

Value

A response object

Examples

1
2
3
4
## Not run: 
folder_create(name="foobar345")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.