Skip to contents

DOHMH restaurant inspections, one row per inspection. An inspection is identified by camis, inspection_date, and inspection_type.

Usage

nyc_inspections_df

Format

nyc_inspections_df

A tibble with 92,918 rows and 10 columns:

camis

Unique identifier for the establishment. Joins to nyc_restaurants_sf.

inspection_date

Date of inspection.

inspection_type

Combination of the inspection program and the type of inspection performed, e.g. "Cycle Inspection / Initial Inspection".

inspection_program

Inspection program, the first part of inspection_type: Cycle Inspection, Pre-permit (Operational), Pre-permit (Non-operational), Administrative Miscellaneous, Inter-Agency Task Force, Smoke-Free Air Act, Trans Fat, Calorie Posting, Sodium Warning, or Accelerated Inspection Program.

inspection_stage

Stage of the inspection, the second part of inspection_type: Initial Inspection, Re-inspection, Reopening Inspection, Compliance Inspection, or Second Compliance Inspection.

action

Action associated with the inspection. See nyc_restaurant_inspections_df for values.

score

Total score for the inspection. Lower is better. Updated based on adjudication results.

grade

Grade associated with the inspection: A, B, C; N = Not yet graded; Z = Grade pending; P = Grade pending issued on re-opening following an initial inspection that resulted in a closure.

grade_date

Date the grade was issued.

gradable

Logical. TRUE if the inspection is gradable according to DOHMH guidance. See nyc_restaurant_inspections_df.

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

Establishments not yet inspected are excluded. Grades given on a reopening inspection are derived from the previous re-inspection, so score and grade are not consistent on reopening inspections. See nyc_restaurant_inspections_df for details on coverage and caveats.

Author

Kieran Healy