View source: R/sql_readwrite.R
sql_write | R Documentation |
Write a table object to a SQL database. Acts a wrapper for odbc and DBI packages with additional checks to ensure upload completes.
sql_write(x, server, database, tablename)
x |
a data.frame/data.table/tibble object |
server |
a string containing the server connection |
database |
a string containing the database name within the data store |
tablename |
a string containing the chosen SQL database table name |
writes a data.frame/data.table/tibble to a SQL database
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.