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 = "31-C-0198" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_count, direct_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
1818c38afe3e59c1 HERSHBERGER FARM LTD 31-C-0198 2016-05-18   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Dnwq7&d=%2Fa%2F3d000000pTQR%2FP28SzkVxRT8KrQO95z5BuB7pINVl_TKfO8R69Ftjd7E&asPdf=false  
dde887c66198ee1e HERSHBERGER FARM LTD 31-C-0198 2015-11-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egjws&d=%2Fa%2F3d000000pSFW%2Fbpqx632L5xISzOQi.rNPV.PUSGkFGL3acaUFKbcX8Uo&asPdf=false  
7574bb953d68b7dc HERSHBERGER FARM LTD 31-C-0198 2015-10-29   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egleo&d=%2Fa%2F3d000000pfG0%2FZGC3sHPFZm9wcfZpd37SFGn64CpF.5pclTcsHv7PX_0&asPdf=false  
5f8303ebdcff205c HERSHBERGER FARM LTD 31-C-0198 2015-09-08   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwqB&d=%2Fa%2F3d000000pkl1%2Fv8lTwLlJmZCvrpxLe3PualT8LppUaZfEWEM4DLJ7.rE&asPdf=false  
1eba2ba24c8c1bc8 HERSHBERGER FARM LTD 31-C-0198 2015-08-18   0 6 2 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwTA&d=%2Fa%2F3d000000pb3w%2F2we2.60KUfiwkZifbQjHnJP_m5yTcg63ycUNNfwLKGs&asPdf=false  
e511bfbdc4e388cf HERSHBERGER FARM LTD 31-C-0198 2014-08-12   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egba6&d=%2Fa%2F3d000000pjBN%2FV3ng2JC2_.lOFBxJtOWkLs0UDiJ14PlbfALTUhgv29w&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 87.359ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API