The geonames country info text file http://download.geonames.org/export/dump/countryInfo.txt contains the country names and a range of codes along with information linked to the capital city.
places_countryinfo()
data.frame
Column names are converted to lowercase, spaces are replaced with underscores and brackets removed.
# NOT RUN { places_countryinfo() # }