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

5 rows where cert_number = "31-B-0219" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
55a19432f1729463 Tiffani Danielle Jones 31-B-0219 2024-03-21   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000CwJhg&d=%2Fa%2F3d000002jSA5%2FM00wrlVPZZJ972Di.KiMgAOka9FevlhFDPf6iusTFWg&asPdf=false  
67127ee6ecdceca5 Tiffani Danielle Jones 31-B-0219 2023-11-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Anolr&d=%2Fa%2F3d0000026rZQ%2FpdXRToax9LGPMHNm9RhM3mVqrr2y3KGRo0Z7axFpcI4&asPdf=false  
5468cf55bb489c9f Tiffani Danielle Jones 31-B-0219 2023-09-14   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000A9RKD&d=%2Fa%2F3d000001upTK%2F5Y97W7q5u.FAYGLnyLKWYEvXZVBl.rT.vr3NDO2l4WI&asPdf=false  
e6621387cecb3a02 Tiffani Danielle Jones 31-B-0219 2022-02-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9GYi&d=%2Fa%2F3d000000ph3d%2FdwbfoN2Tvb33lSUsfhJLLTak11Kz2v5JUB934qMkwK4&asPdf=false  
f0ed741d0633843a Tiffani Danielle Jones 31-B-0219 2021-09-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8I6t&d=%2Fa%2F3d000000piAb%2Fus1rcGSxb2NVzOlKPmNpyYtNDShIAEfTr0Y5Jg7wR8Q&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 6.861ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API