This function creates and initializes a PostgreSQL client with class RedshiftSQLDriver which is simply a superclass of PostgreSQLDriver
1 |
1 2 3 4 5 | ## Not run:
con <- dbConnect(RedshiftSQL(), user="u", password = "p", host="h", dbname="n", port = "5439")
query <- dbSendQuery(con, "SELECT * FROM table")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.