folder_create: Create a folder

Description Usage Arguments Value Examples

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)


Search within the sbtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.