I just updated my Stata do-file for standardizing country names (see earlier post here). The main update is that I've added World Values Survey country codes.
The do-file now lives at its own Git here.
I hope to have an R version of this in the near future. (I still like using data to merge together large cross-country data sets. For example, the full World Values Survey is a bit unwieldy in R.)
Update 20 February 2012: I just ran across Vincent Arel-Bundock's countrycode package for R. I haven't tried it out yet, but from reading the documentation it looks like countrycode does pretty much what my do-file does, but better, e.g. it includes more country coding schemes. Vincent Arel-Bundock is also the author of another R package I really like, WDI. WDI makes it easy to grab World Bank Indicators. I've used it a number of times in post for this blog.
The do-file now lives at its own Git here.
I hope to have an R version of this in the near future. (I still like using data to merge together large cross-country data sets. For example, the full World Values Survey is a bit unwieldy in R.)
Update 20 February 2012: I just ran across Vincent Arel-Bundock's countrycode package for R. I haven't tried it out yet, but from reading the documentation it looks like countrycode does pretty much what my do-file does, but better, e.g. it includes more country coding schemes. Vincent Arel-Bundock is also the author of another R package I really like, WDI. WDI makes it easy to grab World Bank Indicators. I've used it a number of times in post for this blog.
Comments