Exploring, cleaning, and analysing data in R