Threshold Effects in Restaurant Inspections 0 ▲ kieranhealy.org 3 hours ago · 5 min read1051 words · Life · hide Restaurants in New York City get inspected by the Department of Health and Mental Hygiene (DOHMH) at least once a year. An inspection checks for and cites any health code violations. Inspectors look for things like food being stored at the wrong temperature, or evidence of mice. Each violation adds some number of points to the restaurant’s score. Lower scores are better. The inspector adds up the scores to get a grade, which then must be prominently posted in the restaurant’s window. On an initial inspection, a score below 14 gets an A grade right away. A score 14 or more means you’ll get a second, unannounced inspection within a few weeks. At the reinspection, a score of below 14 gets an A, 14 to 27 gets a B, and 28 or more points gets you a C, which is the worst grade. The city publishes inspection data on NYC OpenData. I put a version of them into an R package, nycrestaurants. It covers about 27,500 restaurants with an active permit in November 2026 and has about 93,000 inspections… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town