Code and documentation used at the TCRP training June 12, 2013.