Instead of a local database, this script now imports the data into the shared postgres database. this way the data can be used for other queries as well. feel free to extend the data model if you need additional columns.
* simplified database schema * added generic CSV export * scripts are generating first charts * dumping entire DB into CSV file * added more stats