pm_state_all: Does State Dictionary Return a Match for All Observations

Description Usage Arguments Value

View source: R/state.R

Description

Determine whether the dictionary returns any matches.

Usage

1
pm_state_all(.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 logical scalar is returned that is TRUE if the data contains a state name or abbreviation for every observation in the data set and FALSE otherwise.


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