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 = "42-B-0310" 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
eeb776638feda873 Jason Boyle 42-B-0310 2021-10-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8IPv&d=%2Fa%2F3d000000pkh2%2FX_XnSSqMdZYm3VIrR1VKfxT3KzOOMDQWDyfm8o7VZ0s&asPdf=false  
5c6da9655e6502cd Jason Boyle 42-B-0310 2021-03-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESgY1&d=%2Fa%2F3d000000poLp%2Fo2yn1PdicL_3UVbMFbHHaDhXETB5QytV4PcXbyL8qkA&asPdf=false  
2ff7aa870c2aea4c Jason Boyle 42-B-0310 2019-09-03   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgoDG&d=%2Fa%2F3d000000pfnV%2FFFK5U27sLFtbJwe.K73_FSCMfMvrteGf_PppXuDXXuM&asPdf=false  
4986e84a68af508c Jason Boyle 42-B-0310 2019-05-02   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfni&d=%2Fa%2F3d000000pUXs%2FOfBJrUpO1vhEIMDX39SkHIBLFhHnNwB7eXStI4qZDk0&asPdf=false  
a21a92d67ff628e3 Jason Boyle 42-B-0310 2018-11-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmXr&d=%2Fa%2F3d000000pSMY%2Fsmq.OV6IEPiSF4nnb21a_TKk6h2penmwDf_UEDlZExg&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 5.194ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API