News

Interactive: an introduction

Since February 2004, the City of Cambridge has made available on its website a regularly-updated database of restaurant inspection reports. Our team scraped the data that was available online, including each restaurant’s name, location, and history of violations. We classified these restaurants into four basic categories: on-campus options (including dining halls), shops, fraternities, and food trucks. These restaurants were plotted on a map of Cambridge along with line charts that show the number of violations they accrued over time. Finally, we scraped data from local search and reviews website Yelp to provide more contextual information about these businesses. We will continue to renew this data as it is updated in the future.