Learn R Programming

OmopOnSpark (version 0.1.0)

insertTable.spark_cdm: Insert a table to a cdm object

Description

Insert a local dataframe into the cdm.

Usage

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

Value

The cdm reference with the table added.

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