Nothing
#' Retrieve a DataRobot web page that displays detailed project information
#'
#' This function brings up a web page that displays detailed project
#' information like that available from the standard DataRobot user interface.
#'
#' @inheritParams DeleteProject
#' @examples
#' \dontrun{
#' projectId <- "59a5af20c80891534e3c2bde"
#' ViewWebProject(projectId)
#' }
#' @export
ViewWebProject <- function(project) {
projectId <- ValidateProject(project)
dataRobotUrl <- Sys.getenv("DATAROBOT_API_ENDPOINT")
parsedUrl <- httr::parse_url(dataRobotUrl)
urlString <- MakeUrl(parsedUrl, project = project)
DataRobotBrowse(urlString)
if (is.list(project)) {
projectName <- project$projectName
} else {
projectName <- NULL
}
if (is.null(projectName)) {
message(paste("Opened URL", urlString, "for selected project"))
} else {
message(paste("Opened URL", urlString, "for project:", projectName))
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.