standCountry: Standardize country names in a dataset

Description Usage Arguments Value

Description

This function is built-in the MakeWorldMap function, so you shouldn't need to use directly.

Usage

1
standCountry(data, varname.x, nonMatch = c(FALSE, TRUE))

Arguments

data

A dataset with countries as cases

varname.x

The variable name for the column that holds the countries names

nonMatch

A boolean specifying whether or not a list of the countries without a match should be returned by the function

Value

The updated dataset with standardized names ($Data) and the list of countries without a match ($Unmatched) if the argument nonMatch is set to TRUE


dtkaplan/DCF documentation built on May 15, 2019, 4:57 p.m.