diff --git a/write_to_db.py b/write_to_db.py index 5e83df1..b714f3b 100644 --- a/write_to_db.py +++ b/write_to_db.py @@ -21,10 +21,10 @@ engine = create_engine(connection_string) # Define a list of file paths and corresponding table names file_paths = [ - ('sec_data/2009q3/sub.txt', 'sub'), - ('sec_data/2009q3/tag.txt', 'tag'), - ('sec_data/2009q3/num.txt', 'num'), - ('sec_data/2009q3/pre.txt', 'pre') + ('sec_data/2015q1/sub.txt', 'sub'), + ('sec_data/2015q1/tag.txt', 'tag'), + ('sec_data/2015q1/num.txt', 'num'), + ('sec_data/2015q1/pre.txt', 'pre') ] # Loop through each file and write the data to the database