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

View source: R/RatingTables.R

CreateRatingTableR Documentation

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

Description

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

Usage

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

## Not run: 
   projectId <- "5984b4d7100d2b31c1166529"
   modelId <- "5984b4d7100d2b31c1166529"
   CreateRatingTable(projectId, modelId, dataSource = "myRatingTable.csv")

## End(Not run)

datarobot documentation built on Nov. 3, 2023, 1:07 a.m.