Hadley Wickham's

The split-apply-combine strategy for data analysis

  • Hadley Wickham.
  • The split-apply-combine strategy for data analysis.
  • Journal of Statistical Software, vol. 40, no. 1, pp. 1––29, 2011.

Download: pre-print | from publisher


Many data analysis problems involve the application of a split-apply-combine strategy, where you break up a big problem into manageable pieces, operate on each piece independently and then put all the pieces back together. This insight gives rise to a new R package that allows you to smoothly apply this strategy, without having to worry about the type of structure in which your data is stored.

The paper includes two case studies showing how these insights make it easier to work with batting records for veteran baseball players and a large 3d array of spatio-temporal ozone measurements.

@Article{plyr,
  author = {Hadley Wickham},
  journal = {Journal of Statistical Software},
  number = {1},
  pages = {1––29},
  selected = {TRUE},
  title = {The split-apply-combine strategy for data analysis},
  url = {http://www.jstatsoft.org/v40/i01/},
  volume = {40},
  year = {2011},
  bdsk-url-1 = {http://www.jstatsoft.org/v40/i01/},
}