load_data <- function(filename,
verbose = TRUE) {
if (endsWith(tolower(filename), ".rds")) {
dat <- load_rds(
filename = filename,
verbose = verbose
)
} else {
dat <- load_rda(
filename = filename,
verbose = verbose
)
}
return(dat)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.