Replace data.table with the awesome dplyr package