eco-data-science / eco-data-science-old-site

website, wiki and issues for the group
http://eco-data-science.github.io
Other
31 stars 18 forks source link

List wrangling cheat sheet? #25

Open DanOvando opened 8 years ago

DanOvando commented 8 years ago

Hey guys, given that we're apparently moving towards a world of endlessly nested lists (thanks tibbles!), has anyone come across a comparable resource to the "data wrangling with dplyr and tidyr" for manipulating lists? Or even just a recommended overview of lists as a data structure? Trying to get a more birds-eye view of the best way to manipulate these guys.

jcvdav commented 8 years ago

Hey Dan,

I was looking into this just last week. I bookmarked some interesing blogs for a wide range of data managing / visualization tools, and an interesting package: listviewer. With listviewer::jsonedit(my_list) you can look at a "tree" (among other views) of your list in R's viewer. However, this only allows you to look at it, not manipulate it. Hope it helps into some extent!

DanOvando commented 8 years ago

Thanks Juan,

Also, apparently Hadley is psychic, just released this (though for some reason it doesn't seem to be part of the book yet)

http://r4ds.had.co.nz/lists.html

bbest commented 8 years ago

Good one Dan (and Hadley)! I like the section on map functions from purrr (more in purrr blog https://blog.rstudio.org/2015/09/29/purrr-0-1-0/) - powerful list functions with chaining ease.

On Wed, Aug 24, 2016 at 11:03 AM, Dan Ovando notifications@github.com wrote:

Thanks Juan,

Also, apparently Hadley is psychic, just released this (though for some reason it doesn't seem to be part of the book yet)

http://r4ds.had.co.nz/lists.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eco-data-science/eco-data-science.github.io/issues/25#issuecomment-242156133, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtLCc4XVoqIn9gOadaT_ZC4u2FA-IEgks5qjIePgaJpZM4JnrfK .