sys_qs <- function(NAME) {
file.qs <- sprintf("./inst/extdata/%s.qs", NAME)
if (!file.exists(file.qs)) {
file.qs <- system.file("extdata",
sprintf("%s.qs", NAME),
package = packageName())
}
qs::qread(file.qs)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.