pm_country_std: Standardize Parsed Countries

Description Usage Arguments

View source: R/country.R

Description

Convert countries to USPS preferred two-letter abbreviation.

Usage

1
pm_country_std(.data, var, dictionary)

Arguments

.data

A postmastr object created with pm_prep

var

A character variable that may contain countries

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.


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