Description Usage Arguments Value Examples
get database connection
1 2 | get_db_con(host = "localhost", port = 5432, dbname = "am",
user = "admin", password = "CHANGEME!")
|
host |
defaults to "localhost" |
port |
defaults to 5432 |
dbname |
defaults to "am" |
user |
defaults to "admin" |
password |
defaults to "CHANGEME!" |
DBI::dbConnect()
1 | con <- get_db_con(password=readLines("~/private/pg_pass"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.