When working with data at the country level, "countrycode" that can do a multitude of useful things: Standardize country names, convert them into one of eleven coding schemes, convert between coding schemes, and assign region descriptors. In our lab, we've used this package to easily merge multiple datasets by standardizing country names, which simplifies an otherwise tedious process! Find out more about the package at the link below:
Ben Purzycki, Joe's former post-doc who now works at the Max Planck Institute for Evolutionary Anthropology, has created a new R package for working with ethnographic data. It contains tools for doing doing multi-factor free-list analysis and cultural consensus analysis. For more info, check out the AnthroTools website.
To install AnthroTools, open R and run the following code:
Here, we'll post useful bits of R code. If you would like to contribute code that you have written, or that you think people in our research group would find useful, please contact us at culture.cognition.evo.lab@gmail.com.