Libby Heeren
@libbyheeren.bsky.social
2.7K followers 400 following 2.5K posts
Posit DS Hangout host & data educator. Data Weasel. Community Builder. Teaches R+Python. 🔉 Heeren == "hair-en" ✨ LinkedIn: https://www.linkedin.com/in/libbyheeren DS Hangout: https://pos.it/dsh
Posts Media Videos Starter Packs
libbyheeren.bsky.social
dplyr has anti_join! It returns all rows from x that don't have a match in y!
libbyheeren.bsky.social
I loooooove naniar, I think it's absolutely genius! I had to do a ton of googling and playing around with example code from different blogs when I first found it. I love geom_miss_point.

@tladeras.bsky.social has a good blog: hutchdatascience.org/data_snacks/...
What’s Missing with {naniar} – DaSL Data Snacks
hutchdatascience.org
libbyheeren.bsky.social
That is some GOOD family 🥹🥹
libbyheeren.bsky.social
I'm making a yucky face while reading that
libbyheeren.bsky.social
Have you explored the naniar package? It's what I use to visualize missingness!
libbyheeren.bsky.social
I don't miss shinyapps at all. I don't even think about "publishing" anymore, I just push to my repo and my app updates immediately, it's so great. Do your apps get more than 20 hours of use each month? The manifest was painless to create, too.
libbyheeren.bsky.social
Ohhhh! I was trying (unsuccessfully) to google it and find a website 😂😂 thank you!
libbyheeren.bsky.social
Does that middle word says "CPAP6?"
libbyheeren.bsky.social
So, a spell book! Still trying to figure out if it's included the word python as a suggestion or a dig. Sure looks like a dig.
libbyheeren.bsky.social
Looks like the cover of Harry Potter and the curse of database hill
libbyheeren.bsky.social
I don't really drink, so I just assume that drink is for him 😂 (he doesn't drink much either, though - where are our waters?!)
libbyheeren.bsky.social
All the community-focused stuff is pretty spot-on, but it makes it look like my life is work. At least it depicted a couple eating together, so not ALL work, but goodness the geometrically improbably copy of Intro te gapiot2: no Pythui(n?)sted is bizarre 😂 I guess it knows I regularly teach ggplot2
An AI generated book that says, Intro te gapiot2: no Pythui(n?)sted
libbyheeren.bsky.social
I don't do trends, & I VERY RARELY use AI to generate images, bc AI images make me feel queasy & I'm an illustrator myself, so 👀. BUT. I got curious w/ this trend of asking GPT what my life looks like. I'm worried I've given it too much context about me 😩 Is my life all @posit.co, #databs, #rstats ?
The result of Libby Heeren prompting ChatGPT with, "Based on what you know of me, draw a picture of what my life currently looks like." It's a colorful digital illustration of a blonde woman wearing a “Data Science Hangout” shirt, sitting at a desk with a laptop and multiple monitors showing charts, graphs, and the words “shiny” and “Connect.” Around her are symbolic elements: speech bubbles and people representing community, icons for R, Python, and SQL, a Posit logo, a calendar marked “part-time,” which is probably linked to previously working part time, a microphone and camera for podcasting and content creation, and a bookshelf with data science books including “Intro to ggplot2.” In the upper right, a woman and man share dinner at a table, hopefully symbolizing a semblance of personal life balance.
libbyheeren.bsky.social
😮😮😮 AND cool wall hexes! I have some large wooden hexes that I keep meaning to paint 😩
libbyheeren.bsky.social
Thank you!! Yeah, LaTeX is my nemesis, I never feel like I know what I'm doing. I know just enough to be dangerous with google and get things done.
libbyheeren.bsky.social
🍰 Happy 15th anniversary to us 🥂

AND THEN I got nerdsniped so good & ended up in LaTeX-land bc my buddy was trying to get a header image on each page of a #quarto PDF 😂

Anyway, here's how I did it. #LaTeX isn't my thing! Don't judge. Should this be a blog or is it boring? Helpful? #rstats #databs
Smiling couple sitting at a restaurant table, leaning toward the camera. Two water glasses and a cocktail with a lime garnish sit on the white tablecloth. Screenshot of a Quarto document showing YAML front matter. The title is set to ‘Example Doc First Page’. Under format → pdf, the line ‘include-in-header: header.tex’ is highlighted with a green box and arrow pointing to green text that says ‘Put this in your yaml’. Screenshot of a header.tex file open in a text editor. The LaTeX code loads geometry, graphicx, and tikzpagenodes packages, then uses an AddToHook command to apply a background image as a header on every page. Inside a tikzpicture environment, a node is anchored at the top-left of the page, with zero padding, including the image ‘images/FlowerHeader.png’ at full page width.

The full code is as follows:
% This adds a centered image to the top of each page, bleeding to the edges.
% Need a much larger headheight (120pt) to push the text down on this one,
% but your image may be shorter than mine!
\usepackage[includehead,top=0pt,headsep=0pt,headheight=120pt]{geometry}
\usepackage{graphicx}
\usepackage{tikzpagenodes}

% Loop to apply the background image (the header) to every page of the doc
\AddToHook{shipout/background}{%
  \begin{tikzpicture}[remember picture,overlay]
    \node[
      anchor=north west,
      inner sep=0pt,  % remove suble padding around the header image
      outer sep=0pt
    ] at (current page.north west)
      {\includegraphics[width=\paperwidth]{images/FlowerHeader.png}};
  \end{tikzpicture}%
} Screenshot of the RStudio PDF preview pane showing a rendered Quarto document. The first page displays a floral header image with overlaid text ‘THIS IS A HEADER’, followed by the title ‘Example Doc First Page’ and Quarto sample content with text, code, and output. The top of the second page is also visible, showing the repeated floral header with the same overlaid text.
libbyheeren.bsky.social
You have an RStudio yeti?! That is so cool. I think my only RStudio things are the black simple human water bottle (which I love), and the mug
libbyheeren.bsky.social
Realized another annoying habit I have this week: all my project folders/repos start as "test" projects. It's like I can't commit to something being an actual project folder. Later, I have to go change all the names and clean things up 😅 because of course test becomes "actual"

#databs #rstats
libbyheeren.bsky.social
Tell me something you do when you code that other people would tell you that you shouldn't do.

Tell me the rules you break!

I'll go first: I work in untitled files in the wrong project directories all the time. Like, all the time. Yes, I do tend to lose things 😂 #databs #rstats #python
libbyheeren.bsky.social
I'm still defaulting to googling first, and only resorting to an LLM as a last resort 😂
libbyheeren.bsky.social
I could definitely benefit from that. I think I go through phases of using named sections in RStudio and then forgetting they exist! I've also tried real hard to just split things out into separate files and source stuff, but I don't always remember to do that, either 👀