Description Usage Arguments Value Examples
Creates SQL CREATE TABLE
statements from a vector of column names and
a vector of column types
1 2 3 4 5 6 7 8 9 10 |
tname |
|
col_name |
|
col_type |
|
col_opts |
column options of target sql table (for example |
const_name |
|
const_type |
|
const_cols |
a |
const_class |
|
a CREATE TABLE
statement as a character
scalar
1 2 3 4 5 6 | sql_create_table(
"example.table",
c("numbers", "animals"),
c("integer", "varchar(8)"),
c("NOT NULL", "")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.