Analysis of NYC DOHMH Restaurant Inspection Data: Part 2, Seasons of Vermin

This is a continuation of my Analysis of NYC DOHMH Restaurant Inspection Data, with analysis presented as a Jupyter notebook here.

Examining a cleaned subset of NYC DOHMH Restaurant Inspection results from 2017 to 2019 reveals a marked seasonal effect in restaurant health inspection results. The effect manifests in the form of more citations assigned to restaurants inspected in the second half of the year, with violations related to flies and roaches appearing to be the key drivers of the incremental citations. This effect also means that restaurants inspected in the first half of the year are significantly more likely to score less than 14 points on their initial inspection, putting them on an annual inspection cycle.

This creates an unfair advantage for restaurants currently being reviewed in the first half of the year, because their inspections become less stringent and less frequent.

However, this effect will also gradually concentrate inspections in the first half of the year due to the NYC DOHMH's approach of setting inspection cycle lengths based on initial inspection scores; this appears to already be the case.

The problem appears best addressable through greater seasonal adjustment of the affected violation codes.

eyes_macro_blue_bottle_fly_blowfly_insect_close_up_head_front-1371454 (1).jpg