home / aphis

inspections

APHIS inspection records for licensed facilities. 110,000+ inspections from 2014–present with violation counts and links to official reports.

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

6 rows where cert_number = "58-A-0303" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: critical_count, noncritical_count, teachable_moment_count, inspection_date (date)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path
4efee066c62a8749 GREGORY DUKES 58-A-0303 2018-03-26   1 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWJy&d=%2Fa%2F3d000000pmbK%2F.rT189Z_NrrKZPB5v5iF9vF15RN_9Gy2YcgOOUxCYb4&asPdf=false  
655ef3b758b4318d GREGORY DUKES 58-A-0303 2017-11-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egm3G&d=%2Fa%2F3d000000plOi%2FSVOuZAeDVwlWkQHbCaoTdUuSgHCUjp90QqIEYne3BLM&asPdf=false  
55233cc642d535e8 GREGORY DUKES 58-A-0303 2016-12-13   0 0 0 2 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjTh&d=%2Fa%2F3d000000pnqH%2FTvaQ_.ehAoxyhGnIOXlnhaodoMt0MUfuy4Cb3haRvf8&asPdf=false  
66929308bd9e4ced GREGORY DUKES 58-A-0303 2016-08-30   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgY9R&d=%2Fa%2F3d000000pUOg%2F6pszhQXAxgSbCTNhASONRgM2xKf0TNaaJ368esBXc58&asPdf=false  
76de1dc233be8f46 GREGORY DUKES 58-A-0303 2014-09-10   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egj16&d=%2Fa%2F3d000000poSH%2FOK6OuJX3BWjLQdsmA4Kiv4rSHjz7W0ufOOcyClUU96U&asPdf=false  
11022dc0fed32ab8 GREGORY DUKES 58-A-0303 2014-02-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfb3&d=%2Fa%2F3d000000pT8H%2FQg2uX6v3x4GiRhw02MM1nHnxlkvCjjTn6ANQS4sBvV8&asPdf=false  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE inspections (
    id TEXT PRIMARY KEY,
    cert_number TEXT REFERENCES facilities(cert_number),
    inspection_date TEXT,
    inspection_type TEXT,
    critical_count INTEGER,
    noncritical_count INTEGER,
    direct_count INTEGER,
    teachable_moment_count INTEGER,
    pdf_url TEXT,
    pdf_local_path TEXT
);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 4.727ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API