Reading in .csv files to dataframes and then appending to a database is really slow. Should try using [odo](https://github.com/blaze/odo) where possible.