connectDB | R Documentation |
Connect to a database.
connectDB(
dbname = system.file("extdata", "chinook.sqlite", package = utils::packageName()),
drv = RSQLite::SQLite(),
...
)
dbname |
|
drv |
database driver |
... |
arguments passed to |
Connects by default to a test SQLite database originally obtained here: chinook_git
database connection
conn <- connectDB()
DBI::dbDisconnect(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.