list_models.Rd
Returns a list of models from Model Manager
list_models(
session,
start = 0,
limit = 10,
filters = list(),
exact = FALSE,
...
)
viya_connection object, obtained through session
function
the index of the first model to return
maximum number of models to return
list of of names vectors for filter parameters (createdBy, modifiedBy, name). By default it will use the contains
operation. For more info visit https://developer.sas.com/apis/rest/Topics/#filters
.
boolean, If 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
A data.frame
with the list of models
if (FALSE) { # \dontrun{
models <- list_models(sess, filter = list(createdBy = "creatorUser", name = "modelName"))
models
} # }