Add_Final_Quality_Check: Merge Manual QC onto all of the survey parts

Add_Final_Quality_CheckR Documentation

Merge Manual QC onto all of the survey parts

Description

This function allows you to merge a manual QC document back onto all of the automatically quality controlled survey parts and update the quality status. The manual QC document that you are merging needs to have the keys and a column titled "Suspicious" that simply has a "1" entry for any entry with a bad quality response

Usage

Add_Final_Quality_Check(Quality_Checked_Survey_List, Human_Checked_Datatable)

Arguments

Quality_Checked_Survey_List

This is the automatically controlled survey list

Human_Checked_Datatable

This is the singular human controlled survey table (can take any form, just needs to have a "key" column and a "Suspicious" column)

Value

Updated survey list where the automatic BQ status is put into an Auto_BQ column, and the Suspicious entry trumps the Auto_BQ to result in a final BQ column.

Examples

Final_QC_Total <- Add_Final_Quality_Check(QC_Total, Human_Checked_Datatable_Manual_QC)

bpresentati/surveyR documentation built on March 19, 2022, 3:40 a.m.