process_all_census_files: Process all census files in a folder and generate qc reports

Description Usage Arguments Value

View source: R/process-data.R

Description

Process all census files in a folder and generate qc reports

Usage

1
2
3
4
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


bnaras/SBCpip documentation built on May 5, 2019, 6:54 p.m.