insertExportedResultsInSqlite: Insert exported results into a SQLite database

View source: R/Viewer.R

insertExportedResultsInSqliteR Documentation

Insert exported results into a SQLite database

Description

Insert exported results into a SQLite database

Usage

insertExportedResultsInSqlite(sqliteFileName, exportFolder, cohorts)

Arguments

sqliteFileName

The name of the SQLite file to store the results in. If the file does not exist it will be created.

exportFolder

The folder containing the CSV files to upload, as generated using the exportToCsv() function.

cohorts

A data frame describing the cohorts used in the study. Should include the target, comparator, and outcome of interest cohorts. The data frame should at least have a cohortId and cohortName columns.

Value

Does not return anything. Called for the side effect of inserting data into the SQLite database.


OHDSI/CohortMethod documentation built on Feb. 9, 2024, 9:01 a.m.