View source: R/PredictionDatasets.R
UploadPredictionDatasetFromDataSource | R Documentation |
Upload a prediction dataset from a data source.
UploadPredictionDatasetFromDataSource(
project,
dataSourceId,
username,
password,
forecastPoint = NULL,
maxWait = 600,
relaxKIAFeaturesCheck = NULL
)
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. |
## Not run:
dataSourceId <- "5c1303269300d900016b41a7"
TestDataStore(dataSourceId, username = "myUser", password = "mySecurePass129")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.