R-Guy

@rstats.bsky.social

Public Servant, #rstats coder

Finnish aid worker Roope Mustonen, who has supported Ukraine since the Russian invasion, faces a controversial trial after a fatal car accident. His heavy sentence and long detention raise concerns of corruption within the local legal system. yle.fi/a/74-20227472

Yle pääsi Ukrainassa oikeudenkäyntiin, jossa onnettomuuden aiheuttanutta suomalaista kohdellaan kuin murhamiestä

Yle pääsi Ukrainassa seuraamaan oikeudenkäyntiä, jossa syytettynä on suomalainen avustustyöntekijä. Istunto vaikutti erikoiselta.

yle.fi

Quarto 1.9 brings Typst even closer to LaTeX parity with 📖 Typst Books, ✍️ margins for figures, tables, and citations via the Marginalia package, and 🛜 new typst-gather tool for reliable, offline rendering. Details here: quarto.org/docs/blog/po...

A graphic featuring the Posit logo, the Quarto logo, and the word "typst" with a plus sign, over a dark blue background.

dplyr 1.2.0 is out now and we are SO excited! - `filter_out()` for dropping rows - `recode_values()`, `replace_values()`, and `replace_when()` that join `case_when()` as a complete family of recoding/replacing tools These are huge quality of life wins for #rstats! tidyverse.org/blog/2026/02...

dplyr 1.2.0

dplyr 1.2.0 fills in some important gaps in dplyr's API: we've added a new complement to `filter()` focused on dropping rows, and we've expanded the `case_when()` family with three new recoding and re...

tidyverse.org

Ever needed to recode a variable based on whether it matches something in a named list? Have you ever used rlang's `!!!` operator? It's pretty dang cool. I feel like {rlang} is so cool, but so enigmatic 😂 #rstats Here's a pic & gist (bc it's frustrating to not be able to copy/paste the pic) #databs

A screenshot showing the use of a named list in R to help recode a variable using the mutate function and the recode function from dplyr. The code uses the !!! operator from the rlang package as well to avoid retyping the named list inside the recode function.
Libby Heeren@libbyheeren.bsky.social · last yr.

No idea if that's what you want, but that works! Sorry, those carbon images are pretty, but not useful. Here's a gist: gist.github.com/LibbyHeeren/...

En voi äänestää puolueita, jotka suhmuroivat tänään lykätääkseen suhmuroinnin tuomaa mainehaittaa kunnallisvaaleissa. Varsinkaan jos aikovat väittää, ettei kyse olisi suhmuroinnista

I find the lack of empathy among #dataviz practitioners a bit disturbing. Many of you know of my suffering this time of year, when the Portuguese Homeland Security Report is published, full of pages like this. And yet no one ever offered me temporary asylum to minimize the impact. It's unforgivable.

3D exploded charts in a page of the Portuguese Annual Homeland Security Report.

My US-based colleagues, FYI: Finnish Research Council is about to announce a special call to fund researchers abroad to relocate to Finland. By all means this is not intended to lure you into moving to Finland, it just happens to be planned right now by pure chance.

Many people talk about the "Golden Age of Antibiotics", but I hadn't seen it visualized properly. Just how many types of antibiotics were discovered during that time? So, I visualized it myself!

A timeline titled "The Golden Age of Antibiotics" shows when each antibiotic drug class was first available for medical use, with example antibiotics labeled. Classes are color-coded by their source: actinomycetes, other bacteria, fungi, or synthetic. Milestones include the first antibiotics (arsphenamines in 1910), as well as the discovery of many actinomycetes-derived antibiotics, such as streptomycin, and sulfonamides, penicillins, and tetracyclines. Data: Hutchings, Truman, Wilkinson (2019). Created by Saloni Dattani for Our World in Data.