exportResultsToCSV: The main CatalogueExport analyses (for v5.x)

Description Usage Arguments

View source: R/exportToCSV.R

Description

exportResults exports the results to a csv file for upload to the Catalogue

Usage

1
2
3
4
5
6
7
exportResultsToCSV(
  connectionDetails,
  resultsDatabaseSchema,
  analysisIds = c(),
  smallCellCount = 5,
  exportFolder = "./output"
)

Arguments

connectionDetails

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

resultsDatabaseSchema

Fully qualified name of database schema that we can write final results to. Default is cdmDatabaseSchema. On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_results.dbo'.

analysisIds

A vector containing the set of CatalogueExport analysisIds for which results will be generated.

smallCellCount

To avoid patient identifiability, cells with small counts (<= smallCellCount) are deleted. Set to NULL if you don't want any deletions.

exportFolder

Folder to export the results to.


EHDEN/CatalogueExport documentation built on April 2, 2021, 5:13 p.m.