Sign in

Dr. Albert Rapp

@albertrapp.bsky.social
692 followers 107 following 61 posts

Building data solutions at work, sharing R knowledge after hours.

PostsRepliesMedia
Dr. Albert Rapp @albertrapp.bsky.social · 10/02/2026
I do. It's here: data-cleaning.albert-rapp.de (Also sorry about the late reply. I try not to check in with social media as often anymore 😬)
data-cleaning.albert-rapp.de
Data Cleaning With R Master Class
This course teaches you everything you need to know about handling data in R fast & efficiently.
040
Dr. Albert Rapp @albertrapp.bsky.social · 31/07/2025
Thank you for sharing, Matt 🤗❤️
030
Dr. Albert Rapp @albertrapp.bsky.social · 04/04/2025
Can you provide an example of the y-axis being incorrectly scaled? I'm curious about what's wrong with ggplot's scaling 🤔
100
Dr. Albert Rapp @albertrapp.bsky.social · 03/04/2025
Nice work 🤗 and thanks for the shout-out. 🥳
020
Dr. Albert Rapp @albertrapp.bsky.social · 17/03/2025
Want to build AI Bots with R? Combining the {ellmer} package with the Shiny framework might be exactly what you need. And I'm happy to share that I get to talk about how that works at this year's ShinyConf 🎉 If you want to join, you can still sign up at www.shinyconf.com/agenda #rstats
161
Dr. Albert Rapp @albertrapp.bsky.social · 13/03/2025
Also I just noticed that my DMs were blocked 😅 should now be open in case you want to reach out ✌🏻 (unfortunately I can't DM you)
020
Dr. Albert Rapp @albertrapp.bsky.social · 13/03/2025
I do consulting work in that space ✌🏻
030
Dr. Albert Rapp @albertrapp.bsky.social · 12/03/2025
Always happy to help 🤗
010
Dr. Albert Rapp @albertrapp.bsky.social · 11/03/2025
All three steps are pretty cheap and easy to pull off. If you're curious, tomorrow my 3-minute newsletter will release a tutorial to guide you through every step of the way. You can still join 3300+ readers at buff.ly/KYAQYdv
buff.ly
3 Minutes Wednesdays
Weekly bite-sized tips on DataViz, Shiny and Stats/Machine Learning.
020
Dr. Albert Rapp @albertrapp.bsky.social · 11/03/2025
Ever wanted to restrict your Quarto project to only a few select people? You can do so by 1️⃣ Hosting your project on Azure Static Web Apps 2️⃣ Creating your own user base via Azure's AAD B2C service 3️⃣ Configuring your app so that it only allows users from your user base #rstats (1/2)
261
Dr. Albert Rapp @albertrapp.bsky.social · 04/03/2025
But I get how these steps can feel confusing if you never had to do something like this. That's why I've created a tutorial that shows you every step of the way. It will be released tomorrow on my 3-minute newsletter. If you want to join 3300+ readers, you can sign up at buff.ly/rRTZXE5
buff.ly
3 Minutes Wednesdays
Weekly bite-sized tips on DataViz, Shiny and Stats/Machine Learning.
000
Dr. Albert Rapp @albertrapp.bsky.social · 04/03/2025
3️⃣ Point the client's redirect URI to your web app on Azure 4️⃣ Place the client credentials into the app via environment variables That's it. Once you've done that, Azure takes care of the rest and your project is hidden behind a layer of authentication. (2/3)
100
Dr. Albert Rapp @albertrapp.bsky.social · 04/03/2025
The nice thing about hosting a Quarto project on Azure is that you can easily enable social logins via vendors like GitHub, Apple or Google. All you have to do is 1️⃣ Add an "auth" section to your config file 2️⃣ Get a client from the identity provider (e.g. Google) (1/3) #rstats #datascience
150
Dr. Albert Rapp @albertrapp.bsky.social · 25/02/2025
I used to think that securing a Quarto website is about writing lots of code. But really it only requires ✅ hosting on Azure static web apps, ✅ creating a JSON file inside of your Quarto project, and ✅ filling that file with values that you can look up in the docs. #rstats #datascience (1/2)
060
Dr. Albert Rapp @albertrapp.bsky.social · 19/02/2025
❤️ thank you, Roland, for these kind words 🤗 honestly I think many people have social media fatigue and that's okay. I have it too. That's why I'm concentrating on making more entertaining videos instead of daily posts 🙂
000
Dr. Albert Rapp @albertrapp.bsky.social · 18/02/2025
Setting this up is pretty easy but a bit lenghty to describe here. That's why my newsletter will release a step-by-step tutorial on how to host Quarto projects on Azure tomorrow. If you want to join 3300+ readers, you can do so at buff.ly/3PRzat5
000
Dr. Albert Rapp @albertrapp.bsky.social · 18/02/2025
Hosting Quarto projects on Azure is an easy way to add user authentication to your project. That way, only selected users can access your web page. All you need for that is 🔹 a GitHub repo, 🔹 an Azure subscription, and 🔹 Azure's static web apps service.
1121
Dr. Albert Rapp @albertrapp.bsky.social · 11/02/2025
And I've created many tutorials about Step 2 in the last few weeks, so it's time to show you how Step 1 works. Tomorrow, my 3-minute newsletter will teach you how to use AWS Textract. If you want to get bite-sized tutorials delivered to your inbox, you can join 3300+ learners at 3mw.albert-rapp.de
3mw.albert-rapp.de
3 Minutes Wednesdays
Weekly bite-sized tips on DataViz, Shiny and Stats/Machine Learning.
040
Dr. Albert Rapp @albertrapp.bsky.social · 11/02/2025
It's fascinating how easy text analysis has become in recent years. Nowadays, text analysis reduces to 1️⃣ feeding a document/image to an OCR service like Textract, and 2️⃣ sticking the results into an LLM. No huge entry barriers for data scientists to dive into text processing. #rstats #datascience
140
Dr. Albert Rapp @albertrapp.bsky.social · 08/02/2025
You might want to try {rhandsontable}: jrowen.github.io/rhandsontable/
jrowen.github.io
rhandsontable
120
Dr. Albert Rapp @albertrapp.bsky.social · 02/02/2025
The book will cover all of these things and today we're getting started with the basics. Like every week, there's also a video version of the chapter. You can check them out here: Video tutorial: buff.ly/40Wel6a Book chapter: buff.ly/42CXE0U
buff.ly
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
020
Dr. Albert Rapp @albertrapp.bsky.social · 02/02/2025
New chapter for the "AI With R" book 🥳 We're getting started with the {ellmer} package. This package has lots of features like ✅ tool calling to mix AI with traditional functions, ✅ structured output to extract infos, and ✅ async streams to build chat bots. #rstats #AI #datascience
1144
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
That way, you can unlock lots of unstructured data that was previously hidden in PDFs or Images. If you want to see more details, tomorrow my 3-minute newsletter will give you a step-by-step guide with specific examples. If you're curious, you can join 3300+ readers at buff.ly/3PRzat5
buff.ly
3 Minutes Wednesdays
Weekly bite-sized tips on DataViz, Shiny and Stats/Machine Learning.
010
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
But what if you have a PDF? In that case, you can use the pdf_convert() function from the {pdftools} package to make the PDF into an image. Then, you can use the previous steps. That's it. Not really much you have to do.
110
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
Then, you can enforce a structured output by defining new type objects. Key functions here are type_array() and type_object(). If you've read my newsletter from last week, then you should have a good idea of how they work: buff.ly/4aBw6uJ
3mw.albert-rapp.de
3MW (Turn Text Into Structured Data With R & LLMs)
Learn how to use R, {ellmer} and structured outputs instead of regular prompting to turn unstructured texts into structured data frames.
110
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
Let's imagine you have an image of an invoice. You can put that into one of {ellmer}'s content objects. Key function here is content_image_file()
100
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
With AI, it's really easy to process invoices or other documents using R. Here's what you have to do: #rstats #AI
1101
Dr. Albert Rapp @albertrapp.bsky.social · 27/01/2025
Also, do you have any particular use case you'd like to see implemented in R? Let me know in the comments and I might just expand the materials a little 🥳
000
Dr. Albert Rapp @albertrapp.bsky.social · 27/01/2025
New Project: AI With R 🥳 I've been writing about how to use AI/LLMs with R. So I'm happy to share that I'm starting to collect all the materials in one central space. You can read the first two chapters at buff.ly/3PQNzWz #rstats #AI
1101
Dr. Albert Rapp @albertrapp.bsky.social · 24/12/2024
Thank you for spreading the word about my tutorial ❤️
010
Dr. Albert Rapp @albertrapp.bsky.social · 19/12/2024
First Mr beast video I'd watch 🤣
010
Dr. Albert Rapp @albertrapp.bsky.social · 16/12/2024
Using tidyselect helpers in these kinds of situations really is underrated 😁
020
Reposted by Dr. Albert Rapp
Teun van den Brand @teunbrand.bsky.social · 13/12/2024
Some P on WIP. #ggplot2 #rstats
Scatterplot of the gapminder dataset showing GDP per capita on the x-axis and life expectancy on the y-axis. The points are filled by continent and sized by population. The size legend is displayed as a series of rings of increasing size anchored at the bottom.
2131
Dr. Albert Rapp @albertrapp.bsky.social · 10/12/2024
Thank you ☺️
000
Dr. Albert Rapp @albertrapp.bsky.social · 10/12/2024
Check out this AI chat-bot I built with #rstats using {elmer} and {shiny} 🥳 The crucial steps are 1️⃣ Insert textboxes with insertUI() 2️⃣ Stream LLM responses into the textboxes Want more details? Tomorrow, I show 3200+ readers how I built this thing. You can join us at 3mw.albert-rapp.de/subscribe
180
Dr. Albert Rapp @albertrapp.bsky.social · 04/12/2024
My solution to today's #adventofcode in #rstats. Took me a while to realize that I can get reverse diagonals by just using diag() on the matrix with column indices chosen descendingly 😅
070
Dr. Albert Rapp @albertrapp.bsky.social · 04/12/2024
That's neat! Didn't know about the split trick.
010
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
#rstats/#python question: Why is it so hard for IDEs to find surrounding Py-code when I'm executing multiline code with Ctrl+Enter? In R or rather RStudio, multiline statements always get executed as a whole. I'm assuming this is a hard problem in Python but anyone knows why that's the case? 🤔
110
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
Nice! I just joined 🥳
000
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
Glad to see that the #rstats community is sharing their #AdventOfCode solutions. Here's mine. For some reason it was a pain to get the regex for Part 2 right so I just brute-forced it (find indices between all don't and dos and then remove those chars) 🤣 btw is there an R leaderboard this year? 🤔
250
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
🤯 This is an incredible solution.
020
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
How did you resolve it? 😃
100
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
Genius! 😃
010
Dr. Albert Rapp @albertrapp.bsky.social · 27/11/2024
Video editing becomes 2x more fun when you get to include your favorite dumb memes 😂 #Rstats
040
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
Fully agree. That discourse and how it shaped both base R and tidy R is really what I wanted to get at. Thanks for proposing nicer words for this, Ben 🤗
040
Reposted by Dr. Albert Rapp
Hadley Wickham @hadley.nz · 25/11/2024
I'm writing up a brief history of the tidyverse? What do you want to know about it? #rstats
83521111
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
...there was a serious, serious conflict whereas nowadays tidy- and base-R mostly coexist peacefully (ignoring the occasional flame war). My point is: It wasn't all rainbows and sunshine and learning how the community dealt with the disruption might be interesting to read. 🤔
130
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
I'd be interested in reading about the conflict with the base-R dialect and the (hopefully) subsequent resolution of that conflict. For context: I recently stumbled on an old GH issue where "you and your zealots" were accused of forcing tidy down ppls throats (or sth like that.) So I'm guessing...
260
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
The tutorial can be found at thef5.substack.com/p/how-to-dia...
thef5.substack.com
How To: Diamond Plots in R
This one is for free
030
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
Look at this fantastic diamond chart 🤩 You can create such a beauty with ggplot using one simple trick: 1️ Use a regular grid and plot all texts at a 45 degree angle 2️⃣ Turn the whole chart counter-clockwise Pretty dope trick that I've learned from a tutorial on the F5 Newsletter. (1/2) #Rstats
160