The tidyverse


The tidyverse is a miniature ecosystem within R which has certain coding conventions and tooling to make certain data analysis easier and prettier, mostly based on functional programming.

Certainly something are hard and annoying in base R. Note that not everything is perfect in the tidyverse either — see Norm Matloff’s critique which argues against it on pedagogic grounds (and also has some good design critique).

Most lucid explanation of everything is Hadley Wickham’s Advanced R book which is free and only“Advanced” in the sense that your knowledge of R will be advanced after reading it, not in the sense of being forbiddingly complicated for beginners.

Helpful for the visually-inclined: tidyverse topic maps:

The tidyverts

The time-series tidyverse is the tidyverts incorporating time series dataframse, generic mostly-linear prediction and explorations and other such stuff.

Reshaping

The names have changed and I need to document. spread, gather, pivot_wide, pivot_long etc.

Wide and long intro. reshaping data using tidyr.