Calle Börstell · @c_borstell
178 followers · 44 posts · Server fediscience.org

While doing teaching prep for a computational linguistics class, updating the scripts to include the new native pipe operator |>.

Did a little meta-analysis of my own scripts and the relative use of either pipe: change in progress!

#ggplot2 #tidyverse #rstats

Last updated 1 year ago

Ethan White · @ethanwhite
1184 followers · 1173 posts · Server hachyderm.io

Looks like folks currently prefer teaching summarizing using 'group_by |> summarize' over 'summarize(..., .by=)' by a margin of 3:1.

#tidyverse

Last updated 1 year ago

Steven Ponce · @sponce1
0 followers · 29 posts · Server graphics.social

Here is my for the challenge – W36. This one is about union membership in the United States, 1970-2022.
.
This week's data comes from the Union Membership, Coverage, and Earnings from the CPS.
.
📂: github.com/poncest/tidytuesday
.
| | | |

#viz #tidytuesday #rstats #r4ds #tidyverse #dataviz #ggplot2

Last updated 1 year ago

Ethan White · @ethanwhite
1182 followers · 1169 posts · Server hachyderm.io

If you're teaching with this fall I definitely recommend taking at look at @minecr's excellent "Teaching the tidyverse in 2023"

tidyverse.org/blog/2023/08/tea

#rstats #tidyverse

Last updated 1 year ago

Ethan White · @ethanwhite
1182 followers · 1165 posts · Server hachyderm.io

Hey teachers - any thoughts on whether to teach

group_by |> summarize

or the new

summarize(..., .by =)

I suspect that .by will be easier for novices but also doesn't generalize well outside of since you have to group first in SQL, , etc.

#rstats #tidyverse #python

Last updated 1 year ago

Calle Börstell · @c_borstell
178 followers · 41 posts · Server fediscience.org
jonthegeek · @jonthegeek
1205 followers · 638 posts · Server fosstodon.org
Datascience · @datascience
533 followers · 311 posts · Server genomic.social

Do you need better performance than what the standard functions have? {collapse} might be worth a look: sebkrantz.github.io/collapse/

#tidyverse #RStats #optimization

Last updated 1 year ago

Cameron Mulder · @Mulderc
187 followers · 1311 posts · Server xoxo.zone

being able to use unite() and starts_with() simplified a very messy data issues I was having. Thank you

#tidyverse #r

Last updated 1 year ago

Janekdererste · @janekdererste
20 followers · 433 posts · Server det.social

@geospacedman true. For me and are synonym for , as I just use it for data wrangling and plotting.

#tidyverse #ggplot2 #r

Last updated 1 year ago

Harald Kliems · @haraldkliems
339 followers · 1500 posts · Server fosstodon.org

`across` question: The documentation for `across()` says it can be used with any tidyverse verb. I have a pretty good grasp of how it works with `mutate` or `summarize`, but I'm struggling with the syntax for using it with `separate_wider_delim()` on multiple columns. I have a bunch of `variable_1` `variable_2` columns that I want to separate in one go.

#tidyverse #rstats

Last updated 1 year ago

Calle Börstell · @c_borstell
173 followers · 38 posts · Server fediscience.org
jonthegeek · @jonthegeek
1187 followers · 585 posts · Server fosstodon.org
PatrickCoyle · @PatrickCoyle
5 followers · 13 posts · Server fosstodon.org

It feels like pkgdown::build_site() should have its own roxygen2 roclet. Is there a reason this hasnt been made? Am i about to waste a weekend?

#rstats #softwaredevelopment #tidyverse

Last updated 1 year ago

PatrickCoyle · @PatrickCoyle
5 followers · 13 posts · Server fosstodon.org

@mdsumner besides the , {targets} is the most important package I use. @landau thought of everything!

#tidyverse

Last updated 1 year ago

Angela Li · @angela
589 followers · 71 posts · Server fediscience.org

I demonstrated a few use cases for our grads (debugging a error, asking to list all the helper functions for the "select" function in the , translate Stata code to , etc).

But my absolute favorite example was when I prompted ChatGPT to write a song about data manipulation in the style of Taylor Swift. See results below...

#rstats #tidyverse #chatgpt #ggplot2

Last updated 1 year ago

Posit · @Posit
1717 followers · 141 posts · Server fosstodon.org

We’re thrilled to announce the release of webR 0.2.0!

This release gathers together many updates and improvements to webR over the last few months, including improvements to the HTML canvas graphics device, support for Cairo-based bitmap graphics, accessibility, and internationalization improvements, additional Wasm package support (including ), a new REPL app, and various updates to the webR developer .

Read more on the blog: tidyverse.org/blog/2023/08/web

#rstats #shiny #webr #api #tidyverse

Last updated 1 year ago

António Domingues · @keyboardpipette
241 followers · 2306 posts · Server genomic.social

I am an heavy user of the for interactive analysis, but package dev... Nah.

A package / app developed in the last couple of years is now breaking in three different functions because rlang three dots changed (I think?). Cue serious time spent refactoring code for reasons.

Lesson learned, it's base R or .table for some stable code from now on.

Mind you, I will still use and advise using the tidyverse but it comes it a massive "here be dragons" sign.

#tidyverse #RStats #shiny #data

Last updated 1 year ago