Automated Data Analysis in Astronomy