CRAN

maditr 0.6.2

Fast Data Aggregation, Modification, and Filtering with Pipes and 'data.table'

Released Jun 9, 2019 by Gregory Demin

This package cannot yet be used with Renjin it depends on other packages which are not available: data.table 1.12.2

Dependencies

data.table 1.12.2 magrittr 1.5

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'.

Source

R

View GitHub Mirror

Release History