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

7 rows where cert_number = "57-A-0216" 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
1b8cc66d468413e8 Andrea Harding 57-A-0216 2024-01-26   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000BuAKT&d=%2Fa%2F3d000002Q3Wq%2FpjQfs_EiTPDGUHuDWlsxiAf8WEGx.1RL5eBCMJ_CbYE&asPdf=false  
adfb8c879af2fa0d Andrea Harding 57-A-0216 2023-10-11   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000ANGpU&d=%2Fa%2F3d0000020U3l%2F2eAPUst3mVQmS57nE73ygX2HJpHB.ary3W.2Ga8x2o0&asPdf=false  
a7cf1a23aae950c6 Andrea Harding 57-A-0216 2023-03-07   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007uch1&d=%2Fa%2F3d0000012uJs%2FnNqTCqEU_MZiAMyIqpKDkHUdig1n1EvpTRpbXlXc8LY&asPdf=false  
1cde51796762b9ca Andrea Harding 57-A-0216 2020-04-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egmtx&d=%2Fa%2F3d000000pklK%2FlMrkdEutAIGJg0WOiBQ0PAWbYlScGzVvBy6OMS8A6fg&asPdf=false  
23cfc6a22bad29ad Andrea Harding 57-A-0216 2019-09-30   0 1 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWyS&d=%2Fa%2F3d000000pUtz%2FTUOXYafNKO85KhY6RcPNxUX3FiGMEIokvMaTBaUecbo&asPdf=false  
6c7fc2572381c99a Andrea Harding 57-A-0216 2018-09-26   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egkuo&d=%2Fa%2F3d000000plOW%2FMZm9kTHZi8lil1yvwHhXBOokt53ic7ToggJ65DAfEsE&asPdf=false  
edc3c5003c39c283 Andrea Harding 57-A-0216 2016-04-12   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egant&d=%2Fa%2F3d000000poka%2Fs9yVfjpXPHDpjww4Shdr6dqQDfE6peeZZM_I2u3AoWY&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 422.337ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API