Create data_to_db_2.py

previously developed code to be adapted to store the new data in a db