Shorten country names
prettyc(x)
x
(character()) Country names, e.g. from country_names().
character()
country_names()
cn <- c( "Macedonia, the former Yugoslav Republic of", "Congo, the Democratic Republic of the", "Tanzania, United Republic of") prettyc(cn)