UploadPredictionDatasetFromDataSource: Upload a prediction dataset from a data source.

View source: R/PredictionDatasets.R

UploadPredictionDatasetFromDataSourceR Documentation

Upload a prediction dataset from a data source.

Description

Upload a prediction dataset from a data source.

Usage

UploadPredictionDatasetFromDataSource(
  project,
  dataSourceId,
  username,
  password,
  forecastPoint = NULL,
  maxWait = 600,
  relaxKIAFeaturesCheck = NULL
)

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

dataSourceId

character. The id of the data source

username

character. The username to use for authentication to the database.

password

character. The password to use for authentication to the database. The password is encrypted at server side and never saved or stored.

forecastPoint

character. Optional. The point relative to which predictions will be generated, based on the forecast window of the project. Only specified in time series projects.

maxWait

integer. The maximum time (in seconds) to wait for each of two steps: (1) The initial dataset upload request, and (2) data processing that occurs after receiving the response to this initial request.

relaxKIAFeaturesCheck

logical. For time series projects only. If True, missing values in the known in advance features are allowed in the forecast window at the prediction time. If omitted or FALSE, missing values are not allowed.

Examples

## Not run: 
 dataSourceId <- "5c1303269300d900016b41a7"
 TestDataStore(dataSourceId, username = "myUser", password = "mySecurePass129")

## End(Not run)

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