Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Initialize a connection to the database and return a DBIConnection.
1 | db_connect(conf_file = "~/.db_conf.yml", ...)
|
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
... |
Additional arguments passed to RMariaDB::MariaDB(). |
(DBIConnection) A DBIConnection for success; FALSE for failure.
A configuration file will be read and used to connect to the database.
1 2 3 4 | ## Not run:
channel <- db_connect()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.