clean_address_city: Clean city names

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

clean_address_cityR Documentation

Clean city names

Description

Clean city names

Usage

clean_address_city(city, keep_unknown = FALSE)

Arguments

city

A character vector of city names.

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


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