SQL scripts to clean social data before adding to data warehouse