exportToSQLite: Export a CDM (Vocabulary and Event tables) into a SQLite...

View source: R/exportToSQLite.r

exportToSQLiteR Documentation

Export a CDM (Vocabulary and Event tables) into a SQLite Database.

Description

This function fetches (pruned) table data into R dataframes and writes them to a SQLite DB. (Eunomia support)

Usage

exportToSQLite(connectionDetails, cdmSchema, SQLiteDbName = "cdm.sqlite")

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

cdmSchema

The name of the database schema that contains the CDM. Requires read and write permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'cdm_instance.dbo'.

SQLiteDbName

The name of the SQLite Database File.


OHDSI/ETL-Synthea documentation built on April 23, 2024, 12:23 a.m.