Description Usage Arguments Value Examples
View source: R/query_functions.R
This function creates a table on Vertica, while dropping any existing table if exists
1 | create_tbl(conn, table.name, table.vars)
|
conn |
A database connection object |
table.name |
A character string of the schema.table name |
table.vars |
A chracter string with SQL table column definitions (see example) |
A message that informs you of when the table is successfully created
1 2 3 4 | vertica <- vertica_connect(driver.path)
table.name <- 'dev.test_table'
table.vars <- 'user_id INT, trips INT, gender VARCHAR'
create_tbl(vertica, table.name, table.vars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.