clean_facility_id: Clean facility identification numbers

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

clean_facility_idR Documentation

Clean facility identification numbers

Description

Clean facility identification numbers

Usage

clean_facility_id(fin, keep_unknown = FALSE)

Arguments

fin

A character vector of facility identification numbers (FIN).

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 facilities are replaced with NA.


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