Append 'previous 7 days' data rather than replace with existing. Remove spam column.
Refactoring code and eliminating code duplication.