Teaching/Resources

I have helped teach an undergraduate data analysis class focused on the causes and consequences of political corruption and a graduate course on causal inference. Below are some relevant materials I have collected and presented that may be of use to others. I also include some tutorials I have developed for presentation to graduate students in the UCLA Political Science department.

Downloading Facebook and Twitter Data using Python

Put together for a workshop on January 29, 2016, this tutorial and accompanying example scripts provide a guide to downloading Facebook and Twitter data using their APIs. Done entirely in Python, this tutorial takes advantage of several Python modules to ease data collection and storage.

Undergraduate Data Analysis

Resources

I prefer working in R (Download R). It is easy to use RStudio to edit your R code and produce R Markdown files (Download RStudio). Hopefully you have used these before in PS 6 or a similar course. If not, there are many resources available on the web, and I will link some of them here shortly.

R Markdown is a great tool to interleave code and writings. I have set up a quick manual and an example of its use to get you started: