Code repository
This page links to zip files of all the programming formerly archived on Github. I still use Git on them, I just no longer use Github. You should come here to get the latest versions of anything. Dates shown below are in good old-fashioned British format dd/mm/yy what what?
bayes-checking-viz -- commit a8ae417, 23/7/19
Withdrawn, because superceded by several great pieces of work from Stan team
bayesian-dichotomised-meta-analysis -- commit 7fdbdb9, 7/2/22
Code accompanying the BayesCamp white paper "A taxonomy of thresholds used to dichotomise outcomes, and their inclusion in Bayesian meta-analysis". These ideas are also described in the Bayesian Meta-Analysis book.
bayesian-meta-analyses -- commit 7601232, 24/10/18
Material in the making of the paper "The uptake of Bayesian methods in biomedical meta-analyses: a scoping review, 2005-2016"
bigdata-ascii-tools -- commit c9d17fe, 26/1/21
Some utilities for working with big ASCII files; better tools have probably come out of the Apache foundation in recent years.
Laborare est errare
For dataviz-book, you should visit the book's page on my website.
For drawmydata, you can simply visit the page. Everything is in one html file.
GRASP -- commit 17a0397, 23/7/20
Data and code from the paper "Could Graded Repetitive Arm Strengthening Programme (GRASP) benefit stroke survivors when delivered at home? Results of a randomised controlled feasibility trial"
html-reports -- commit cf19170, 23/7/20
Create statistical report output in HTML from R and Stata. Lightweight functions to produce the stuff I need and nothing else.
mypage -- commit 5a334a1, 6/11/20
Homepage for browser, with time progress bar and to-do list. Like Momentum but private. And basic.
kudzu, 01/07/24
Kudzu density functions: R and Stata code to grow density estimation trees, evaluate kudzu tuning parameters, compute joint and marginal densities, export code for use as a prior density in BUGS / JAGS / Stan / Stata, and draw pseudo-random numbers from the kudzu density. Coming July 2024. If you really want historic archive code and extra material supporting the 2022 IJCEE paper (see paper number 77 in my Publications page), contact me.
pictogram -- commit c5e5a57, 10/7/17
Withdrawn, lots of good alternatives have come along
r-go-split-for-mac -- 18/9/23
I often use an R-Go Tools split keyboard (which I highly recommend). When this is plugged into my personal laptop (Apple), the trouble is that the keys then produce the glyphs according to MacOS, while the keyboard shows the Windows glyphs. This is a json file for use in the Karabiner-Elements app that just makes the keyboard produce what it shows on the keys. I put ± onto Shift+` instead of the frankly pointless ¬, and there is an Alt+\ shortcut to produce {, which I find handy when writing LaTex.
R2leaflet -- commit 76bebeb, 26/7/13
R function to plot data on interactive JavaScript maps. This is rather ancient now and may not work with current leaflet.
simpleboot -- commit 2a57bb5, 6/12/16
Very basic wrapper for boot and boot.ci functions in R - for teaching purposes
slicedens -- commit 8ef7742, 22/3/15
Withdrawn, lots of good alternatives have come along
stata-and-r -- commit 4825d1c, 3/6/19
Sharing data and code from Stata to R, or from R to Stata. For those who like to mash it up.
stata-svg -- commit 4e50555, 27/2/18
Package of Stata commands to process SVG graphics after export, and to create new dataviz formats
stata2d3 -- commit 0434baa, 27/1/20
Create interactive D3 JavaScript graphics from standard Stata commands
stata2leaflet -- commit b5e625f, 19/2/20
Output interactive maps using leaflet.js from Stata. This may be too out of date to work with current leaflet.
statacpp -- commit ae47d4c, 12/10/16
Stata commands for inline C++ code in do-files.
timelogger -- commit e77c676, 22/5/20
Lightweight CLI tool adds system date and time to a CSV file
xormydata -- commit 20d6ce7, 1/5/19
A simple command line program for XOR encryption. Only download this if you are aware of your local laws governing possession of encryption software, and those of any country you may pass through.