dbtools.env <- new.env(parent=emptyenv())
.onLoad <- function(libname, pkgname) {
# import Python package on package load
assign('pydb', reticulate::import('pydbtools'), dbtools.env)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.