Description Usage Arguments Value Examples
View source: R/db_connection.R
Connect to the klimegeo database. The connection is done via the
RPostgres
package.
1 2 3 4 5 6 7 | dbConnect_klimageo(
dbname = "klimageo",
host = "blobdb.cms.hu-berlin.de",
port = 5432,
user = NULL,
password = NULL
)
|
dbname |
Database name. |
host, port |
Host and port. |
user, password |
User name and password. If |
An S4 object that inherits from DBIConnection. This object is used to communicate with the database engine.
1 2 3 4 5 | ## Not run:
con <- dbConnect_klimageo()
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.