Process all transfusion files in a folder and generate qc reports

process_all_transfusion_files(data_folder,
  report_folder = file.path(dirname(data_folder),
  paste0(basename(data_folder), "_Reports")),
  pattern = "LAB-BB-CSRP-Transfused*")

Arguments

data_folder

the folder containing the raw data

report_folder

the folder to write reports to, default is data_folder with "_Reports" appended. Must exist.

pattern

the pattern to distinguish CBC files, default "LAB-BB-CSRP-Transfused*" appearing anywhere

Value

a combined dataset