create_project {previsionio}R Documentation

Create a new project. If check_if_exist is enabled, the function will check if a project with the same name already exists. If yes, it will return a message and the information of the existing project instead of creating a new one.

Description

Create a new project. If check_if_exist is enabled, the function will check if a project with the same name already exists. If yes, it will return a message and the information of the existing project instead of creating a new one.

Usage

create_project(
  name,
  description = NULL,
  color = "#a748f5",
  check_if_exist = FALSE
)

Arguments

name

name of the project.

description

description of the project.

color

color of the project among \"#4876be\", \"#4ab6eb\", \"#49cf7d\", \"#dc8218\", \"#ecba35\", \"#f45b69\", \"#a748f5\", \"#b34ca2\" or \"#2fe6d0\" (#a748f5 by default).

check_if_exist

boolean (FALSE by default). If TRUE, makes extra checks to see if a project with the same name is already existing.

Value

list - information of the created project.


[Package previsionio version 11.7.0 Index]