run_analysis script for Coursera data science project