IDEAS home Printed from https://ideas.repec.org/a/epw/ejai00/v4y2025i6id1078.html

Correlating Restaurant Health Code Violations and Online Customer Reviews via Machine Learning Methods

Author

Listed:
  • Abe Zeid

    (Northeastern University, USA)

  • Dina Dekaidek

    (Northeastern University, USA)

  • Sima Hakim

    (Northeastern University, USA)

  • Tejas Karwa

    (Northeastern University, USA)

  • Aalia Labrador

    (Northeastern University, USA)

  • Marshall Riccardi

    (Northeastern University, USA)

Abstract

According to the Centers for Disease Control and Prevention, 48 million Americans become sick, 128,000 are hospitalized, and 3000 die of food- borne diseases annually. These severe outcomes often stem from poor restaurant health code adherence and inefficient governmental health code inspection and enforcement systems. This study adds context and analysis to existing large datasets, affording more actionable information from health inspections to both businesses and consumers. To meet these goals, this research investigated Yelp reviews and the City of Boston restaurant inspection data to identify relationships within and between the two datasets. We reviewed historical data from to 2017–2022 to balance the sample size and relevance from the vast scale of city data. Yelp data were selected first by the most popular restaurants in the city, and then by the restaurants with the most recorded code violations. Analytically, machine learning methods such as sentiment analysis, linear regression, and association rule mining are used to identify outliers, trends, and correlations within the data. Our findings serve as a tool to improve the efficiency and efficacy of Boston’s food code enforcement and aid restaurant survival. Consumers gain additional understanding of the inspection system, and restaurants gain information on where they can simultaneously improve their practices based on historical precedent and decrease the likelihood of escalating violations.

Suggested Citation

Handle: RePEc:epw:ejai00:v:4:y:2025:i:6:id:1078
DOI: 10.24018/ejai.2025.4.6.78
as

Download full text from publisher

File URL: https://eu-opensci.org/index.php/ejai/article/view/1078
File Function: Abstract page
Download Restriction: no

File URL: https://eu-opensci.org/index.php/ejai/article/download/1078/459
File Function: Full text
Download Restriction: no

File URL: https://libkey.io/10.24018/ejai.2025.4.6.78?utm_source=ideas
LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
---><---

More about this item

Keywords

;
;
;
;

Statistics

Access and download statistics

Corrections

All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:epw:ejai00:v:4:y:2025:i:6:id:1078. See general information about how to correct material in RePEc.

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

We have no bibliographic references for this item. You can help adding them by using this form .

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Support Team (email available below). General contact details of provider: https://eu-opensci.org/index.php/ejai .

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.