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

3 rows where cert_number = "48-A-0896" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
e960784beb3dcea0 Cindy Clausen 48-A-0896 2016-06-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjUj&d=%2Fa%2F3d000000pb40%2F5FthvI4HVv6H52IlOET74u8h5jqOvTjntNemQFmLnUw&asPdf=false  
0baed326675f1ac7 Cindy Clausen 48-A-0896 2015-04-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeIR&d=%2Fa%2F3d000000pk74%2FA1xsEh9CEmDMvQVtJDzIMb7usZjOjlP7eV1UFACwpA0&asPdf=false  
10f76963f1e22e68 Cindy Clausen 48-A-0896 2014-03-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfsT&d=%2Fa%2F3d000000pauG%2FjJ6MfpkPYUnUqGIrqPme1xSipGxl5fjSQQ.VoDFv5no&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 711.658ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API