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

10 rows where cert_number = "41-A-0474" 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
2071ed7e193760a4 Lonnie Smith Becky Smith 41-A-0474 2024-03-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000CWxat&d=%2Fa%2F3d000002anbp%2FkcKQXHML70Gp6KmSUed0SxqiW01j6AkWEXDyUB5adwk&asPdf=false  
f5c0fc7a453d114f Lonnie Smith Becky Smith 41-A-0474 2022-09-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awCPI&d=%2Fa%2F3d000000pZA9%2FHGWUZvJ4sruICc5E5upf2TLdfaymQO9McBPijYJM.vk&asPdf=false  
2f30f64a7f4341c1 Lonnie Smith Becky Smith 41-A-0474 2022-05-04   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ywr1z&d=%2Fa%2F3d000000pZBT%2FBqZkkgqyZeR22ZSK0l8l7X_yvCV_gVxgUhH7KQUYQMs&asPdf=false  
034f888bebc139c6 Lonnie Smith Becky Smith 41-A-0474 2019-08-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZwf&d=%2Fa%2F3d000000pZAZ%2FK_J22fAu_UNZBEUJ24JOCzJG_N7QBlzCajqk3jiOdKI&asPdf=false  
5a8c9435a31f7d71 Lonnie Smith Becky Smith 41-A-0474 2018-09-12   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egafv&d=%2Fa%2F3d000000pZAm%2FuQN_WtG07tsyzD3HiY_pz1e2RtcJ7_Iqcy2VPBJKigU&asPdf=false  
c9733dd5aa7600ca Lonnie Smith Becky Smith 41-A-0474 2018-07-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ege3B&d=%2Fa%2F3d000000pZAe%2Fsp1qokijE0NC6jSSGE08mFcdRo8cn9aeLw2bCsnt_Rk&asPdf=false  
9cf8bca96e270077 Lonnie Smith Becky Smith 41-A-0474 2017-08-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ega7X&d=%2Fa%2F3d000000pZB1%2Fv5rroyJ30xEI2Y1Y7biQAg9iNDj3JdOUZiFpA19Pkqs&asPdf=false  
88a34d720b512697 Lonnie Smith Becky Smith 41-A-0474 2016-07-25   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYp9&d=%2Fa%2F3d000000pZAG%2F7nsIPwM0eVDftno4p8IBhicw8MAFvUDSdlDdYVt3OuQ&asPdf=false  
bbc3286240eb0b01 Lonnie Smith Becky Smith 41-A-0474 2015-07-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYEX&d=%2Fa%2F3d000000pZA1%2FmJVFURRFPRyi9mftrXCLiRiEke0lQqmslO_sIIUGfIc&asPdf=false  
85d4f420c96bcb9a Lonnie Smith Becky Smith 41-A-0474 2014-07-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ9P&d=%2Fa%2F3d000000pZB5%2FNPtDyFW3YvRQlLPz2IuuXCbWAUBgWQXlCn5meGG8taI&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 336.927ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API