pm_country_any: Does Country Dictionary Return Any Matches

Description Usage Arguments Value

View source: R/country.R

Description

Determine whether the country dictionary returns any matches.

Usage

1
pm_country_any(.data, dictionary)

Arguments

.data

A postmastr object created with pm_prep

dictionary

Optional; a tbl created with pm_dictionary to be used as a master list for countries. If none is specified, the full default country dictionary will be used.

Value

A logical scalar is returned that is TRUE if the data contains at least one country name or abbrevation in the given dictionary and FALSE if they do not.


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