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-R-0021" 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
ada1d3fce338e4d5 State University of New York 21-R-0021 2025-01-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000L9iyi&d=%2Fa%2FSJ000001uAfF%2Fvdh6Qfm5X3uSIy59O0hyrVebdVd54TYTgwL.g5vhy8s&asPdf=false  
07a8a182b0abe5e4 State University of New York 21-R-0021 2023-12-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000BEbf1&d=%2Fa%2F3d000002Cw72%2F_2mkGxGiXesSo18roui1eEgyY23bWzE9oHOAdLnv7oY&asPdf=false  
c82770ba8615ff49 State University of New York 21-R-0021 2023-02-28   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007uVcU&d=%2Fa%2F3d0000012u8v%2FJZAJ3vlviUf_PvrhuNh6T2C6mzg.bhjOBBH8bNdHK.U&asPdf=false  
3619be054d130073 State University of New York 21-R-0021 2021-12-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8nKN&d=%2Fa%2F3d000000pg37%2FDEw.mJbn_hchnYv5HDcxsgA2kOw8o4pRCg7Ay50WfGU&asPdf=false  
44ef1538aae5b9ae State University of New York 21-R-0021 2021-04-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ngy2z&d=%2Fa%2F3d000000pgAA%2F4c_kIKy0yNvdf_inm.IW4_TGr4I9bUT_93B11z2X920&asPdf=false  
70c425fe081ddb42 State University of New York 21-R-0021 2020-09-10   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnTVJ&d=%2Fa%2F3d000000pg4f%2Fi.ykUqyHnOuIchk1eVvf5mh0ziNldVdwwK0tEhkyrrI&asPdf=false  
05d4b7679e0de69c State University of New York 21-R-0021 2019-05-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcJF&d=%2Fa%2F3d000000pg1r%2FLSeQ_2a4yTmDl9hESgAAadRnIViX4UN_tcm4ouiKLro&asPdf=false  
2f911e567c2e8677 State University of New York 21-R-0021 2018-05-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgawT&d=%2Fa%2F3d000000pg1C%2FhW5t1Lb06x0rcIGBUonzVy9lOiCiluDbQqZOA2X1VH8&asPdf=false  
4716f0fa26cdde17 State University of New York 21-R-0021 2017-02-23   0 6 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwCw&d=%2Fa%2F3d000000pg13%2FCT2Gv3NRUanC6l4GxgVAVVLyeE7Yp4qp5xhme_uD6po&asPdf=false  
5defbf39481e9178 State University of New York 21-R-0021 2016-07-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcbA&d=%2Fa%2F3d000000pg6X%2Fn9g9Vk042d78pMqNTVp3.zqf6drsHVg55J86FSRypXQ&asPdf=false  
f4fa381132b59133 State University of New York 21-R-0021 2015-06-10   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWJf&d=%2Fa%2F3d000000pg5Y%2F3ONoFh2g4O1UQXPcPs61edhyXF0iRLH82Jdou0x.KII&asPdf=false  
bd92d514b8f486c2 State University of New York 21-R-0021 2014-05-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaGR&d=%2Fa%2F3d000000pg5H%2FP1U6rhZIMPpfrDPG0niQNMNM.OxxL6coQR95kwkiG54&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 17.74ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API