fix_auto_name <- function(dots) {
if (is.null(names(dots))) {
dots <- set_names(dots, "")
}
for (i in seq_along(dots)) {
dot <- dots[[i]]
if (names(dots)[[i]] == "") {
quo_data <- attr(dot, "dplyr:::data")
names(dots)[[i]] <- as_label(quo_data$name)
}
}
dots
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.