prettyc: Shorten country names

View source: R/misc.R

prettycR 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)


states documentation built on Sept. 8, 2023, 5:48 p.m.