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

View source: R/temp_tables.R

to_temp_tableR Documentation

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?


rOpenHealth/rEHR documentation built on Sept. 25, 2024, 5:32 p.m.