clean_address_city: Clean city names

Description Usage Arguments Value

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

Description

Clean city names

Usage

1

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 Jan. 11, 2020, 9:17 a.m.