Adding graph generation (in R) and CSV export.

This can be used to turn the JSON files into CSV and
generate graphs from those CSV files.