Description Usage Arguments Value Examples
This function creates a Vertica JDBC connection object for querying InfoScout tables directly from R.
1 2 3 4 5 6 | vertica_connect(
driver.path = Sys.getenv("VERTICA_DRIVER_PATH"),
user = Sys.getenv("VERTICA_USER"),
pw = Sys.getenv("VERTICA_PW"),
host = "prd-dw-elb-vc-Y8UPG9.infoscoutinc.net"
)
|
driver.path |
Local path to the Vertica JDBC driver (.jar) |
user |
Database username |
pw |
Database password |
A Vertica connection object
1 2 3 | driver.path = '/users/me/documents/drivers/vertica-jdbc-7.2.3-0.jar'
conn <- vertica_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.