This is the code used for the online BDI code clinic. The code runs through the use of the data.table package for data munging in R.
- The data.table philosophy
- How data.table differs from base R & how it differs from dplyr
- Run through with example dataset
- loading data into R
- subsetting and filtering
- grouping and summarising
- sorting
- joining
- reshaping
- chaining several operations