An Introduction to Political and Social Data Analysis Using R