Often times when working with data in R, you find yourself needing to summarise a data.frame by a column, a
SELECT SUM(..) or SELECT COUNT(..) in MySQL if you will.
For instance, you may have a lot of page-visits to analyse and you aren't quite certain how to summarise some
of that data using R.
Let's consider the following (trivial) dataset: