clean_physician_id: Clean physician identification numbers

Description Usage Arguments Value

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

Description

Clean physician identification numbers

Usage

1

Arguments

physician

A character vector of medical license number or facility-generated codes.

keep_unknown

Replace values for "unknown" with NA?

Value

A character vector with leading and trailing whitespace removed. If keep_unknown is FALSE, blanks and values representing unknown physicians or non-applicable are replaced with NA.


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