Description Usage Arguments Value Examples
View source: R/redshift_connect.R
Creates a Redshift connection object.
1 | redshift_connection(cluster_name, username, password)
|
cluster_name |
The Redshift cluster you wish to connect to. Can be one of "prod", "int" or "int2". |
username |
Your Redshift username |
password |
Your Redshift password |
A Redshift connection object.
1 2 3 4 5 6 7 8 | ## Not run:
ft_redshift_connection <- redshift_connection(
cluster_name = "prod",
rstudioapi::askForPassword("Database user"),
rstudioapi::askForPassword("Database password")
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.