DownloadComplianceDocTemplate: Download a compliance doc template (in JSON format).

View source: R/ComplianceDocumentation.R

DownloadComplianceDocTemplateR Documentation

Download a compliance doc template (in JSON format).

Description

Download a compliance doc template (in JSON format).

Usage

DownloadComplianceDocTemplate(
  filename = "template.json",
  templateId = NULL,
  type = NULL
)

Arguments

filename

character. Filename of file to save the compliance doc template to.

templateId

character. Optional. The ID of the template to use in generating custom model documentation.

type

character. Optional. The type of compliance doc to get. Can be "normal" to retrieve the default template or "timeSeries" to get the default time series template.

Value

Nothing returned, but downloads the file to the stated filename.

Examples

## Not run: 
  DownloadComplianceDocTemplate("template.json")  # download the default template
  # download the default template
  DownloadComplianceDocTemplate("template.json", type = "normal")
  # download the default time series template
  DownloadComplianceDocTemplate("template.json" type = "timeSeries")
  templateId <- "5cf85080d9436e5c310c796d"
  DownloadComplianceDocTemplate(templateId) # Download a custom template for a specific ID.

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.