When writing code you’ll probably, at some point, want to reuse that code and maybe have someone else be able to read it and use it. So it is important to make sure that the code is readable for both yourself and others. You can achieve this by bearing in mind the 3 rules in this blog post.
We asked Phillip Brooker, an interdisciplinary researcher in the field of social media analytics, and social science expert on Introduction to Python for Social Scientists, for his advice on using data science methods in social science research.
Phillip has background in sociology and sociological research methods, and co-convenes the Programming-as-Social-Science (PaSS) network which explores computer programming as a subject and methodological tool for social research and teaching. So if you’re looking into computational social science, listen up, you’re in good hands!