Little Miss Data

View Original

R Package Review: Esquisse

Welcome to #FunDataFriday for Esquisse in R

A 3 minute read about a cool data resource.

Today’s #FunDataFriday article is about the esquisse R package.

What Is It?

An R package which creates easy ggplot charts through a drag and drop interface. You can use the pop up UI to create your perfect plot and then export the results as .png, .jpg or export the code!


Why Is It Awesome?

  1. Fast EDA - While ggplot is very fast and easy to use, if you are looking to visually explore your data at all angles with a variety of straight forward plot types, filters, groupings etc, this is your fastest path.

  2. Gaining familiarity with ggplot - With this package you can rapidly make a graph, look at the code, make a change, see how that impacted the code and repeat!

How To Get Started?

The easiest path to getting started is by following the excellent tutorial provided in the vignette.

However, should you want to follow the example in the video, the code is below.

#To get the data
install.packages('yarrr')
library(yarrr)

#To get the exploratory package
install.packages("esquisse")
library(esquisse)

#To launch the UI and explore the pirates data
esquisser(pirates)

Thank you to the multiple contributors to the esquisse package and Nathaniel D Phillips for the YaRrr data set.