Getting started with seplyr
Win-Vector Blog 2017-12-15
A big “thank you!!!” to Microsoft for hosting our new introduction to seplyr. If you are working R and big data I think the seplyr package can be a valuable tool.
![safety.png Safety](https://i1.wp.com/www.win-vector.com/blog/wp-content/uploads/2017/12/safety.png?w=660)
For how and why, please check out our new introductory article.
Note: now that wrapr
version 1.0.2 is up on CRAN all of the examples can be re-written without quotes using the qae()
operator (“quote assignment expression”). For example:
library("seplyr")#> Loading required package: wraprpackageVersion("wrapr")#> [1] '1.0.2'plan <- partition_mutate_se( qae(name := tolower(name), height := height + 0.5, height := floor(height), mass := mass + 0.5, mass := floor(mass)))print(plan)#> $group00001#> name height mass #> "tolower(name)" "height + 0.5" "mass + 0.5" #> #> $group00002#> height mass #> "floor(height)" "floor(mass)"