Can now save to MySQL, and also export from MySQL to a CSV - suitable for a machine learning algorithm to pick up.