SetupProjectFromDataSource {datarobot} | R Documentation |
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
A named list that contains:
- projectName
character. The name assigned to the DataRobot project
- projectId
character. The unique alphanumeric project identifier for this DataRobot project
- fileName
character. The name of the CSV modeling file uploaded for this project
- created
character. The time and date of project creation
Examples
## Not run:
dataSourceId <- "5c1303269300d900016b41a7"
SetupProjectFromDataSource(dataSourceId, username = "username", password = "hunter1",
projectName = "My Project")
## End(Not run)