Learn R Programming

datarobot (version 2.16.0)

UploadData: Upload a data source.

Description

Takes either a file path and returns output for POST that specifies the file object via form upload. This function is meant to facilitate uploading CSV data sources into DataRobot, such as through SetupProject.

Usage

UploadData(filePath)

Arguments

filePath

character. The file to upload.

Value

An httr object specifying the form upload content of the file path.

See Also

SetupProject