Description Usage Arguments Value See Also Examples
Convenience function to write a data.frame
or matrix
into a
database table. The first column id will be added and incremented
automatically if add_id
is enabled.
1 |
data |
|
table |
|
db |
|
add_id |
|
enforce_foreign_keys |
|
TRUE
if successful
Other SQLite handler functions: InsertBLOB
,
Intersect
, SelectBLOB
,
Select
, UpdateBLOB
,
Update
1 2 3 4 5 6 7 8 9 | db <- "db/test.db"
Create_testDB(db)
df <- data.frame(
owner = "B. Clinton",
iban = "IR98000020018267384",
bic = "IR875TW78",
type = "donations account"
)
Insert(df, "accounts", "db/test.db", add_id = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.