Generates a full report from a Strategus analysis
generateFullReport(
server,
username,
password,
dbms,
resultsSchema = NULL,
targetId = 1,
outcomeIds = 3,
comparatorIds = 2,
indicationIds = "",
cohortNames = c("target name", "outcome name", "comp name"),
cohortIds = c(1, 3, 2),
includeCI = TRUE,
includeCharacterization = TRUE,
includeCohortMethod = TRUE,
includeSccs = TRUE,
includePrediction = TRUE,
webAPI = NULL,
authMethod = NULL,
webApiUsername = NULL,
webApiPassword = NULL,
outputLocation,
outputName = paste0("full_report_", gsub(":", "_", gsub(" ", "_",
as.character(date()))), ".html"),
intermediateDir = tempdir(),
pathToDriver = Sys.getenv("DATABASECONNECTOR_JAR_FOLDER")
)An html document containing the full results for the target, comparators, indications and outcomes specified.
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
The cohort definition id for the outcome
(optional) The cohort definition id for any comparator cohorts. If NULL the report will find and include all possible comparators in the results if includeCohortMethod is TRUE.
The cohort definition id for any indication cohorts. If no indication use '' and if you want some indications plus no indication use c('', indicationId1, indicationId2). Use 'Any' to include all children of targetId.
Friendly names for any cohort used in the study
The corresponding Ids for the cohortNames
Whether to include the cohort incidence slides
Whether to include the characterization slides
Whether to include the cohort method slides
Whether to include the self controlled case series slides
Whether to include the patient level prediction slides
The ATLAS web API to use for the characterization index breakdown (set to NULL to not include)
The authorization method for the webAPI
The username for the webAPI authorization
The password for the webAPI authorization
The file location and name to save the protocol
The name of the html protocol that is created
The work directory for quarto
Path to a folder containing the JDBC driver JAR files.
Specify the connection details to the result database and the schema name to generate the full report.
Other Reporting:
createPredictionReport(),
generatePresentation(),
generatePresentationMultiple(),
generateSummaryPredictionReport()