convert_country: Wrap the countrycode package to convert back and forth...

Description Usage Arguments

View source: R/utilities.R

Description

If given a vector of country codes, turn into names. If given a vector of names, turn back into country codes. This is a very simple utility since I find myself using this code too often

Usage

1

Arguments

x

Vector of either 2-letter country code or country names


dgrtwo/drlib documentation built on Oct. 11, 2019, 6:42 a.m.