Code samples and data used in talk preparation by John Graham-Cumming