Blog Archives

Where am I?

September 22, 2018
By

Notes on the here package - The here package is pretty simple ( only 3 functions), but I cannot remember how to use it to navigate folders, so this is my aide-memoire. It might be useful for others too. Here finds the root of your current fo...

Read more »

Mid Table Mediocrity

August 10, 2018
By
Mid Table Mediocrity

Visualising potential winners in the Scottish Championship - Last August, I was given a surprise gift of a season ticket to watch my local football team, Inverness Caledonian Thistle. They’d been relegated from the top league in Scotland t...

Read more »

Tidily evaluated ggplot2

July 3, 2018
By
Tidily evaluated ggplot2

Test driving the new release of ggplot2 - A new release of ggplot2 Now that tidy evaluation is baked into ggplot2, as of TODAY, let’s take it for a spin: ggplot2 3.0.0 %__% create function %__% test function %__% end library(dplyr) library(ggplot2) library(tidyr) library(tibble) data

Read more »

More tidy evaluation with ggplot2

July 3, 2018
By
More tidy evaluation with ggplot2

Following up the follow up - After my previous post, my good friend David Henderson asked a good question on Twitter ( it happens :)) To be honest, I hadn’t even noticed there was no tilde (the ‘~’ ) in my call to facet_wrap. So I did a little experiment : library(dplyr) library(ggplot2) library(tidyr) library(tibble) data

Read more »

Even Simpler SQL

June 2, 2018
By

I’ve had some feedback on the last post, and rather than repeat the same thing multiple times, I’m going all @drob, and writing this instead.. When I tweeted out the link to my post I gave it the tag line “why I’d rather write dplyr than SQL”. What I couldn’t fit in to the tweet was that this was based on...

Read more »

simpler SQL with dplyr

May 31, 2018
By
simpler SQL with dplyr

comparing dplyr with SQL nested queries - Following on from my last post, where I demonstrated R to some first time R users, I want to do a wee comparison of dplyr V SQL, so that folks, particularly those in the NHS who might be R curious, can see just what the fuss is about. To do so...

Read more »

AphA Scotland – it’s a thing

May 12, 2018
By

Reflections on AphA Scotland launch event - On Tues 8th May there was only one Scottish based member of the Association of Professional Healthcare Analysts (me) but on Wed 9th May that number rose to around 80 with the launch of the the Scotland AphA Branch. The event took place in the very nice Perth Concert Hall, and...

Read more »

backed by data

April 1, 2018
By
backed by data

Minmising risk of delayed departure - This post is an attempt to answer this question: https://community.rstudio.com/t/how-to-answer-a-question-without-statistical-tests-but-is-backed-by-data/3711 It was a pretty interesting question, and I...

Read more »

No strings attached

March 3, 2018
By
No strings attached

a faceting function with bare variable names in ggplot2 - I’m working on a package of dplyr and ggplot2 functions that I can use on a day to day basis to plot data over time. I’ve done some basic experimenting with my preferred ggplot2 th...

Read more »

Theory free tidyeval

February 18, 2018
By

Getting our feet wet with dplyr programming - I’ve been putting off trying to suss out dplyr’s tidy evaluation for a long time, but I’ve been experimenting a bit with it so just making some notes here. It’s hard to talk about tidy e...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)