Andreas Beger

Data/political scientist

Quick lookup for country codes


Tags: #ccode #gwcode

Update on 2017-11-01: In the meantime I’ve written a minimal R package with the COW and GW state lists and a rudimentary search helper function at https://github.com/andybega/states.

After more than half a decade at this, it has finally dawned upon me that instead of downloading the Correlates of War state system membership table, or the Gleditsch and Ward refinement of it, every time I wonder what country “338” is, it might be easier to upload them to Google:

COW codes and state system membership

G&W codes and state system membership

And, for the sake of self-promoting completeness, code to produce panel data reflecting COW or G&W state system membership, and old Stata code to change country names to COW codes.