Subject ▸ teaching

Twitter data in R

Update (November 2024): Since the publication of this blogpost, Twitter has revised its API access policies, and it is no longer freely accessible in the same way it once was. As a result, some of the workshop slides are now out of date. Slides | All course materials Earlier this month, I taught my two-day course on working with Twitter data in R, at the University of Lucerne. This was part of a Master’s Programme in Computational Social Science, LUMACSS.

Read More…

Web scraping in R

Click here for the slides, and here for all the course materials. I recently organised a short course on web scraping in R, as part of a Master’s Programme in Computational Social Science, at the University of Lucerne. I have built a website and a Shiny app just for this course, to facilitate learning. These are tailored for the exercises in the course. You can find other course material at GitHub.

Read More…

R Markdown workshop

Click here for the slides, and here for all the workshop materials. R Markdown has been at the centre of my research workflow for some time. It allows me to tidy and analyse data, create tables and figures, manage citations and references, and write up the results in one screen. And if, say, a regression table needs a new model, it often takes only a few lines of code and a click to reproduce the output — be it a PDF, HTML, and/or a Word document.

Read More…