Doing Data Science in R : An Introduction for Social Scientists