Chapter 4 – Restructuring Data
The loaded R package versions (in the order mentioned in the chapter):
- hflights 0.1 (CRAN)
- dplyr 0.4.1 (CRAN)
- data.table 1.9.4. (CRAN)
- pryr 0.1 (CRAN)
- reshape 1.4.2 (CRAN)
- ggplot2 1.0.1 (CRAN)
- tidyr 0.2.0 (CRAN)
Further R packages:
- jsonlite 0.9.16 (CRAN)
Further reading:
- Introduction to data.table, Tutorial slides at the useR! 2014 conference by Matt Dowle at http://user2014.stat.ucla.edu/files/tutorial_Matt.pdf
- Reshaping data with the reshape package, Hadley Wickham, 2006 at http://had.co.nz/reshape/introduction.pdf
- Practical tools for exploring data and models by Hadley Wickham, 2008 at http://had.co.nz/thesis/
- Two-table verbs, Package vignette, at https://cran.r-project.org/web/packages/dplyr/vignettes/two-table.html
- Introduction to dplyr, Package vignette, http://cran.r-project.org/web/packages/dplyr/vignettes/introduction.html
- Data Wrangling cheat sheet, RStudio, 2015 https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
- Data manipulation...