Skip to contents

Create an issue from one or more attributes in attribute data

Usage

create_issue(df_attribs, vars, where, type = 1, desc, comment)

Arguments

df_attribs

Data frame of attributes

vars

Character. Variable(s) needed for the logical expression in condition.

where

Logical expression that if TRUE indicates an issue.

type

Type of issue. Values are as follows: c(Reject = 1, Comment = 2, Review = 4)

desc

Character. Short description for survey managers to understand the issue.

comment

Character. Longer message for interviewers to understand the issue and what to do about it.

Value

Data frame of issues with the following columns:

  • interview__id

  • interview__key

  • issue_type

  • issue_desc

  • issue_comment

  • issue_vars

  • issue_loc