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

3 rows where cert_number = "31-T-0042" 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
fc81ae32cc8ae626 Deeanne Hefner 31-T-0042 2018-03-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglUv&d=%2Fa%2F3d000000pdct%2FejnNjgKnNjstUTGnXAO0o.RoNkN0gYgi0076lgSIhp0&asPdf=false pdfs/31-T-0042_2018-03-29_fc81ae32cc8ae626.pdf match 7704f206b1508b7b0eaff410dba4137c6d9994c5573a75041f91a1134169f0b3
1027c37038f9d805 Deeanne Hefner 31-T-0042 2017-05-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eglh3&d=%2Fa%2F3d000000parQ%2FYB9tYovNE3ob_e.tfpeqPYql5c.gdKVXP050YRF4Y34&asPdf=false pdfs/31-T-0042_2017-05-18_1027c37038f9d805.pdf match 7ba1a163f93d16e248ad7b146ddecb9f58f5ca379d926395333d42ecd1dfb894
8600b3e9a3641986 Deeanne Hefner 31-T-0042 2017-04-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egi8P&d=%2Fa%2F3d000000pf54%2FdHieokqsqgMD74nBKb27Q0mipq1LEK7N8Yduw6MdDag&asPdf=false pdfs/31-T-0042_2017-04-19_8600b3e9a3641986.pdf match a17086d7118954272bb946372dda1b47653f6877f6679dfaf843d2a7f608ba31

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.194ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy