Learn R Programming

omopgenerics (version 1.3.2)

exportSummarisedResult: Export a summarised_result object to a csv file.

Description

Export a summarised_result object to a csv file.

Usage

exportSummarisedResult(
  ...,
  minCellCount = 5,
  fileName = "results_{cdm_name}_{date}.csv",
  path = getwd(),
  logFile = getOption("omopgenerics.logFile"),
  logSqlPath = getOption("omopgenerics.log_sql_path"),
  logExplainPath = getOption("omopgenerics.log_sql_explain_path")
)

Arguments

...

A set of summarised_result objects.

minCellCount

Minimum count for suppression purposes.

fileName

Name of the file that will be created. Use {cdm_name} to refer to the cdmName of the objects and {date} to add the export date.

path

Path where to create the csv file. It is ignored if fileName it is a full name with path included.

logFile

Path to the log file to export.

logSqlPath

Path to the folder that contains the sql logs to export.

logExplainPath

Path to the folder that contains the sql logs explain to export.