update_project.Rd
Returns a sasctl MMproject object from Model Manager
update_project(
session,
name,
project,
input_vars = NULL,
output_vars = NULL,
additional_parameters = NULL,
update_variables = TRUE,
exact = TRUE,
...
)
viya_connection object, obtained through session
function
The name of the project
MMproject
object, project ID or project name. If name, will try to find a single project with exact name match. See exact
parameter
data.frame
with the input data sample to configure the project variables.
data.frame
with the output data sample to configure the project variables.
list
of parameters and lists to be added to the payload
logical, TRUE, will make additional rest call to update variables using update_project_variables()
,
variables can't be changed in the same endpoint as other resources
the filter query should use "contains" for partial match or "eq" for exact match
additional parameters to be passed to httr::POST
such as httr::add_headers
A data.frame
with the list of projects
if (FALSE) { # \dontrun{
new_project <- create_project(sess, name = "ModelProj",
description = "My fancy project",
model_function = "classification")
updated_project <- update_project(sess, project = new_project,
additional_parameters =
list(description = "Updated fancy description",
scoreInputTable = "myTable",
predictionVariable = "BAD"))
updated_project
} # }