Skip to content

Commit

Permalink
Merge pull request #574 from samhillman/develop
Browse files Browse the repository at this point in the history
Fix missing pull() and wrong launchLogViewer() file.path() argument fix #568
  • Loading branch information
katy-sadowski authored Oct 24, 2024
2 parents 3a2c48e + 447a321 commit 608c575
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extras/codeToRun.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ checkNames <- c() # Names can be found in inst/csv/OMOP_CDM_v5.3_Check_Descripti

# want to EXCLUDE a pre-specified list of checks? run the following code:
#
# library(dplyr)
# checksToExclude <- c() # Names of check types to exclude from your DQD run
# allChecks <- DataQualityDashboard::listDqChecks()
# checkNames <- allChecks$checkDescriptions %>%
# subset(!(checkName %in% checksToExclude)) %>%
# select(checkName)
# dplyr::pull(checkName)

# which CDM tables to exclude? ------------------------------------
tablesToExclude <- c("CONCEPT", "VOCABULARY", "CONCEPT_ANCESTOR", "CONCEPT_RELATIONSHIP", "CONCEPT_CLASS", "CONCEPT_SYNONYM", "RELATIONSHIP", "DOMAIN") # list of CDM table names to skip evaluating checks against; by default DQD excludes the vocab tables
Expand All @@ -118,7 +119,7 @@ DataQualityDashboard::executeDqChecks(connectionDetails = connectionDetails,
checkNames = checkNames)

# inspect logs ----------------------------------------------------------------------------
ParallelLogger::launchLogViewer(logFileName = file.path(outputFolder, cdmSourceName,
ParallelLogger::launchLogViewer(logFileName = file.path(outputFolder,
sprintf("log_DqDashboard_%s.txt", cdmSourceName)))

# (OPTIONAL) if you want to write the JSON file to the results table separately -----------------------------
Expand Down

0 comments on commit 608c575

Please sign in to comment.