Create a new project or component on OSFSource:
osf_create_project() to create a new top-level project on OSF. A nested
component can be created by providing an
osf_tbl_node containing an
existing project or component to
osf_create_project( title, description = NULL, public = FALSE, category = "project" ) osf_create_component( x, title, description = NULL, public = FALSE, category = NULL )
- title, description
Set a title (required) and, optionally, a description.
Logical, should it be publicly available (
TRUE) or private (
FALSE, the default)?
Character string, specify a category to change the icon displayed on OSF. The defaults are
"project"for projects and
"uncategorized"for components. The specified category can be easily changed later on OSF. Valid category options include:
methods and measures
osf_tbl_nodewith a single OSF project or component that will serve as the new sub-component's parent node.
osf_tbl_node containing the new project or component.
Projects and components are both implemented as nodes on OSF. The only
distinction between the two is that a project is a top-level node, and a
component must have a parent node (i.e., must be a sub-component of another
project or component). Because projects and components are functionally
identical, osfr uses the same
osf_tbl_node class to represent both.
OSF Guides: Create a Project. https://help.osf.io/article/383-creating-a-project.
OSF Guides: Create a Component. https://help.osf.io/article/253-create-components.