#' Print the description of an OpenML object.
#'
#' @param x
#' The object whose description should be printed. This is typically an \code{\link{OMLDataSet}},
#' an \code{\link{OMLDataSetDescription}}, an \code{\link{OMLImplementation}} or an
#' \code{\link{OMLTask}}. In the latter case, the description of the corresponding
#' data set is printed.
#' @export
printDescription = function(x) {
UseMethod("printDescription")
}
#' @export
printDescription.OMLTask = function(x) {
cat(x$data.set$desc$description)
}
#' @export
printDescription.OMLDataSetDescription = function(x) {
cat(x$description)
}
#' @export
printDescription.OMLDataSet = function(x) {
cat(x$desc$description)
}
#' @export
printDescription.OMLImplementation = function(x) {
cat(x$description)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.