create_intl_flag: Create Flag for International Records

Description Usage Arguments Value

Description

This function can be used to create a column that flags intl records. It assumes that the dataset includes a column with State Names

Usage

1
create_intl_flag(state_var, additions = c())

Arguments

state_var

Name of column in data set with state abbreviations

additions

Additional State Names to add as international. defaults to "FO", "AS", "FM", "GU","MH", "MP", "PW", "PR", "VI", "AE","AP", "AA", "CM"

Value

A new Boolean TRUE and FALSE Column where TRUE=International


gmellon/neaR documentation built on May 14, 2019, 2:42 p.m.