Short course: The R tidyverse
Date: 30 November - 3 December 2021
Location: Online lectures, PhD in Quantitative Methods for Policy Evaluation, University of Macerata, Italy
This page is for people attending my short course on The R tidyverse.
Prerequisites
A computer with a recent version of R and RStudio installed, along with the following packages and their dependencies:
tidyversereadxljanitorskimrknitr
Participants will be assumed to be familiar with basic statistical tools as offered in introductory courses, but no knowledge of R will be assumed.
Reference
Need help to install R and RStudio?
Useful cheatsheet
Program
Monday 30 November
| 09.30 - 11.15 | Introduction to R and RStudio |
| 11.15 - 11.30 | Break |
| 11.30 - 13.30 | Workspace, script files and RStudio projects |
Wednesday 1 December
| 09.30 - 11.15 | The grammar of data manipulation (1) |
| 11.15 - 11.30 | Break |
| 11.30 - 13.30 | The grammar of data manipulation (2) |
Thursday 2 December
| 09.30 - 11.15 | The grammar of graphics |
| 11.15 - 11.30 | Break |
| 11.30 - 13.30 | The grammar of reporting |
Handouts for the lectures
Assignments
Self-study material:
- Chapters 1, 2, 3, 4, 5 and 6 from the official R manual: An introduction to R
- Chapters from 1 to 21, from chapter 26 to 30 from the book R for Data Science
- Read the paper
Tidy Data, Hadley Wickham, Journal of Statistical Software, Vol. 59 (2014) - Read the paper
A Layered Grammar of Graphics, Hadley Wickham, Journal of Computational and Graphical Statistics, Journal of Computational and Graphical Statistics Volume 19, Issue 1, 2010Pre-print available here
Download here the homeworks:
Homework #01, to be delivered within December 13Homework #02, to be delivered within December 13Homework #03, to be delivered within December 13Homework #04, to be delivered within December 13Homework #05, to be delivered within December 13Homework #06, to be delivered within December 31