SetupProjectFromHDFS: Function to set up a new DataRobot project using datasource...

View source: R/SetupProject.R

SetupProjectFromHDFSR Documentation

Function to set up a new DataRobot project using datasource on a WebHDFS server (deprecated)

Description

This function is deprecated. Use SetupProjectFromDataSource instead.

Usage

SetupProjectFromHDFS(url, port = NULL, projectName = NULL, maxWait = 60 * 60)

Arguments

url

character. The location of the WebHDFS file, both server and full path. Per the DataRobot specification, must begin with hdfs://

port

integer. Optional. The port to use. If not specified, will default to the server default (50070).

projectName

character. Optional. String specifying a project name.

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.

Details

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.

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: 
  SetupProjectFromHDFS(url = 'hdfs://path/to/data',
                       port = 12345,
                       projectName = 'dataProject')

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.