Description Usage Arguments Value Examples
This function creates a Snowflake JDBC connection object for querying InfoScout tables directly from R.
1 2 3 4 5 6 | snowflake_connect(
driver.path = Sys.getenv("SNOWFLAKE_DRIVER_PATH"),
user = Sys.getenv("SNOWFLAKE_USER"),
pw = Sys.getenv("SNOWFLAKE_PW"),
authenticator = "snowflake"
)
|
driver.path |
Local path to the Snowflake JDBC driver (.jar) |
user |
Database username |
pw |
Database password |
authenticator |
snowflake authenticator. Defaults to 'snowflake', externalbrowser can be used. |
A Snowflake connection object
1 2 3 | driver.path = '/users/me/documents/drivers/snowflake-jdbc-3.6.6.jar'
conn <- snowflake_connect(driver.path)
df <- dbGetQuery(conn, 'SELECT * FROM us_tlog.d_user LIMIT 10;')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.