Pipe-Style Interface for 'data.table'

Package provides pipe-style interface for 'data.table'. It preserves all 'data.table' features without significant impact on performance. 'let' and 'take' functions are simplified interfaces for most common data manipulation tasks. For example, you can write 'mtcars %>% take(mean(mpg), by = am)' for aggregation or 'mtcars %>% let(hp_wt = hp/wt, hp_wt_mpg = hp_wt/mpg)' for modification. Use 'take_if/let_if' for conditional aggregation/modification. 'query_if' function translates its arguments one-to-one to '[.data.table' method. Additionally there are some conveniences such as automatic 'data.frame' conversion to 'data.table'.


0.6.0 (2018-08-12)

  • add joins: 'dt_left_join', 'dt_right_join', 'dt_inner_join', 'dt_full_join', 'dt_anti_join', 'dt_semi_join'

0.5.2 (2018-07-18)

  • add 'dcast' and 'melt' methods for data.frame
  • add ':=' operator for 'take'/'take_if'/'summarize' for parametric evaluation

0.5.1 (2018-05-09)

  • fix stupid bug with incorrect minimal version of data.table in DESCRIPTION
  • add 'dplyr'-like interface.

0.5.0 (2018-05-05)

  • initial release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.6.1 by Gregory Demin, 2 months ago


Report a bug at https://github.com/gdemin/maditr/issues

Browse source code at https://github.com/cran/maditr

Authors: Gregory Demin [aut, cre]

Documentation:   PDF Manual  

GPL-2 license

Imports data.table, magrittr

Suggests knitr, testthat

See at CRAN