Publications by R | datawookie

R Package for @racently

05.12.2019

I recently wrote about an API for @racently. The next logical step was to build a package which wraps the API so that the data can easily be pulled into R. The package is available here. It is still very much a work in progress: the API only exposes two endpoints, but both of them are wrapped in the package. Installation Install using {devtools}...

1700 sym R (4822 sym/3 pcs) 2 img

Retail Data: R Package

14.03.2020

Have you ever noticed how things seem to get really expensive at specific times of the year? Like Mother’s Day and Valentine’s Day? Have you ever felt a bit ripped off when buying an over-priced bouquet of flowers or box of chocolates? Have you ever wondered just how much those prices have been inflated? Of course you have! But it’s always ...

4656 sym R (5463 sym/8 pcs) 18 img

Retail Data: R Package

14.03.2020

Have you ever noticed how things seem to get really expensive at specific times of the year? Like Mother’s Day and Valentine’s Day? Have you ever felt a bit ripped off when buying an over-priced bouquet of flowers or box of chocolates? Have you ever wondered just how much those prices have been inflated? Of course you have! But it’s always ...

4440 sym R (4983 sym/8 pcs) 18 img

Shiny App in Docker with HTTP Authentication

28.06.2020

Suppose you have an applocation running on a Shiny server and you want to add HTTP authentication so that it’s only accessible via a username and password. This can be done using NGINX. Test Shiny Server The Shiny server should be accessible at http://localhost:3838/ (assuming you’re running Shiny server on localhost). ? Substitute another I...

2741 sym R (941 sym/9 pcs) 6 img

Shiny Server with HTTP Authentication

28.06.2020

Suppose you have an applocation running on a Shiny server and you want to add HTTP authentication so that it’s only accessible via a username and password. This can be done using NGINX. Test Shiny Server The Shiny server should be accessible at http://localhost:3838/ (assuming you’re running Shiny server on localhost). ? Substitute another I...

2723 sym R (811 sym/9 pcs) 6 img

Rendering an R Markdown Presentation to GitLab Pages

16.09.2020

I’m busy preparing slides for the Why R? conference using the brilliant {xaringan} package along with {xaringanthemer} to tweak the styles. There are plots rendered into the document as well as static images. I wanted to publish the presentation using GitLab Pages. My first attempt left me with no styles or images, but after a few iterations I ...

1119 sym R (374 sym/1 pcs)

Rendering an R Markdown Presentation to GitLab Pages

22.09.2020

I’m busy preparing slides for the Why R? conference using the brilliant {xaringan} package along with {xaringanthemer} to tweak the styles. There are plots rendered into the document as well as static images. I wanted to publish the presentation using GitLab Pages. My first attempt left me with no styles or images, but after a few iterations I ...

1118 sym R (374 sym/1 pcs)

Running History: Strava

01.01.2021

I’ve been itching to do some analytics on my running data. Today seemed like a good time to actually do it. I’ll be generating some plots using the {strava} package developed by Marcus Volz. Get the Format Right The GPS files in my Strava archive are in .fit format (some compressed, others not), which needed to be converted into .gpx format ...

1540 sym R (234 sym/1 pcs) 12 img

Retail Pricing: Nitrile Gloves

03.01.2021

My colleague, Matt, noted that nitrile gloves are getting really expensive. These things are getting really expensive! pic.twitter.com/RwJoMS5Xoy— Matt Dennis (@mattdenni) January 4, 2021 Is this real or only in his mind? Let’s check it out with Trundler. Setup Load the library and set API key. library(trundler) API_KEY <- Sys.getenv("TRUND...

1368 sym R (958 sym/6 pcs) 4 img

Retail Pricing: Nitrile Gloves at Dischem

03.01.2021

My colleague, Matt, noted that nitrile gloves are getting really expensive. These things are getting really expensive! pic.twitter.com/RwJoMS5Xoy— Matt Dennis (@mattdenni) January 4, 2021 Is this real or only in his mind? Let’s check it out with Trundler. Setup Load the library and set API key. library(trundler) API_KEY <- Sys.getenv("TRUND...

1368 sym R (958 sym/6 pcs) 4 img