Ancestors

Toot

Written by John MacKintosh on 2024-12-20 at 07:47

[#]rstats

Recommend me your go-to resources for working with (deeply) nested lists / list columns and purrr, that aren't R4DS or Advanced R.

Thank you

=> More informations about this toot | More toots from johnmackintosh@fosstodon.org

Descendants

Written by Paul (Tex) Hewson on 2024-12-20 at 08:12

@johnmackintosh python. Seriously, if it's a deeply nested JSON structure I find that's easier. But in R itself this is my current goto resource

https://www.spsanderson.com/steveondata/posts/2024-10-29/

=> More informations about this toot | More toots from texhewson@datasci.social

Written by Josep Pueyo-Ros :rstats: on 2024-12-20 at 08:29

@texhewson @johnmackintosh If you choose to change language, I'd would recommend using node.js. JavaScript and JSON structures are designed to work together. You can flatten the data to one or several one-level jsons and then read them easily from R.

You can even use nodejs-polars and convert to tabular data exportable to csv.

=> More informations about this toot | More toots from jospueyo@fosstodon.org

Written by Michael McCarthy on 2024-12-20 at 08:21

@johnmackintosh As someone also doing this work, I feel like there aren’t many resources on the topic aside from what you already mentioned. That said:

=> More informations about this toot | More toots from mccarthymg@fosstodon.org

Written by Michael McCarthy on 2024-12-20 at 08:26

@johnmackintosh For me the challenge working with this type of data is mostly conceptual and specific to a given data set. The tools are generally straightforward—it’s deciding how to apply them that can be less obvious…

=> More informations about this toot | More toots from mccarthymg@fosstodon.org

Written by Eric Book on 2024-12-20 at 14:34

@johnmackintosh I don't know of any other books or articles that stand out and haven't been mentioned. I'll just add some packages (and a tool).

listviewer, https://github.com/timelyportfolio/listviewer

nplyr, https://markjrieke.github.io/nplyr/

rrapply, https://jorischau.github.io/rrapply/

tidyjson, https://github.com/colearendt/tidyjson

=> More informations about this toot | More toots from erc_bk@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113684046021109869
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
283.776747 milliseconds
Gemini-to-HTML Time
0.922478 milliseconds

This content has been proxied by September (3851b).