cleaned up initial data in the two .csv files and changed the database creation script a little bit. Now each plant is assigned an unique ID in the plants table and that same unique ID is referenced in the status table so merges are unambigous.