pm_streetDir_none: Return Only Unmatched Observations From pm_has_dir

Description Usage Arguments Details Value

View source: R/directional.R

Description

Automatically subset the results of pm_streetDir_detect to return only observations that were not found in the dictionary.

Usage

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

Arguments

.data

A postmastr object created with pm_prep

dictionary

Optional; A tbl created with pm_dictionary to be used as a master list of directionals. If none is provided, the dic_us_dir object will be used as the default dictionary when locale = "us".

locale

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

Details

If a street name is also a directional, like North Ave, it will be identified as such. See pm_streetDir_parse and pm_streetSuf_parse for additional details on how these addresses are handled.

Value

A tibble containing only observations that were not found in the dictionary. The variable created by pm_streetDir_detect, pm.hasDir, is removed.


chris-prener/postmastr documentation built on Dec. 13, 2020, 3:39 a.m.