Make issue from values in roster-level microdata
Arguments
- df
Data frame of microdata
- where
Logical expression that if
TRUE
indicates an issue.- roster_vars
Character vector. Names of roster ID variables needed to locate observation in roster.
- 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.
- issue_vars
Character. Regular expression to describe variables involved in issue.