Description Usage Arguments Examples
Inserts into a table the values in a vector or data.frame. Subsets the values by column name.
1 | INSERT_INTO_VALUES(tbl, vals, cols = NULL)
|
tbl |
Table name to insert into |
vals |
Values for insertion, can be a vector or a data.frame |
cols |
Columns to include |
1 2 3 | INSERT_INTO_VALUES('table', 1:3)
INSERT_INTO_VALUES('table', c('a' = 1, 'b' = 2, 'c' = 3))
INSERT_INTO_VALUES('iris', iris[c(1, 51, 101), ], c("Sepal.Length", "Petal.Length", "Species"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.