dbpath_build | R Documentation |
Builds a dbpath()
object from its parts. All parts are optional other than
dialect
. To create a database URL, use format()
on the resulting dbpath
object.
dbpath_build( dialect, driver = NULL, username = NULL, password = NULL, host = NULL, port = NULL, database = NULL, params = NULL )
dialect, driver |
The SQL database |
username, password |
Optional username and password |
host, port |
Optional host and port |
database |
The name of the database |
params |
A named list of query parameters or a query string. For
example, either |
A dbpath()
object.
dbpath_build("postgres", host = "localhost", port = 5432, database = "money")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.