pm_houseSuf_detect: Detect Presence of House Suffix

Description Usage Arguments Value

View source: R/houseSuf.R

Description

Determine the presence of street suffix names or abbreviations at the end of a string.

Usage

1
pm_houseSuf_detect(.data, dictionary, locale = "us")

Arguments

.data

A postmastr object created with pm_prep

dictionary

A tbl created with pm_append to be used as a master list for house suffixes

locale

A string indicating the country these data represent; the only current option is "us" but this is included to facilitate future expansion.

Value

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.


slu-openGIS/postmastr documentation built on Dec. 9, 2020, 3:32 a.m.