Convert directionals to the USPS preferred abbreviations
pm_streetDir_std(.data, var, dictionary, locale = "us")
.data | A postmastr object created with pm_prep |
---|---|
var | A character variable that may contain directionals |
dictionary | Optional; A tbl created with |
locale | A string indicating the country these data represent; the only current option is "us" but this is included to facilitate future expansion. |
A tibble with an updated variable that contains the one or two-letter abbreviation for the given directional. This follows USPS addressing standards.