powered by
Shorten country names
prettyc(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)
Run the code above in your browser using DataLab