Publications by R on Nicola Rennie
What’s new in {PrettyCols} 1.0.1?
Back in September 2022 I submitted {PrettyCols}, an R package containing aesthetically pleasing colour palettes, to CRAN. If you missed it, you can read the blog post introducing the package! After a few months, it was time for an update and this blog post will give you a brief overview of some of the new features and palettes! You can install {Pr...
2995 sym Python (836 sym/7 pcs) 14 img
Seeing double? Building the same app in Shiny for R and Shiny for Python
Shiny is an R package that makes it easier to build interactive web apps straight from R. Back in July 2022 at rstudio::conf(2022), Posit (formerly RStudio) announced the release of Shiny for Python. As someone who knows Python but hasn’t written any Python code for quite a long time, I wanted to see how the two compared. So I did the only log...
11009 sym R (5798 sym/19 pcs) 8 img
Using functional analysis to model air pollution data in R
Let’s say you need to understand how your data changes within a day, and between different days. For example, if you have hourly pollution data that follows a regular pattern throughout a day, but follows different patterns on a Wednesday and Saturday. Functional analysis is one approach of doing just that. During my PhD, I developed methods ba...
8127 sym R (7430 sym/13 pcs) 10 img 2 tbl
30 Day Map Challenge 2022
The #30DayMapChallenge is a daily mapping, cartography, and data visualization challenge aimed at the spatial community. Every day in November participants create a map with a given theme (e.g. red, movement, two colours) and share their results on social media using the #30DayMapChallenge hashtag. Check out the challenge here. This year, I crea...
6227 sym R (1203 sym/2 pcs) 18 img
How to make your own #RStats Wrapped!
Around the beginning of December social media accounts start to fill with images of people’s Spotify Wrapped showing their most listened to songs. If you’re an #RStats user, you might also be interested in which functions you use most often. This blog post will show you how to create your own #RStats Wrapped! Finding your most used functions...
5050 sym R (4634 sym/13 pcs) 8 img
Another Year of #TidyTuesday
Last year, I wrote a blog post discussing of how I found participating in #TidyTuesday every week for a year. Well, this year I did the same again. And so I’m writing another blog post about it! If you’re unfamiliar with #TidyTuesday, it’s a weekly data challenge aimed at the R community. Every week a new data set is posted alongside a cha...
6515 sym 18 img
Combining R and Python with {reticulate} and Quarto
The R versus Python debate has been going on for as long as both languages have existed. I’m not one to takes sides – I think you need to use the best tool for the job. Sometimes R will be better. Sometimes Python will be better. But what happens if you need both languages in the same workflow? Do you need to choose? No, is the simple answer....
8159 sym R (4034 sym/8 pcs) 6 img
Designing #TidyTuesday visualisations for mobile (with Quarto)
I’ve been contributing to #TidyTuesday challenges for about two years now, and my aim has always just been to play with new things in R. (For those of you unfamiliar with #TidyTuesday, it’s a weekly data project aimed at helping people develop their data wrangling and visualisation skills.) For week 31, Bear Jordan created a very nice bar ...
8055 sym R (178 sym/2 pcs) 8 img
Introducing {PrettyCols}
Making plots that are aesthetically pleasing has always been an important aspect of data visualisation to me. And when I later started creating generative art, I would spend time choosing colours purely based on whether they looked good together. On whether they made art that was pretty. Eventually, it became easier to convert those colours into...
4492 sym R (772 sym/7 pcs) 14 img
Automatically deploying a Shiny app for browsing #RStats tweets with GitHub Actions
A little while ago I saw this blog post by Craig Hamilton shared on Twitter. In it, he describes the process of building a Shiny app to search through his favourited tweets, after noting the difficulty of searching through tweets he had liked to find a link he wanted to look at later. Inspired by the blog post, I decided to build a similar Shiny...
9845 sym R (4532 sym/10 pcs) 8 img