codelist: Country Code Translation Data Frame (Cross-Sectional)

Description Usage Format Details Note

Description

A data frame used internally by the countrycode() function. 'countrycode' can use any valid code as destination, but only some codes can be used as origin.

Usage

1

Format

data frame with codes as columns

Details

Origin and Destination:

Destination only:

Note

The Correlates of War (cow) and Polity 4 (p4) project produce codes in country year format. Some countries go through political transitions that justify changing codes over time. When building a purely cross-sectional conversion dictionary, this forces us to make arbitrary choices with respect to some entities (e.g., Western Germany, Vietnam, Serbia). 'countrycode' includes a reconciled dataset in panel format: 'countrycode::countrycode_panel'. Instead of converting code, we recommend that users dealing with panel data "left-merge" their data into this panel dictionary.


YTLogos/countrycode documentation built on May 22, 2019, 4:39 p.m.