UpdateComplianceDocTemplate {datarobot} | R Documentation |
Update the name or sections of an existing doc template.
Description
Note that default templates cannot be updated.
Usage
UpdateComplianceDocTemplate(templateId, name = NULL, sections = NULL)
Arguments
templateId |
character. The ID of the template to update. |
name |
character. Optional. A new name to identify the compliance doc template by. |
sections |
list. Optional. Section definitions for the compliance template. |
Value
The updated compliance doc template object.
Examples
## Not run:
sections <- list(list("title" = "Missing Values Report",
"highlightedText" = "NOTICE",
"regularText" = paste("This dataset had a lot of Missing Values."
"See the chart below: {{missingValues}}"),
"type" = "user"),
list("title" = "Blueprints",
"regularText" = "{{blueprintDiagram}} /n Blueprint for this model",
"type" = "user"))
templateId <- "5cf85080d9436e5c310c796d"
UpdateComplianceDocTemplate(templateId, name = "newName", sections = sections)
## End(Not run)
[Package datarobot version 2.18.6 Index]