rtmill / Data-Quality-Analysis

The PEDSnet Data Quality Assessment Toolkit (OMOP CDM)
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Differing file paths between globalconstants and generateReportDependencies #1

Open rtmill opened 5 years ago

rtmill commented 5 years ago

e.g.

GlobalConstants.R:

g_total_counts_path <<- paste(getwd(),
                              "/Data/PreviousDataSummary/total_counts.csv", sep= "")

vs. generateReportDepencies:

norm_path <- normalize_directory_path(g_config$reporting$site_directory)
total_counts_filename<-paste(norm_path,"./data/total_counts.csv",sep="")
rtmill commented 5 years ago

example error this causes:

Failed to generate VISIT_OCCURRENCE report, see dqa.log for more details. : Error in file(file, "rt"): cannot open the connection