Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

MSc Assignment 2 - Data Analytics Principles

· 2 comments · 4,350 words · Viewed ~1,759 times


A map where square relating to a specific group all have the same colour.

I'm doing an apprenticeship MSc in Digital Technology. In the spirit of openness, I'm blogging my research and my assignments. This is my paper from the Data Analytics module. I enjoyed it far more than the previous module. This was my second assignment, and I was amazed to score 72%. In the English system 50% is a pass, 60% is a commendation, 70% is distinction. Nice! A few disclaimers: I…

A Decade of Drinking Beer on Untappd

· 200 words


Map of the world with dots all over it.

10 years ago, I asked an innocent question on Twitter. Terence Eden is on Mastodon@edentIs there any service which will let me "check in" to a beer? Because this Chocolate Tom I'm drinking is amazing.❤️ 0💬 2🔁 018:55 - Thu 21 July 2011 The answers came in swiftly - Untappd was the app to use. So, a few minutes later: Terence Eden is on Mastodon@edentI just earned the 'Newbie' badge on @untappd!…

"Why do we use R rather than Excel?"

· 25 comments · 550 words · Viewed ~19,708 times


Binary code displayed on a screen.

I recently had cause to take a beginners course in R - a language I'm fairly familiar with. One of the other students had never used it before, so we were buddied up in order for me to show them the ropes. The first lesson of R is always the same. Read a CSV, manipulate it a bit, draw a graph. We did it all without much fuss - and a graph appeared on screen. Nifty! "I don't get it," the…

Animated TreeMaps in R - the hard way

· 1 comment · 100 words · Viewed ~367 times


A treemap which show a volumetric view of data.

As I am a bear of very little brain, these are notes to myself on my slightly shonky process for creating animated TreeMaps in R. The aim is to end up with something like this: https://shkspr.mobi/blog/wp-content/uploads/2021/06/animated-tree-map.mp4 Generate the images Getting the data is left as an exercise for the reader (sorry!). This loops through the data and generates a separate image…

How not to do coding examples

· 6 comments · 100 words · Viewed ~502 times


A pet cat typing on a computer keyboard.

As part of my MSc, I'm getting a few lessons in technologies I'm not familiar with. I've found some of these lessons extremely confusing - even when I'm proficient in the language. Here's an example of a coding fragment from one of the tutorials in the R language. Let me explain everything that I think is wrong with it. barplot(H, names.arg =M, col=“blue” xlab ='Country', ylab="Population") so…