ABSTRACT

The “tidyverse” is a network of packages that makes working with R much easier. Among other things, “tidyverse”-style functions (such as from the “dplyr” and “ggplot2” packages) make it much easier to write clean code, which facilitates the “reproducibility” of one’s analysis, i.e., the ability of other researchers to recreate every step in the data analysis cycle. Besides teaching how to wrangle with data, this chapter introduces reproducible research practices, including R Markdown. The chapter also addresses common objections against sharing one’s data and code.