Process the raw data from pull_database()

process_database()