pm_city_detect: Detect Presence of City Name in Address

Description Usage Arguments Value

View source: R/city.R

Description

Determine the presence of city names in a string.

Usage

1
pm_city_detect(.data, dictionary)

Arguments

.data

A postmastr object created with pm_prep

dictionary

A tbl created with pm_dictionary to be used as a master list for cities.

Value

A tibble with a new logical variable pm.hasCity that is TRUE if a city name from the given dictionary is found in the at the end the address and FALSE otherwise.


chris-prener/postmastr documentation built on Dec. 13, 2020, 3:39 a.m.