Duncan Garmonsway

Hashing it out

Glitches in hashed environments in R

Get me to the church on time with R spatial

Using Google location data to prove church attendance and get married.

With added bacran

Nerd-sniped by kevinbacran, a graph of CRAN co-authorship.

Rebel Bayes Day 5

Prior beliefs about Bayesian statistics, updated by reading Statistical Rethinking by Richard McElreath.

Rebel Bayes Day 4

Prior beliefs about Bayesian statistics, updated by reading Statistical Rethinking by Richard McElreath.

Rebel Bayes Day 3

Prior beliefs about Bayesian statistics, updated by reading Statistical Rethinking by Richard McElreath.

Rebel Bayes Day 2

Prior beliefs about Bayesian statistics, updated by reading Statistical Rethinking by Richard McElreath.

Rebel Bayes Day 1

Prior beliefs about Bayesian statistics, updated by reading Statistical Rethinking by Richard McElreath.

CRAN h-index

h-indexes of CRAN package maintainers. Read to the end to find your own h-index.

Add nowt() to your tidy pipelines

Never faff with trailing pipes again %>%

{ggstraw}: A custom ggplot2 geom for deviations

ggstraw::geom_straw() is a custom ggplot2 geom for showing deviations from expected values, e.g. actual vs scheduled departure times.

Who uses the GOV.UK Design System

A mental note of which websites use components from the GOV.UK Design System and its predecessors.

Import ragged data with readr::melt_csv()

Melt it down and start again

Food Nutrition and Price

Explore a supermarket of food nutrition and price (renders slowly)

New package {armgin} to summarise all margins of data frames

A one-liner for when they want everything by everything.

Choose a prior's parameters

How to parameterise a prior when all you know is the mean and one other percentile.

More Harry Potter story arcs (they get darker)

Reproducing *Harry Potter* sentiment arcs by some real wizards

Harry Potter and the N-Grams of Sentiment

*Harry Potter* cliches and story arcs by n-grams and sentiment analysis

Hacking the Data Science Radar with Data Science

Get a perfect score in the Mango Solution Data Science Radar

Creating nests without tidyr

How to construct nested data frames from scratch, without tidyr

Brexit poll of polls

Analysis of Brexit polls by visualisation and a linear model

Simmer vs SimPy: The Bank, Part II

Porting a SimPy tutorial to the R package Simmer

Simmer vs SimPy: The Bank, Part I

Porting a SimPy tutorial to the R package Simmer

How many StatsBloggers are there?

Parsing the daily digest emails and thinking about modelling

R rounding is weird? Try JavaScript!

Reproducing browser rounding in R

How many R-Bloggers are there?

Parsing the daily digest emails

New R package: nzcrash

Redistributing New Zealand crash data in tidy form

More articles »

Duncan Garmonsway

The personal website of Duncan Garmonsway, data scientist and UK civil servant.

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://github.com/nacnudus/duncangarmonsway, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".