Data and code to accompany paper