Learn R Programming

osfr (version 0.1.0)

create_component: Create a component within a project

Description

Create a component within a project

Usage

create_component(id, title, description = "", category = "project",
  private = TRUE)

Arguments

id

OSF id (osf.io/XXXX; just XXXX) of parent project

title

Title of the component [required]

description

Description of the component [optional]

category

Category of component, for valid categories see process_category, defaults to `project`

private

Boolean of whether the component is supposed to be private

Value

OSF id of created component

See Also

create_project