Skip to content

This method retrieves a specified table by name from an OMOP CDM database and assigns it to the DataSHIELD environment. It allows the user to specify filters for concepts, columns, and persons, as well as options for merging and dropping empty columns.

Arguments

table

A string specifying the name of the table to be retrieved.

symbol

An optional string specifying the symbol for the table assignment in the DataSHIELD environment.

columnFilter

An optional string vector specifying column names to filter (select) in the table.

conceptFilter

An optional numeric vector specifying concept IDs to filter the table by.

personFilter

An optional string specifying the symbol in the environment of a table from which to obtain person IDs.

mergeColumn

An optional string specifying the column name for merging operations with other tables. Defaults to "person_id" if not specified.

dropNA

An optional boolean indicating whether to drop empty columns. Defaults to FALSE.

...

Additional parameters to be passed to the underlying get method.

Value

Assigns the specified table to the DataSHIELD environment, optionally filtered and merged.