Skip to content

Can a violation count tell you a San Francisco food inspection result?

In 608 October and November 2026 inspection records, the same violation count appeared with different placard results. Two violations appeared on 70 Pass records, 0 Conditional Pass records, and 2 Closure records.

Placard results by recorded violation count

608 inspection records. The inspection type field is blank on 608 of them.

October and November 2026
ViolationsPassConditional PassClosure
Blank26500
16300
27002
36200
44711
53110
61720
7852
81020
9500
10510
11111
13001
14100
15011
17010
Total585158

What the published records can tell you

DataSF describes the outcome as a facility rating assigned by a health inspector based on the violations observed and health risk. Use the recorded rating to identify the outcome of that inspection. The count alone gives an incomplete picture of the conditions an inspector observed and the decision made on that date.

The snapshot contains 265 blank violation counts, all with a Pass result. The report preserves those blanks. Each row is an inspection record and the same place can appear more than once. The inspection type field was blank throughout this extract, so the report cannot separate routine inspections from other visits. Check the official lookup for newer records for a specific facility.

When the inspection type field went blank

DataSF recorded an inspection type on 935 of 1,031 June 2025 records. The field was blank on all 5,096 records dated from July 2025 through November 2026. Those 17 months cannot be split into routine inspections and other visits using this field.

The December 1, 2026 snapshot (San Francisco time) includes one record dated May 2031. The download preserves that source date outside the period summarized here.

Reproduce the breakdown

We downloaded the city records on December 1, 2026 (San Francisco time), filtered by inspection date from October 1 through November 30 inclusive. The extract contains eight fields. It omits business names, street addresses and inspector names. The table groups the rows by month, facility rating and reported violation count. The current city query may include subsequent updates.

python3 summarize.py inspections.csv

The San Francisco Department of Public Health publishes the source data through DataSF. Analysis and interactive table by Spreadsheet to App with Codex assistance.

See the Chicago reinspection case study