Learn R Programming

datarobot (version 2.8.0)

DownloadScoringCode: Download scoring code JAR

Description

Download scoring code JAR

Usage

DownloadScoringCode(project, modelId, fileName, sourceCode = FALSE)

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.

modelId

Character string: unique alphanumeric identifier for the model of interest.

fileName

Character string: File path where scoring code will be saved.

sourceCode

Logical (optional) : Set to True to download source code archive. It will not be executable.

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  file <- file.path(tempdir(), "scoringCode.jar")
  DownloadScoringCode(projectId, modelId, file)
# }

Run the code above in your browser using DataLab