View source: R/ComplianceDocumentation.R
DownloadComplianceDocumentation | R Documentation |
This function will create the compliance documentation first if it has not already been created.
To create compliance documentation without downloading it, use
CreateComplianceDocumentation
. You can then skip the create step in this function by using
'create = FALSE'.
DownloadComplianceDocumentation(
model,
filename,
templateId = NULL,
create = TRUE,
maxWait = 600
)
model |
An S3 object of class dataRobotModel like that returned by the function GetModel, or each element of the list returned by the function ListModels. |
filename |
character. Filename of file to save the compliance documentation to. |
templateId |
character. Optional. The ID of the template to use in generating custom model documentation. |
create |
logical. Should we create the compliance documentation prior to downloading? |
maxWait |
integer. How long to wait (in seconds) for compliance documentation creation before raising a timeout error? Default 600. |
Nothing returned, but downloads the file to the stated filename.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
model <- GetModel(projectId, modelId)
DownloadComplianceDocumentation(model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.