COM 674

Dad Joke

Did you hear about the mathematician who was afraid of negative numbers?

He would stop at nothing to avoid them


  • IRB

Paper Discussion

DellaPosta, D., Shi, Y., & Macy, M. (2015). Why Do Liberals Drink Lattes? American Journal of Sociology, 120(5), 1473–1511.

Discussant: Lucy

Principles for code organization

  • 3 directories
    • code
    • data
    • paper

Reproducible workflows and best practices

  • The idea is to be able to fix any step in the workflow and have the rest run with minimal problems
    • Data updates
    • Bugs
    • Changes to measures or questions
  • Save raw data
  • Run code in order
  • Write comments! (or text in Jupyter)

HW Review