I also contribute to the MA programme in Applied Psychology (Mental Health) and supervise students for MA research projects. In the past few years I have been developing my skills in using the R programming language as a tool for research, statistical analysis and text mining. My blog posts on this site feature some of my explorations using R in psychology. Feel free to message me if you have ideas to improve the code or have other comments or feedback.
Retrieving our data This blog post is a continuation of the previous two (3.1 & 3.2) examining tweets about covid, downloaded using the rtweet package. If you are coming to this blogpost cold, there is a quick way to get the data as we left it at the end of blogpost 3.2. I have saved the cleaned dataset in my package as london_2. You can install the r4psych package, run library(r4psych) and then import the data with the data(london_2) command.Read more
For the past couple of years I have been working on a book using R for data science. The focus is on elements of data management that are sometimes treated lightly in traditional statistics books - organising data, renaming variables, creating composite scores and creating publication-ready output. Here is the blurb from the back of the book: This introduction to R for students of psychology and health sciences aims to fast-track the reader through some of the most difficult aspects of learning to do data analysis and statistics.Read more