Determine whether the dictionary returns any matches.
pm_state_any(.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 logical scalar is returned that is TRUE
if the data contains at
least one state name or abbreviation the given dictionary and FALSE
if they do not.