Articles by Tony Hirst

Generative Assessment Creation

May 14, 2018 | Tony Hirst

It’s coming round to that time of year where we have to create the assessment material for courses with an October start date. In many cases, we reuse question forms from previous presentations but change the specific details. If a question is suitably defined, then large parts of this ...
[Read more...]

R HTMLWidgets in Jupyter Notebooks

April 26, 2018 | Tony Hirst

A quick note for displaying R htmlwidgets in Jupyter notebooks without requiring pandoc – there may be a more native way but this acts as a workaround in the meantime if not: PS and from the other side, using reticulate for Python powered Shiny apps.
[Read more...]

Sketch – Data Trivia

April 7, 2018 | Tony Hirst

A bit more tinkering with F1 data from the ergast db, this time trying to generating trivia / facts around races. The facts are identified using SQL queries: Some of the queries also embed query fragments, which I intend to develop further… I'm using knitr to generate Github flavoured markdown (gfm) ... [Read more...]

Tinkering with Competitive Supertimes

April 6, 2018 | Tony Hirst

I’m back on the R thang with F1 data from ergast.com, and started having a look at how drivers and teams compare at a circuit. One metric I came across for comparing teams over a season is the supertime, typically calculated for each manufacturer as the average of ...
[Read more...]

Note On My Emerging Workflow for Working With Binderhub

December 1, 2017 | Tony Hirst

Yesterday saw the public reboot of Binder / MyBinder (which I first wrote about a couple of years ago here), as reported in The Jupyter project blog post Binder 2.0, a Tech Guide and this practical guide: Introducing Binder 2.0 — share your interactive research environment. For anyone not familiar with Binder / MyBinder, it’... [Read more...]

Oh How I Have Failed Thee, Jupyter Notebooks…

October 2, 2017 | Tony Hirst

Although I first came across Jupyter – then IPython – notebooks in October 2012 (I think…), it took me another six months or so before I started playing them and pitched them for the then nascent TM351 course. We decided to explore the notebooks when the course/module team first met around about ... [Read more...]

HexJSON HTMLWidget for R, Part 3

June 30, 2017 | Tony Hirst

In HexJSON HTMLWidget for R, Part 1 I described a basic HTMLwidget for rendering hexJSON maps using d3-hexJSON, and HexJSON HTMLWidget for R, Part 2 described updates for supporting colour. Having booked off today for emergency family cover that turned out not to be required, I had another stab at the ...
[Read more...]

HexJSON HTMLWidget for R, Part 2

June 29, 2017 | Tony Hirst

In my previous post – HexJSON HTMLWidget for R, Part 1 – I described a first attempt at an HTMLwidget for displaying hexJSON maps using d3-hexJSON. I had another play today and added a few extra features, including the ability to: add a grid (as demonstrated in the original d3-hexJSON examples), ...
[Read more...]

HexJSON HTMLWidget for R, Part 1

June 28, 2017 | Tony Hirst

In advance of the recent UK general election, ODI Leeds published an interactive hexmap of constituencies to provide a navigation surface over various datasets relating to Westminster constituencies: As well as the interactive front end, ODI Leeds published a simple JSON format for sharing the hex data – hexjson that allows ...
[Read more...]
1 2 3 8

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)