rws_read_table | R Documentation |
Read a Table from a SQLite Database
rws_read_table(x, meta = TRUE, conn)
x |
A string of the table name. |
meta |
A flag specifying whether to preserve meta data. |
conn |
A RSQLite::SQLiteConnection to a database. |
A data frame of the table.
conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_write(rws_data[c("date", "ordered")],
x_name = "data2", exists = FALSE, conn = conn
)
rws_read_table("data2", conn = conn)
rws_disconnect(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.