valid_source <- function(x) {
valid <- is.data.frame(x) |
is.tbl(x)
if (!valid) {
stop("x is not of a valid source")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.