[#]rstats
Footering about with duckdb.
Discovered I can wrap setDT() around the whole tbl(con,data) |> wrangling thing, collect it and do some #rdatatable goodness, using some custom helper functions for some very common actions
It does mean a mix of old pipe and new pipe but I don't care about that so much.
Wish I'd experimented with this ages ago.
Edit: it's faster to wrap it in setDT too, rather than collect () then setDT on result. Didn't expect that TBH
=> More informations about this toot | View the thread | More toots from johnmackintosh@fosstodon.org
=> View rstats tag | View rdatatable tag This content has been proxied by September (3851b).Proxy Information
text/gemini