Data Tables and the “Tidyverse”

This chapter discusses the improvements and new features introduced by the package data.table and some notable packages in the “tidyverse” collection of packages. In particular, the packages data.table and dplyr are compared in terms of the features they provide and how computationally efficient they are. Also the features for “tidying” data using the tidyr package are discussed.

Below is the supporting material for the various sections of the chapter.

Data Tables

The Tidyverse

A Comparison between the Approaches

Tidying Data Using the tidyr Package