Rectangling is the art and craft of taking a deeply nested list (often sourced from wild caught JSON or XML) and taming it into a tidy data set of rows and columns. This vignette introduces you to the main rectangling tools provided by tidyr:
A nested data frame contains a list-column of data frames. It’s an alternative way of representing grouped data, that works particularly well when you’re modelling.
A tidy dataset has variables in columns, observations in rows, and one value in each cell. This vignette introduces the theory of “tidy data” and shows you how it saves you time during data analysis.