Tutorial

Visualizing Data using ggplot2 and ggflags

In this post I explore ways of using ggplot2 and ggflags to plot album sales and chart data from the Taylor Swift and Beyoncé Tidy Tuesday dataset (as shown here). I then create charts comparing sales in the UK and US specifically.

Tables with summary rows in gt

This post focuses on ways to customize summary rows in gt tables, to create the summary table shown here (based on the Tidy Tuesday Taylor Swift and Beyoncé data).

Summary tables using gt

In this post, I walk through the various steps involved in creating the summary table shown here (based on the Tidy Tuesday Taylor Swift data), showcasing various capabilities of the gt package.

More experimenting with SQL in R Markdown: Pivoting data, outputting results to R, and creating a summary table using gt

Following on from my previous post, I use SELECT and JOIN statements to pivot the Taylor Swift and Beyoncé Tidy Tuesday data using RSQLite (after normalizing the underlying database), output the results to R, and create a relatively simple summary table using gt.

Experimenting with SQL in RMarkdown: SELECT, UPDATE and JOIN queries using RSQLite

In this post I talk through, step-by-step, a process I’ve been using to document the SQL learning I’ve been doing using R Markdown. I draw on a tutorial by Andrew Couch to create a database I can manipulate using RSQLite, using a Tidy Tuesday dataset featuring Taylor Swift and Beyoncé album data.

Grouped bar graphs using facet_grid in ggplot2

Show and tell contribution for R Ladies Sydney.

Principal components analysis, linear regression and multi-level regression using R: Replication and extension of Lin, Chai and Jong (2019)

This report replicates and extends analyses conducted in Lin, Chai, and Jong (2019), to introduce a number of packages that can be used with R for data analysis, reporting and visualization.