Learn R Programming

rEHR (version 1.0)

to_temp_table: Send a dataframe to a temporary table in the database

Description

The table is a temporary database and is linked only to the current connection object

Usage

to_temp_table(db, tab_name, dat, overwrite = FALSE)

Arguments

db
a database connection
tab_name
character name for the new temporary database table
dat
dataframe to send to the temporary database table
overwrite
logical if a table already exists with the same name should it be dropped?