Process all census files in a folder and generate qc reports

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

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.

locations

the character vector of locations to consider

pattern

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

Value

a combined dataset