Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iso3c column aren't iso3c codes #19

Closed
thereseanders opened this issue Mar 23, 2020 · 2 comments
Closed

iso3c column aren't iso3c codes #19

thereseanders opened this issue Mar 23, 2020 · 2 comments

Comments

@thereseanders
Copy link

The iso3c column aren not ISO 3166-1 alpha-3 codes based on the UN Statistics division. Naming them iso3c is misleading.

I believe these are custom 3-letter country codes in the Gleditsch & Ward data that I am guessing are based on COW 3-letter country codes (with a few exceptions).

The countrycode package has all three codes to verify these aren't iso3c codes:

library(countrycode)
countrycode::codelist %>%
  dplyr::select(country.name.en, cowc, gwc, gwn, iso3c)
@thereseanders thereseanders changed the title iso3c column aren't iso3c codes iso3c column aren't iso3c codes Mar 23, 2020
andybega added a commit that referenced this issue Mar 23, 2020
@andybega
Copy link
Owner

andybega commented Mar 23, 2020

Hi, thanks! I have renamed the columns gwc and cowc, what do you think?

@thereseanders
Copy link
Author

Yes, that clarifies it!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants