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

2 rows where cert_number = "57-B-0168" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path cert_verification pdf_sha256
3718cba3a58aef89 TODD HARRIS 57-B-0168 2014-12-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgoOD&d=%2Fa%2F3d000000povX%2F8gROXssUAs1n3mfAiHx7I_PNuZas7hK36f0rJnpbkJs&asPdf=false pdfs/57-B-0168_2014-12-02_3718cba3a58aef89.pdf match 6cb153e697de6c26ae48f47733d2378631990ee538d183e843b01428dcfd0fdd
4b2d75b7e6cb1e33 TODD HARRIS 57-B-0168 2014-05-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcBm&d=%2Fa%2F3d000000plh2%2FmXdv2UIHfsjiBxoQBp0be7n45px2iqXlrQrL8qd0Lf0&asPdf=false pdfs/57-B-0168_2014-05-19_4b2d75b7e6cb1e33.pdf match 37483ed9b6d4aad321a16eba424cda9d7b7f4285c4552737a46f358afff897cd

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
, cert_verification TEXT, pdf_sha256 TEXT);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 1.059ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy