Nothing
`%||%` <- function(x, y) {
if (is.null(x)) y else x
}
renderTemplate <- function(template, data) {
rendered <- template
for (i in seq_along(data)) {
key <- names(data)[[i]]
val <- data[[i]]
fkey <- sprintf("${%s}", key)
rendered <- gsub(fkey, val, rendered, fixed = TRUE)
}
rendered
}
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.