naaccr_override: Interpret basic over-ride flags

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

naaccr_overrideR Documentation

Interpret basic over-ride flags

Description

Interpret basic over-ride flags

Usage

naaccr_override(flag)

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

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

naaccr documentation built on Sept. 20, 2024, 5:07 p.m.