insertTable.spark_cdm: Insert a table to a cdm object

View source: R/method-insertTable.R

insertTable.spark_cdmR Documentation

Insert a table to a cdm object

Description

Insert a local dataframe into the cdm.

Usage

## S3 method for class 'spark_cdm'
insertTable(cdm, name, table, overwrite = TRUE, temporary = FALSE, ...)

Arguments

cdm

A cdm reference.

name

The name of the table to insert.

table

The table to insert.

overwrite

Whether to overwrite an existing table.

temporary

If TRUE, a spark dataframe will be written (that will persist to the end of the current session). If FALSE, a spark table will be written (which will persist beyond the end of the current session).

...

For compatability

Value

The cdm reference with the table added.


OmopOnSpark documentation built on Nov. 5, 2025, 7:32 p.m.