prettyc {states}R Documentation

Shorten country names

Description

Shorten country names

Usage

prettyc(x)

Arguments

x

(character())
Country names, e.g. from country_names().

Examples

cn <- c(
  "Macedonia, the former Yugoslav Republic of",
  "Congo, the Democratic Republic of the",
  "Tanzania, United Republic of")
prettyc(cn)


[Package states version 0.3.2 Index]