Learn R Programming

opalr (version 3.0.2)

opal.token_sql_create: Create a personal access token for SQL usage

Description

Create a personal access token for SQL usage

Usage

opal.token_sql_create(opal, name, projects = NULL)

Arguments

opal

Opal object.

name

Name of the token

projects

Vector of project names, to which the token applies. Default is NULL (all projects).

Value

The token value.

See Also

Other token functions: opal.token_datashield_create(), opal.token_delete(), opal.token_r_create(), opal.tokens(), opal.token()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
token <- opal.token_sql_create(o, 'sql-1')
opal.logout(o)
# }

Run the code above in your browser using DataLab