3 ms·
The R example posted on the GitHub thread is very nice. [1] I use R every day, often parsing json and writing csv files. The solution posted by mrdwab is much
by phillc73 12y ago
The R example posted on the GitHub thread is very nice. [1]
I use R every day, often parsing json and writing csv files. The solution posted by mrdwab is much more succinct than my go to method, especially the use of pipes. I've read about pipes in the dplyr/magrittr packages before, but this is the first time I've seen them used and thought they made complete sense.
[1] https://gist.github.com/jorin-vogel/2e43ffa981a97bc17259#comment-1440543 https://gist.github.com/jorin-vogel/2e43ffa981a97bc17259#com...
- Gatsky 12y agoI agree, the solution in R seems by far the most simple and intelligible. But then R is specifically designed to do this kind of thing, so that's not too surprising.