Data cleaning for chapter 2 and chapter 1 tables.