Determine whether the dictionary returns any matches.

pm_city_all(.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

If scalar = TRUE, a single logical scalar is returned that is TRUE if the data contains at least one city name from the given dictionary and FALSE if they do not.