powered by
This function creates a new component within a project. New components can be created as private or public components using the private argument.
private
create_component(id, title, description = "", category = "project", private = TRUE)
OSF id (osf.io/XXXXX; just XXXXX) of parent project
Title of the component [required]
Description of the component [optional]
Category of component, for valid categories see process_category, defaults to `project`
process_category
Boolean of whether the component is supposed to be private
OSF id of created component
create_project
# NOT RUN { create_component("12345", "New Test Component") # }
Run the code above in your browser using DataLab