Switched from using assing to create local variables to just merging each dataset into an empty data frame.