Skip to contents

This function creates a new project or category in SODAR.

Usage

sodar_project_create(
  title,
  parent,
  type = "PROJECT",
  description = NULL,
  readme = NULL,
  public_guest_access = FALSE,
  owner = NULL,
  verbose = getOption("verbose", default = FALSE),
  return_raw = FALSE,
  config = NULL
)

Arguments

title

A character string containing the title of the project or category; mandatory.

parent

A character string containing the UUID of the parent project or category; mandatory.

type

A character string indicating whether it is a project or a category.

description

A character string containing the description of the project or category (optional).

readme

A character string containing the README of the project or category (optional).

public_guest_access

A logical value indicating whether the project or category has public guest access.

owner

A character string containing the UUID of the owner of the project or category. If NULL, the current user (indicated by the API token) will be set as owner.

verbose

A logical value indicating whether to make verbose requests.

return_raw

A logical value indicating whether to return the raw response.

config

A list containing the SODAR configuration. If NULL, it tries to get it from the global options.

Value

A list with the details of the project created.