opal.project_create: Create a project

View source: R/opal.project.R

opal.project_createR Documentation

Create a project

Description

Create a project

Usage

opal.project_create(
  opal,
  project,
  database = NULL,
  title = NULL,
  description = NULL,
  tags = NULL,
  exportFolder = NULL
)

Arguments

opal

Opal object.

project

Name of the project

database

The database name (as declared in Opal) to be used to store project's data. If not provided, the project can have views and resources but no raw tables. If the the value is a logical and is TRUE, the default database will be selected or the first one if there is no default.

title

The title of the project (optional).

description

The description of the project (optional).

tags

A list of tag names (optional).

exportFolder

The default location of the exported data files in the Opal file system (optional).

See Also

Other project functions: opal.project_delete(), opal.project_exists(), opal.projects_databases(), opal.projects(), opal.project()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# with named database
opal.project_create(o, 'test', database='opal_data', title='This is a test', tags=list('Test'))
# with default database
opal.project_create(o, 'test_default_db', database = TRUE)
# no database, for views and resources only
opal.project_create(o, 'test_no_db')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.