Essays on Political Methodology and Data Science