prep_crf() select relevant columns, renames those columns using labels from the REDcap CRF project, and formats the contents of CRF data to prepare for export to Excel. Non-export columns are dropped.

prep_crf(data = add_recent_test(), template = download_crf_template())

Arguments

data

Data ready for export preparation, as produced by add_recent_test()

template

The template for the CRF REDcap project

Value

The input data with export columns selected, renamed, and formatted