Publications by The Clerk

The Simpsons as a Chart

26.03.2016

Inspired by this clever image, I thought I would whip it up in R.Results:Below is the R code: 1: # Prepare ----------------------------------------------------------------- 2: rm(list=ls());gc() 3: pkg <- c("ggplot2") 4: inst <- pkg %in% installed.packages() 5: if(length(pkg[!inst]) > 0) install.packages(pkg[!inst]) 6: ...

497 sym R (2117 sym/1 pcs) 2 img

Election Results vs. Benford’s Law and the Return of City-States?

01.12.2016

From Wikipedia:  Benford’s law, also called the first-digit law, is an observation about the frequency distribution of leading digits in many real-life sets of numerical data. The law states that in many naturally occurring collections of numbers, the leading significant digit is likely to be small…Benford’s Law is a technique to scr...

2637 sym 4 img

Why are Racing Drivers Born on March 23

31.08.2017

Wikipedia has pages for each day of the year (e.g., January 1, April 25). Each page contains a list of names of famous people with that birthday along with a short description of each person. I wrote an R script to scrape these lists from each wikipedia page and then analyze the data to find which days have unusually high occurrences of certain w...

926 sym R (3736 sym/1 pcs) 2 img

Who named their kid Daenerys or Khaleesi?

13.05.2019

The Game of Thrones character, Daenerys Targaryen, suffered a hit to her reputation in the final season of the much-watched HBO series. For the past few years, she has been a crowd favorite–combining brave determination, style, and dragon(s). Many people went a step further in their admiration and named their offspring after her. Below are a co...

1093 sym 4 img 2 tbl