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

Description 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.

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.


altaf-ali/countrycode_gw documentation built on May 15, 2019, 9:59 p.m.