maditr

Fast Data Aggregation, Modification, and Filtering with Pipes and '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'.

Total

4,978

Last month

411

Last week

90

Average per day

14

Daily downloads

Total downloads

Description file content

Package
maditr
Type
Package
Title
Fast Data Aggregation, Modification, and Filtering with Pipes and 'data.table'
Version
0.6.2
Maintainer
Gregory Demin
Depends
R (>= 3.3.0)
Imports
data.table (>= 1.11), magrittr (>= 1.5)
Suggests
knitr, testthat
Description
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'.
License
GPL-2
URL
BugReports
https://github.com/gdemin/maditr/issues
VignetteBuilder
knitr
Encoding
UTF-8
LazyData
true
RoxygenNote
6.1.1
NeedsCompilation
no
Packaged
2019-06-09 12:12:26 UTC; gregory
Author
Gregory Demin [aut, cre]
Repository
CRAN
Date/Publication
2019-06-09 12:30:03 UTC

install.packages('maditr')

0.6.2

2 months ago

https://github.com/gdemin/maditr

Gregory Demin

GPL-2

Depends on

R (>= 3.3.0)

Imports

data.table (>= 1.11), magrittr (>= 1.5)

Suggests

knitr, testthat

Discussions