library(pool)
# load data in 'global' chunk so it can be shared by all users of the dashboard
pool <- dbPool(
drv = RMariaDB::MariaDB(),
dbname = Sys.getenv("DB_DB", "sykdomspuls"),
host = Sys.getenv("DB_SERVER", "db"),
username =Sys.getenv("DB_USER", "root") ,
password = Sys.getenv("DB_PASSWORD", "example")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.