reverted cpc_analyze.R from R-markdown; I didn't realize that it could be converted to http://rpubs.com/RationShop/cpcRain