Callback function that appends new sections to the SQLite table.
1 2 3 4 5 6 7 | append_to_sql(
con,
table_name,
date_cols,
datetime_cols,
convert_dates2text = TRUE
)
|
con |
A valid connection to SQLite database. |
table_name |
Name of the table to store the data table in the sqlite database. |
date_cols |
Name of columns containing Date objects |
datetime_cols |
Name of columns containint POSIXt objects. |
convert_dates2text |
= TRUE Converting date fields to text (For sqlite db) |
x |
Data.frame we are reading from. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.