CloneProject: Clone a project

View source: R/CloneProject.R

CloneProjectR Documentation

Clone a project

Description

This function clones a project, creating a fresh (post-EDA1) copy that will need a target and modeling options set.

Usage

CloneProject(project, newProjectName = NULL, maxWait = 600)

Arguments

project

dataRobotProject, or a character representing that project's ID.

newProjectName

character. The name of the newly cloned project. If no name is given, the API will default to 'Copy of project$projectName'.

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: 
 project <- GetProject("5c1303269300d900016b41a7")
 CloneProject(project, newProjectName = "Project Restart")

## End(Not run)

datarobot documentation built on May 6, 2022, 5:06 p.m.