`%|||%` <- function (x, y) {
#based on the purrr/rlang op-null-default
if (is.null(x) | is.na(x)) {
y
}
else {
x
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.