sql_write: Write a table to a SQL database

View source: R/sql_readwrite.R

sql_writeR Documentation

Write a table to a SQL database

Description

[Stable]

Write a table object to a SQL database. Acts a wrapper for odbc and DBI packages with additional checks to ensure upload completes.

Usage

sql_write(x, server, database, tablename)

Arguments

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

Value

writes a data.frame/data.table/tibble to a SQL database


alexbhatt/epidm documentation built on Aug. 21, 2024, 8:25 a.m.