Skip to contents

Add consolidated rejection message to data frame of interviews to reject

Usage

add_rejection_msgs(df_to_reject, df_issues, issue_types_to_reject = 1)

Arguments

df_to_reject

Data frame. Interviews to reject. Contains columns interview__id, interview__key, interviewComplete, interview__status

df_issues

Data frame. Issues noted for each interview.

issue_types_to_reject

Numeric. Issue type values to reject.

Value

Data frame with 1 observation per interview that consists of interview ID, rejection message, and interview status