naaccr_override: Interpret basic over-ride flags

Description Usage Arguments Value Examples

View source: R/data-item-interpreting.R

Description

Interpret basic over-ride flags

Usage

1

Arguments

flag

Character vector of over-ride flags. Its values should only include "" (blank), "1", and possibly NA.

Value

A logical vector with the interpreted values of flag. The interpretation follows these rules: "1" goes to TRUE (reviewed and confirmed as reported), "" (blank) goes to FALSE (not reviewed or reviewed and corrected), and all other values go to NA.

Examples

1
  naaccr_override(c("", "1", NA, "9"))

naaccr documentation built on Jan. 11, 2020, 9:17 a.m.