Luke Sloan and Anabel Quan-Haase have put together a great volume on social media research methods. Here is the link to the publisher. My contribution is: Hegelich, S., 2017, R for social media analysis, in: Handbook of social media research methods, Sloan, L./Quan-Haase, A. (eds.), Sage, Los Angelos, 486-498. The contribution is based on this tutorial.