Description Usage Arguments Value Author(s) Examples
Executes a query and returns the result set as a dataframe.
1 | redshift.query(conn, ...)
|
conn |
The database connection |
... |
Strings representing the query. These will be concatenated together with |
Data frame containing the results.
Paul Ingles
1 2 3 4 | require(redshift)
# conn <- redshift.connect("jdbc:postgresql://blah.blah.eu-west-1.redshift.amazonaws.com:5439/data", "username", "password")
results <- redshift.query(conn, "SELECT MAX(timestamp)",
"FROM weblog")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.