CreateRatingTable: Creates and validates a new rating table from an uploaded...

Description Usage Arguments Value Examples

View source: R/RatingTables.R

Description

Creates and validates a new rating table from an uploaded CSV.

Usage

1
2
3
4
5
6
CreateRatingTable(
  project,
  parentModelId,
  dataSource,
  ratingTableName = "Uploaded Rating Table"
)

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.

parentModelId

integer. The id of the model to validate the rating table against.

dataSource

object. Either (a) the name of a CSV file, or (b) a dataframe. This parameter identifies the source of the rating table.

ratingTableName

character. Optional. The name of the rating table.

Value

An integer value that can be used as the JobId parameter in subsequent calls representing this job.

Examples

1
2
3
4
5
6
## Not run: 
   projectId <- "5984b4d7100d2b31c1166529"
   modelId <- "5984b4d7100d2b31c1166529"
   CreateRatingTable(projectId, modelId, dataSource = "myRatingTable.csv")

## End(Not run)

datarobot documentation built on June 2, 2021, 9:06 a.m.