Returns a single sasctl MMmodel from SAS Model Manager

get_model(session, model, exact = TRUE, ...)

Arguments

session

viya_connection object, obtained through session function

model

MMmodel or MMmodelVersion object, project ID or model name. If name, will try to find a single model with exact name match. See exact parameter

exact

the filter query should use "contains" for partial match or "eq" for exact match

...

additional parameters to be passed to httr::GET such as httr::add_headers

Value

list with sasctl attribute

Examples


if (FALSE) { # \dontrun{
my_model <- get_model(sess, model = MMmodel)

my_model
} # }