R and SQL scripts published for various reasons.