Determine the presence of intersection in a string.
pm_intersect_detect(.data, var, dictionary, locale = "us")
| .data | A postmastr object created with pm_prep |
|---|---|
| var | A character variable containing address data to be parsed |
| 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.hasIntersect that is
TRUE if an intersection from the given dictionary is found in the
address and FALSE otherwise.