Blog

Blog about all things R, data science, and visualisation.

Detecting heart murmurs from time series data in R

Time series analysis can uncover hidden structures in data collected over time. In this blog post, I’ll use {tsfeatures} to extract time series features and {tidymodels} to predict which sound recordings of heartbeats contain heart murmurs, using those time series features.

April 14, 2023

Scraping London Marathon data with {rvest}

{rvest} is an R package within the {tidyverse} which helps you scrape data from web pages. This blog post will showcase an example of scraping data from Wikipedia on London Marathon races and winners.

March 16, 2023

Making Pretty PDFs with Quarto

Adding custom styling to documents makes them look more professional. This blog post will take you through the process of making a Quarto extension to create a reusable custom template for good-looking PDFs.

February 17, 2023

What’s new in {PrettyCols} 1.0.1?

{PrettyCols} is an R package containing aesthetically pleasing colour palettes that are compatible with {ggplot2}. Find out about new features and palettes contained in the latest release!

February 3, 2023

Seeing double? Building the same app in Shiny for R and Shiny for Python

Back in July 2022 at rstudio::conf(2022), Posit (formerly RStudio) announced the release of Shiny for Python. I wanted to see how the two compared - so I built the same Shiny app twice! This blog post highlights a few of the differences, and things that were a little tricky switching to Shiny for Python.

January 20, 2023

Combining R and Python with {reticulate} and Quarto

Sometimes you might need to use R. Sometimes you might need to use Python. Sometimes you need to use both at the same time. This blog post shows you how to combine R and Python code using {reticulate} and output the results using Quarto.

January 6, 2023