Function to set up a new DataRobot project
This function uploads a modeling dataset defined by the dataSource parameter and allows specification of the optional project name projectName. The dataSource parameter can be either the name of a CSV file or a dataframe; in the latter case, it is saved as a CSV file whose name is described in the Details section. This function returns the projectName specified in the calling sequence, the unique alphanumeric identifier projectId for the new project, the name of the modeling dataset uploaded to create this project, and the project creation time and date.
SetupProject(dataSource, projectName = NULL, maxWait = 60 * 60)
Either (a) the name of a CSV file or (b) a dataframe (c) url to publicly available file; in each case, this parameter identifies the source of the data from which all project models will be built. See Details.
Optional character string specifying a project name.
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.
The DataRobot modeling engine requires a CSV file containing the data to be used in fitting models, and this has been implemented here in two ways. The first and simpler is to specify dataSource as the name of this CSV file, but for the convenience of those who wish to work with dataframes, this function also provides the option of specifying a dataframe, which is then written to a CSV file and uploaded to the DataRobot server. In this case, the file name is either specified directly by the user through the saveFile parameter, or indirectly from the name of the dataSource dataframe if saveFile = NULL (the default). In this second case, the file name consists of the name of the dataSource dataframe with the string csvExtension appended.
This function returns a list with the following four components:
The name assigned to the DataRobot project
The unique alphanumeric project identifier for this DataRobot project
The name of the CSV modeling file uploaded for this project
Character string containing the time and date of project creation
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.