Skip to content
R for the Rest of Us Logo

What’s New in R: December 2, 2024

Welcome to this week’s edition of ​What’s New in R​! This week, we’re featuring a tutorial on advanced data scraping, a new approach to applying brand guidelines across your various data products, and a new package for creating legends in ggplot2. Let’s dive in!

Creating Serverless Shiny Apps with R Shinylive

In this video, James Balamuta (aka The Coatless Professor) demonstrates how to use the R package {chromote} to control a web browser for web scraping dynamic websites, specifically focusing on a weather website, windy.com. The tutorial covers the process of launching a Chrome session, navigating to web pages, and extracting data from elements that are dynamically generated by JavaScript. The presenter walks through the steps of identifying HTML elements, retrieving their content, and converting it into a usable format in R, ultimately showcasing how to clean and analyze the scraped data. This is a great tutorial on advanced data scraping techniques.

Watch Video →

Using Brand Colors in R with brand.yml

The Posit team has introduced a new approach to managing brand guidelines (think: colors, fonts, logos, etc) in R projects using brand.yml files. This specification allows organizations to define their brand colors in a standardized way and easily use them across different R packages and visualizations. The guide provides clear examples of how to structure your brand.yml file and integrate it into your R workflow.

Read More →

{legendry}: A New Package for ggplot2 Legends

Teun van den Brand has released version 0.1.0 of {legendry}, a package that extends ggplot2’s legend capabilities. The package offers new ways to customize and control legend appearance, including features like nested legends and improved legend layouts.

Read More →

If you enjoyed this issue of What’s New In R, please share it with a friend! And if they want to get What’s New in R directly in their inbox, they can sign up on the R for the Rest of Us website.

Got any ideas for resources I should feature in future issues of What’s New in R? Leave a comment below!

Sign up for the newsletter

Get blog posts like this delivered straight to your inbox.

Let us know what you think by adding a comment below.

You need to be signed-in to comment on this post. Login.

David Keyes
By David Keyes
December 2, 2024

Sign up for the newsletter

R tips and tricks straight to your inbox.