Skip to contents

Violations cited during DOHMH restaurant inspections, one row per citation.

Usage

nyc_violations_df

Format

nyc_violations_df

A tibble with 288,197 rows and 6 columns:

camis

Unique identifier for the establishment.

inspection_date

Date of inspection.

inspection_type

Combination of the inspection program and the type of inspection performed. Together with camis and inspection_date, joins to nyc_inspections_df.

violation_code

Violation code. Codes 15–22 are Special Program and Administrative violations that do not count toward score or grade.

violation_description

Violation description. The wording for a given code has changed over time, so there are more distinct descriptions than codes.

critical_flag

"Critical", "Not Critical", or "Not Applicable". Critical violations are those most likely to contribute to foodborne illness.

Source

NYC Department of Health and Mental Hygiene, via NYC OpenData: https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/43nn-pn8j

Details

Violations dismissed on adjudication are removed from the source data. For the full list of violations and their point values, see the DOHMH "Blue Book": https://www1.nyc.gov/assets/doh/downloads/pdf/rii/blue-book.pdf.

Author

Kieran Healy