code.data = function(test, rater, amount = 10){
if(class(test) != c("Test", "R6")){
stop("test must be a \'Test\' Object");
}
test$codeData(rater = rater, amount = amount);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.