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

9 rows where cert_number = "21-B-0162" 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
274f8cca7746431e Jonathan Hale 21-B-0162 2022-10-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awqAf&d=%2Fa%2F3d000000pW4Q%2FI5G1azMlxZRYXVEGO4mHKjheOo6m4zpbgr9xYw0H1Xk&asPdf=false  
4fd867e2bfe96fe9 Jonathan Hale 21-B-0162 2022-09-20   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awQJX&d=%2Fa%2F3d000000pW2v%2FF8HGhpnEYyn._UvkLM87bc5pTtFGwC2NVHvsgzdB2qI&asPdf=false  
d15a1aca9a096a58 Jonathan Hale 21-B-0162 2020-11-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyIBc&d=%2Fa%2F3d000000pW3Y%2FfgJPXS_xug0.SwOT_zxFRxGvCSVRVjAu31YolHKK..c&asPdf=false  
b76c8a7c7cda49fd Jonathan Hale 21-B-0162 2019-11-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ6G&d=%2Fa%2F3d000000pW41%2FxfJg7tF2X1QA43jAM0v.137huqj0qDziJ.n7WuD5xLw&asPdf=false  
672857f447109b29 Jonathan Hale 21-B-0162 2018-11-01   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYbP&d=%2Fa%2F3d000000pW4I%2FM21OEv_l.VgMIwl2NRefQRYp6Oj201nHtooJq0NcfSE&asPdf=false  
f86d41ef2da5e65f Jonathan Hale 21-B-0162 2017-11-15   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ5h&d=%2Fa%2F3d000000pW32%2FFsq2izoOMxp0F1ZTST17JSMryCBffHJpU5ipImyChQw&asPdf=false  
35fdd784d06ec72a Jonathan Hale 21-B-0162 2016-10-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZH2&d=%2Fa%2F3d000000pW46%2FzVg8AzBvsjsfq531cGwEhosX2FdQhcXG8_ng91EE26M&asPdf=false  
7ab7b4fa69e929f4 Jonathan Hale 21-B-0162 2015-12-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbTH&d=%2Fa%2F3d000000pW49%2F5NvRzLCAC4ydFFxgS8F4Up4ymyjhg1s2sAAfUJNVW6s&asPdf=false  
c6b4e3db9c2abb03 Jonathan Hale 21-B-0162 2014-11-04   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYWq&d=%2Fa%2F3d000000pW4M%2F3d9CBA7Q7kI_Lc72YHguXiCaWeU7Rc0v58K7O_JCLck&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 636.363ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API