andybega / states

Create country-year/month/day panels consistent with the COW or Gleditsch & Ward independent states lists
https://andybeger.com/states/
Other
14 stars 0 forks source link

Add ISO3 codes #27

Open fewaltix opened 2 years ago

fewaltix commented 2 years ago

For easier use of databases that use G&W codes for countries, it would make sense to add ISO 3166-3 codes to the countries that existed after 1974 (when the ISO classification first appeared). These codes are the standards and necessary for merging etc.

I added an updated list of the gwstates-data as a .csv with ISO3 codes for all countries in existence after 1974. gwcodes.csv

andybega commented 2 years ago

Hi @FeWa-zu, there is another package, countrycode, that specifically handles country code system conversions. I would rather recommend using that package, over trying to replicate (a small subset) of the same functionality here.