Description Usage Arguments Note
View source: R/greenplum_connect.r
This function establishes a RPostgreSQL database connection.
greenplum_connect()
creates a Greenplum connection object, conn
;
greenplum_disconnect()
disconnects conn
and removes it from the global environment;
create_secret()
writes a password to 'C:/Users/<user>/Documents/Secrets/secret.rds',
and creates a new directory if necessary
1 2 3 4 5 | greenplum_connect(ask = T)
greenplum_disconnect()
create_secret()
|
ask |
Logical, if |
Database connection created with RPostgreSQL rather than RPostgres or RGreenplum as only RPostgreSQL can run multiple queries with one db call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.