Description Usage Arguments Value Examples
The pool
package is designed for managing database connectinos in
Shiny apps when multiple users may be creating connections to the database
simultaneously. This wrapper function for src_pool
returns a krsp
database connection object from a pool.
1 | krsp_pool(pool)
|
pool |
A |
A connection to the krsp database for use with dplyr
.
1 2 3 4 5 6 7 8 | pool <- pool::dbPool(
drv = RMySQL::MySQL(),
dbname = "krsp",
host = "localhost",
username = "root",
password = ""
)
krsp_pool(pool)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.