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

Getting started

Package details

AuthorGregory Demin [aut, cre]
MaintainerGregory Demin <[email protected]>
LicenseGPL-2
Version0.6.1
URL https://github.com/gdemin/maditr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("maditr")

Try the maditr package in your browser

Any scripts or data that you put into this service are public.

maditr documentation built on Jan. 3, 2019, 9:04 a.m.