Determine the presence of street suffix names or abbreviations at the end of a string.
pm_houseSuf_detect(.data, dictionary, locale = "us")
.data | A postmastr object created with pm_prep |
---|---|
dictionary | A tbl created with |
locale | A string indicating the country these data represent; the only
current option is |
A tibble with a new logical variable pm.hasHouseSuf
that is
TRUE
if a house suffix from the given dictionary is found at the beginning
of the address and FALSE
otherwise.