Learn R Programming

countrycode (version 1.6.0)

Convert Country Names and Country Codes

Description

Standardize country names, convert them into one of 40 different coding schemes, convert between coding schemes, and assign region descriptors.

Copy Link

Version

Install

install.packages('countrycode')

Monthly Downloads

186,796

Version

1.6.0

License

GPL-3

Last Published

March 22nd, 2024

Functions in countrycode (1.6.0)

countryname

Convert country names in any language to another name or code
countryname_dict

A dataframe of alternative country names in many languages. Used internally by the countryname function.
cldr_examples

List of CLDR country name codes and associated examples
codelist

Country Code Translation Data Frame (Cross-Sectional)
get_dictionary

Get Custom Dictionaries
guess_field

Guess the code/name of a vector
codelist_panel

Country Code Translation Data Frame (Country-Year Panel)
countrycode

Convert Country Codes