Is it a US city / place name?
Value
Logical vector; TRUE for a name in the normalized .us_cities
lookup (case/punctuation-insensitive). Coverage is the ~1,000 larger US
cities (maps::us.cities); smaller towns will miss.
See also
Other address detectors:
is_address(),
is_city_state(),
is_po_box(),
is_state_zip(),
is_street_address()
Examples
is_city_name(c("Chicago", "New Orleans", "Nowheresville", NA))
#> [1] TRUE TRUE FALSE NA