This is a helper function that will write a dataframe to a SQL database

db_append(path, tbl, data)

Arguments

path

path to SQL database

tbl

name of the table in SQL database

data

the object dataframe that goes into the SQL database