pm_state_none: Return Only Unmatched Observations From pm_state_detect

Description Usage Arguments Value

View source: R/state.R

Description

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

Usage

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

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.

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 containing only observations that were not found in the dictionary. The variable created by pm_state_detect, pm.hasState, is removed.


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