Skip to contents

View a shiny app with the benchmark results

Usage

viewBenchmarkResults(
  benchmarkDesign = NULL,
  cohortDefinitions = NULL,
  databaseList,
  createPlpResultTables = TRUE,
  viewShiny = TRUE,
  databaseDirectory = NULL
)

Arguments

benchmarkDesign

A list of class `benchmarkDesign` as generated by createBenchmarkDesign().

cohortDefinitions

An object of class `cohortDefinitionSet` as provided by CohortGenerator::getCohortDefinitionSet()

databaseList

A list containing the database names.

createPlpResultTables

A logical to indicate whether to create the PlpResults tables. Defaults to `TRUE` and this will delete the tables (if they exist) and re-create them.

viewShiny

Whether to view the shiny app or not, defaults to `TRUE`.

databaseDirectory

Directory to save the generated database with the results.

Details

Upload the results to a database, create a shiny app and view it.