Rich Hanna
banner
richard-hanna.bsky.social
Rich Hanna
@richard-hanna.bsky.social
💻Data Scientist in Philadelphia

🌐https://www.richardshanna.com/
Pinned
{ggswim} is a {ggplot2} extension package with the goal of making swimmer plots easy to create.

I would love to hear feedback and other opinions on the state of it, how it can be made better, or what steps should be taken for a CRAN v0.1 release. #dataBS #rstats #ggplot2

github.com/CHOP-CGTInfo...
GitHub - CHOP-CGTInformatics/ggswim: Create swimmer plots with ggplot2
Create swimmer plots with ggplot2. Contribute to CHOP-CGTInformatics/ggswim development by creating an account on GitHub.
github.com
Reposted by Rich Hanna
IT'S OFFICIAL: Connecticut, Maine, Massachusetts, New Jersey, New York State, Pennsylvania, Rhode Island and New York City have formed the Northeast Public Health Collaborative.

The collaborative will issue their own vaccine recommendations and coordinate public health efforts.
September 18, 2025 at 3:50 PM
I had the great privilege of presenting the 𝒈𝒈𝒔𝒘𝒊𝒎 package at this year's R/Medicine conference.

𝒈𝒈𝒔𝒘𝒊𝒎 makes it easy to create swimmer plots for treatment timeline visualization and works with existing 𝒈𝒈𝒑𝒍𝒐𝒕2 frameworks.

📽️ 𝐏𝐫𝐞𝐬𝐞𝐧𝐭𝐚𝐭𝐢𝐨𝐧: www.youtube.com/watch?v=pbgN...
Swimmer Plots with ggswim
YouTube video by R Consortium
www.youtube.com
June 23, 2025 at 1:50 PM
Reposted by Rich Hanna
We're three weeks out from the 'plotnine' meeting at the #ggplot2 extenders group - 'A Grammar of Graphics for Python'! 📊📈🐍

Interested in joining? ggplot2-extenders.github.io/ggplot-extension-club/ 'Please leave your contact info...'
April 16, 2025 at 6:58 PM
📣 REDCapTidieR 1.2.2 released to CRAN! 📣

Not a ton of changes here, but a couple of bug fixes related to labels and Data Access Groups.

Thanks to all who alert us to bugs and help us make the package better!

cran.r-project.org/web/packages...
REDCapTidieR: Extract 'REDCap' Databases into Tidy 'Tibble's
Convert 'REDCap' exports into tidy tables for easy handling of 'REDCap' repeat instruments and event arms.
cran.r-project.org
March 21, 2025 at 12:30 PM
Reposted by Rich Hanna
Our group has been hard at work to release a new tool: The Data Rescue Tracker. The tool aims to provide a consolidated overview of who is downloading which dataset from which government websites. Please share! www.datarescueproject.org/data-rescue-...
The Data Rescue Tracker
We are excited to introduce the Data Rescue Tracker, a collaborative tool built to catalog existing public data rescue efforts so that we can coordinate better across initiatives. At this stage, you c...
www.datarescueproject.org
February 12, 2025 at 11:14 PM
Highly recommend checking out {autoimport} by @danchaltiel.bsky.social for easing your roxygen tag workload when developing packages!

#rstats #opensource #packagedevelopment

github.com/DanChaltiel/...
GitHub - DanChaltiel/autoimport: A toolbox to automatically generate @importFrom roxygen tags from R files.
A toolbox to automatically generate @importFrom roxygen tags from R files. - DanChaltiel/autoimport
github.com
January 28, 2025 at 4:23 PM
Reposted by Rich Hanna
Welcome immigrants from X interested in science to the friendlier skies of @bsky.app, as documented by a new @nature.com survey (but you already knew that 😉)
"Bluesky is much better for science. There is much less toxicity, misinformation, and distractions."
www.nature.com/articles/d41...
January 24, 2025 at 3:22 PM
Reposted by Rich Hanna
If you are ready to advocate to your representatives (or friends and families) about the economic value of NIH funded research, you can check your state at www.unitedformedicalresearch.org/nih-in-your-...
January 22, 2025 at 10:19 PM
Reposted by Rich Hanna
legendry's such a win for #rstats and #ggplot2
January 22, 2025 at 5:47 PM
Reposted by Rich Hanna
Today I'm celebrating the 200th github ⭐ for legendry after talking about it yesterday to the ggplot2 extension group!

teunbrand.github.io/legendry/
Extended Legends and Axes for ggplot2
A ggplot2 extension that focusses on expanding the plotters arsenal of guides. Guides in ggplot2 include axes and legends. legendry' offers new axes and annotation options, as well as new legends and ...
teunbrand.github.io
January 22, 2025 at 3:16 PM
Reposted by Rich Hanna
Mapping variable values to glyphs! w ggplot2 extension ggswim! 🤯

```
library(ggswim)
...
geom_swim_marker(aes(marker = status)) +
scale_marker_discrete(
glyphs = c("⚠️", "❌", "✅"),
limits = c("Alert", "No", "Yes")
)
```
Big {ggswim} update: you can now add your favorite (free) FontAwesome and Bootstrap icons to your plots!

Check out the pkgdown site to learn more!

#dataBS #rstats #dataviz

chop-cgtinformatics.github.io/ggswim/
January 22, 2025 at 10:33 PM
Underrated MVP package.
#rstats {lintr} finally got a hex logo! Thanks to @gregswinehart.bsky.social! And of course @hadley.nz for the initiative.
December 20, 2024 at 12:38 PM
Reposted by Rich Hanna
Hi folks! I know it is the weekend, but I'd like to quickly announance an update to {legendry} version 0.2.0:

teunbrand.github.io/teunbrand_bl...

#rstats #ggplot2
December 14, 2024 at 12:02 PM
📢 REDCapTidieR v1.2.1 is out on CRAN ✨

This release adds factor levels to longitudinal event names and fixes a bug where read_redcap() was prone to failure for projects where the record ID was a stand alone instrument.

#rstats #REDCap #DataScience

chop-cgtinformatics.github.io/REDCapTidieR/
Import REDCap databases into tidy tibbles
Convert REDCap exports into tidy tables for easy handling of REDCap repeat instruments and event arms.
chop-cgtinformatics.github.io
December 10, 2024 at 2:09 PM
Reposted by Rich Hanna
📦 usethis 3.1.0 📦 is released. `use_vignette()` and `use_article()` can now help you initiate a Quarto (.qmd) vignette or article. #rstats

usethis.r-lib.org/news/index.h...
Changelog
usethis.r-lib.org
November 26, 2024 at 3:55 PM
As a flat footed asthmatic, this warrants a “hell yeah”.
November 24, 2024 at 5:59 PM
Reposted by Rich Hanna
“What radicalized you?” Bro I was told to treat people the way I would want to be treated in kindergarten and it made sense idk what else there is to say
November 19, 2024 at 3:56 AM
Big {ggswim} update: you can now add your favorite (free) FontAwesome and Bootstrap icons to your plots!

Check out the pkgdown site to learn more!

#dataBS #rstats #dataviz

chop-cgtinformatics.github.io/ggswim/
November 14, 2024 at 6:27 PM
Reposted by Rich Hanna
`rm -rf` ❌
• remove rf??? what does that even mean???? (nothing)
• boring
• hard to remember

`rm -fr` ✅
• remove forreal 💅🏼💅🏼
• makes u smile every time
• will never forget
November 13, 2024 at 9:51 PM
This post from @cararthompson.bsky.social is a wonderful compilation of tips for device rendering and font management in R. Wish I had stumbled upon it a while ago!

#rstats #dataBS

www.cararthompson.com/posts/2024-0...
Building Stories With Data - Getting fonts to work in R
Getting fonts to work in R and RStudio can be tricky! This post walks through the different steps we need to follow to give ourselves the best chance of success.
www.cararthompson.com
November 13, 2024 at 4:45 PM
Reposted by Rich Hanna
Here are UK & US BlueSky numbers separately, to show what’s driving the trends:

• Aug 3rd: Musk says ‘civil war is inevitable’ in UK during far right riots

• Oct 17th: Musk changes the block function on X, prompting a massive exodus

• Nov 7th: thousands more migrate in aftermath of Trump victory
November 13, 2024 at 11:57 AM
Reposted by Rich Hanna
Thread I’ll update with any good data starter packs or lists I come across.

Let’s find each other and make this fun and interesting!
October 23, 2024 at 11:04 AM
Reposted by Rich Hanna
A common question I've seen from #data folks using Quarto is how to gate content or protect a site behind a login

Just wrote a short tech note on my blog about my recent experience using Netlify Identity for this

www.emilyriederer.com/post/quarto-...
Role-Based Access Control for Quarto sites with Netlify Identity | Emily Riederer
A quick tech note on Netlify’s managed authentication solution
www.emilyriederer.com
November 10, 2024 at 12:55 PM
Reposted by Rich Hanna
This is quietly one of the more worrying/bearish things I've read about generative AI. They're running out of data. They're getting more expensive but not much better and not really anymore powerful. It's like I warned you!
November 9, 2024 at 10:14 PM