Learn R Programming

datarobot (version 2.16.0)

SetupProjectFromDataSource: Create a project from a data source.

Description

Create a project from a data source.

Usage

SetupProjectFromDataSource(dataSourceId, username, password,
  projectName = NULL, maxWait = 60 * 60)

Arguments

dataSourceId

character. The ID of the data source to create a project from.

username

character. The username to use for authentication to the database.

password

character. The password to use for authentication to the database.

projectName

character. Optional. String specifying a project name. The password is encrypted at server side and never saved or stored.

maxWait

integer. The maximum time to wait for each of two steps: (1) The initial project creation request, and (2) data processing that occurs after receiving the response to this initial request.

Value

project object for the created project.

Examples

Run this code
# NOT RUN {
 dataSourceId <- "5c1303269300d900016b41a7"
 SetupProjectFromDataSource(dataSourceId, username = "username", password = "hunter1",
                            projectName = "My Project")
# }

Run the code above in your browser using DataLab