clean_county_fips: Clean county FIPS codes

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

clean_county_fipsR Documentation

Clean county FIPS codes

Description

Clean county FIPS codes

Usage

clean_county_fips(county, keep_unknown = FALSE)

Arguments

county

A character vector of county FIPS 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 counties are replaced with NA.


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