SelectSubject <- function(dat, subname) {
sub <- dat$subjects[[which(unlist(lapply(lapply(dat$subjects, "[[", "header"), "[[", "subid") == subname))]]
return(sub)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.