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 = "21-C-0389" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
14e56fa740d4c99f DAVID S ERWAY SR 21-C-0389 2024-12-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000IQaNS&d=%2Fa%2FSJ000002T5s8%2FjHjTSUJoGuK1BOraW07yLuUagUQD5ZZqq75upupJ4.A&asPdf=false  
2d33d280ff624805 DAVID S ERWAY SR 21-C-0389 2024-01-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Bz4qR&d=%2Fa%2FSJ000002T5tJ%2FfCSKCmxtEmtH15k99Ri3wy9roZJt9ckbOZ2c2rfWsiQ&asPdf=false  
ce4c907698423710 DAVID S ERWAY SR 21-C-0389 2023-08-01   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009NiY5&d=%2Fa%2FSJ000002T5s3%2FnNikgzr3vP0SeQcxej0NsmA1eR00D7TLaf_aSLiBj4Q&asPdf=false  
7a81b87608e2689e DAVID S ERWAY SR 21-C-0389 2022-12-01   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000gvLgB&d=%2Fa%2FSJ000002T5rG%2FFwSMp.eoRA.WL2ypgTt2Ii8AeDkalmpKxY7sWHjxOlo&asPdf=false  
0ab5cf903f70ff9e DAVID S ERWAY SR 21-C-0389 2019-12-19   0 0 0 2 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcGs&d=%2Fa%2FSJ000002T5t2%2Fwfl0D.ZuZ2Wl331QHHlrEBVJU7URwtnSTam5c0JThQ8&asPdf=false  
509406af8e401882 DAVID S ERWAY SR 21-C-0389 2015-12-09   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXCR&d=%2Fa%2FSJ000002T5rs%2FPUpvUdsDw_1rJLqBz5oDv2sT3T9PVlDnyvYxqng.j2I&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 289.776ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API