Generates a presentation from a Strategus result
generatePresentationMultiple(
server,
username,
password,
dbms,
resultsSchema = NULL,
targetId = 1,
targetName = "target cohort",
cmSubsetId = 2,
sccsSubsetId = NULL,
indicationName = NULL,
outcomeIds = 3,
outcomeNames = "outcome cohort",
comparatorIds = c(2, 4),
comparatorNames = c("comparator cohort 1", "comparator cohort 2"),
covariateIds = NULL,
details = list(studyPeriod = "All Time", restrictions = "Age - None"),
title = "ASSURE 001 ...",
lead = "add name",
date = Sys.Date(),
backgroundText = "",
evaluationText = "",
outputLocation,
outputName = paste0("presentation_", gsub(":", "_", gsub(" ", "_",
as.character(date()))), ".html"),
intermediateDir = tempdir()
)An named R list with the elements 'standard' and 'source'
The server containing the result database
The username for an account that can access the result database
The password for an account that can access the result database
The dbms used to access the result database
The result database schema
The cohort definition id for the target cohort
A friendly name for the target cohort
Optional a subset ID for the cohort method/prediction results
Optional a subset ID for the SCCS and characterization results
A name for the indication if used or NULL
The cohort definition id for the outcome
Friendly names for the outcomes
The cohort method comparator cohort id
Friendly names for the comparators
A vector of covariateIds to include in the characterization
a list with the studyPeriod and restrictions
A title for the presentation
The name of the presentor
The date of the presentation
a character with any background text
a list of bullet points for the evaluation
The file location and name to save the protocol
The name of the html protocol that is created
The work directory for quarto
Specify the connection details to the result database and the schema name to generate a presentation.
Other Reporting:
createPredictionReport(),
generateFullReport(),
generatePresentation(),
generateSummaryPredictionReport()