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

2 rows where cert_number = "74-R-0194" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path cert_verification pdf_sha256
bad344ab238a1532 Advanced Medical Training 74-R-0194 2015-08-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egnmy&d=%2Fa%2F3d000000pkpy%2FxjvWDQWkCHmajpz6R_RF_Oo1dUVvsqdGumViMDIE9Jg&asPdf=false pdfs/74-R-0194_2015-08-13_bad344ab238a1532.pdf match 6be4b50583085cc147721a6d7eccca92212ce76a492db4a0d01e398992e69046
b9142153cd81e7a7 Advanced Medical Training 74-R-0194 2014-09-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgnfS&d=%2Fa%2F3d000000pkj4%2FwdLeDyby5q4SOQFmuIQrwp.iayHAWeY5mvKOEpOs9eY&asPdf=false pdfs/74-R-0194_2014-09-29_b9142153cd81e7a7.pdf match 94772994297d5ccd38f4f93772919aa7147858977f3882e36baff47c84772a0b

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
, cert_verification TEXT, pdf_sha256 TEXT);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 1.071ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy