# clean_names ----
clean_names <- function(data) {
# run clean_names ----
if (requireNamespace("janitor", quietly = TRUE)) {
out <- janitor::clean_names(data)
return(out)
} else {
warning("'clean_names' requires the 'jantitor' package!")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.