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

12 rows where cert_number = "21-B-0147" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_count, teachable_moment_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
6a631ae2a6b06220 Curtis Martin 21-B-0147 2024-10-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000A45t7&d=%2Fa%2FSJ000000jtA1%2FJ4mcpb7_2YA96OsjiNHCkvtamkyAc6DqIpr7NIeoiP4&asPdf=false  
c4e0e85d3588647c Curtis Martin 21-B-0147 2024-05-21   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DoZeu&d=%2Fa%2F3d000002zKjN%2FLvL7GPprMdjeHa7wIz1MgBESZgU45c1_dD0M.ocyTio&asPdf=false  
3c0cefbb4a896a02 Curtis Martin 21-B-0147 2022-07-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YxfVU&d=%2Fa%2F3d000000pj6H%2FqER6lsUO87Jqw_KDrhJPPaECUk_tGD9ReMxnB8Dc0vo&asPdf=false  
cfb300f310f3046c Curtis Martin 21-B-0147 2021-11-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8QNN&d=%2Fa%2F3d000000pj6k%2FdELdWlRvFKZXDztMjtrUtqwun58S63DLqR6gJf88rTs&asPdf=false  
4346a10412bd5e20 Curtis Martin 21-B-0147 2020-09-25   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EqBkV&d=%2Fa%2F3d000000pj72%2FsvmyTiuX3ypJorpHdI3J4HGeNpAr2tMZ_xEApG50cZ4&asPdf=false  
f2512c739577781d Curtis Martin 21-B-0147 2019-03-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfSp&d=%2Fa%2F3d000000pj6e%2FlNrKSBdAZ.pUrY84ZtLe0DPigHpYnl9tolEkPtrnczo&asPdf=false  
2ca74c417d623e90 Curtis Martin 21-B-0147 2018-03-19   0 0 0 2 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egf1D&d=%2Fa%2F3d000000pj5e%2FAUsoaM2MhGS_NCDkba8TlT2oQ0P0YJ_fvRTiwhtb2Ts&asPdf=false  
032b396d0c30713a Curtis Martin 21-B-0147 2017-03-20   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYyG&d=%2Fa%2F3d000000pj5h%2FPUQwX0MAxTRJe6G3a_OzUSgJzw44iUL16JxO1Aidk8M&asPdf=false  
6c3d10af9ecccdd9 Curtis Martin 21-B-0147 2017-03-07   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdFB&d=%2Fa%2F3d000000pj6P%2Fvvk7s5DYl4tQ4XdYWyPmtrnXQoL6WtwYTFtgTQ7VI6Y&asPdf=false  
313eb0affa3a6978 Curtis Martin 21-B-0147 2016-03-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egn0y&d=%2Fa%2F3d000000pj61%2FiVWivNyL6j6DzGOlf4AQF0fy0t4Wzy8EAtOeQhLEd7o&asPdf=false  
c85ba1340303548a Curtis Martin 21-B-0147 2015-03-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgoEP&d=%2Fa%2F3d000000pj6D%2FhGwR4X9eLybp3t3sy7aqAt6yqpSIKvMdFB4KkrqeiYk&asPdf=false  
45bcd037ba335f11 Curtis Martin 21-B-0147 2014-03-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ego1X&d=%2Fa%2F3d000000pj5r%2Fzh83nl6hgydiFxGS92u3AqJR1eRyUpIckgEWOc7iLwI&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 990.187ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API