createPrunedTables.Rd
This function creates the pruned cdm and vocab tables by keeping only those rows from the original tables for given concept_ids. (Eunomia support)
createPrunedTables(connectionDetails, cdmSchema, eventConceptId, cdmVersion)
An R object of typeconnectionDetails
created using the
function createConnectionDetails
in the
DatabaseConnector
package.
The name of the database schema that contains the CDM. Requires read and write permissions to this database. On SQL Server, this should specify both the database and the schema, so for example 'cdm_instance.dbo'.
A vector of concept_ids returned from getEventConceptId
.
The version of your CDM. Currently "5.3.1" and "5.4.0".