makeQCLog: Generate the QC log

Description Usage Arguments Value

View source: R/QCMemo_script.R

Description

This function organizes the information from the doc block at the beginning of the template into a table detailing all the programs, datasets, and other files covered in the QC memo.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
makeQCLog(
  rootdir,
  rawprg,
  rawdat,
  s1prg,
  s1dat,
  s2prg,
  s2dat,
  s2mac,
  prgmer_raw,
  prgmer_s1,
  prgmer_s2,
  reviewers,
  QC_date
)

Arguments

rootdir

The root directory for all programs and data. This directory should contain subfolders for programs and SAS datasets (e.g. "prg" and "sd7" folders).

rawprg

The name of the raw step program.

rawdat

A vector containing the names of all the raw datasets.

s1prg

The name of the Step 1 program.

s1dat

A vector containing the names of all the Step 1 datasets. Must end in .sas7bdat and be uncompressed.

s2prg

The name of the Step 2 program.

s2dat

The name of the Step 2 dataset. Must end in .sas7bdat and be uncompressed.

s2mac

The name of the Step 2 macro Excel worksheet. Must end in .xlsm.

prgmer_raw

The raw step programmer.

prgmer_s1

The Step 1 programmer.

prgmer_s2

The Step 2 programmer.

reviewers

The names of the QC memo reviewers

QC_date

The date of the QC memo review.

Value

A flextable object.


c-hill-mdrc/QCmemo documentation built on July 25, 2020, 12:48 a.m.