buildSQLDBR: buildSQLDBR

Description Usage Arguments

View source: R/buildSQLDBR.R

Description

Wrapper which uses dplyr's src_sqlite() function to create the SQLite database, and adds all OMOP-formatted tables (as produced by the function combineInputTables()) to the database. Requires a list of formatted tables. If an an output file name is provided, the database file is saved in this location. Otherwise, the database file is stored in memory (equivalent to providing ":memory:" to dbConnect()).

Usage

1
buildSQLDBR(omop_tables, sql_db_file = ":memory:")

Arguments

omop_tables

Filesnames of all OMOP csv files to be incorporated into the database.

sql_db_file

Filename under which to store the SQLite database file.


AndrewC160/ROMOPOmics documentation built on Jan. 27, 2021, 6:57 p.m.