Added API so that users can access data as CSV files for further analysis.