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 = "42-A-1540" 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
e3eb714afe8293a1 Catherine Schafer 42-A-1540 2022-03-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9Ugj&d=%2Fa%2F3d000000ph9F%2FmA2MFIeScPiG.v9AL4.jSsI3d4wHzOZ4uMLplpgGiv0&asPdf=false  
308e18df96d7cc60 Catherine Schafer 42-A-1540 2019-09-04   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghK9&d=%2Fa%2F3d000000pUGq%2FescfJ9MP6fXiMyLgETvv_.8RuBOIJGOMnMYSNM8q0Wg&asPdf=false  
dc7146597c88d310 Catherine Schafer 42-A-1540 2018-10-03   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjxY&d=%2Fa%2F3d000000pjmp%2Fl1ws4jHWprEyIzhnbzZZG3JHzwFjlxIAxqYUYEfrBc8&asPdf=false  
8afa6c3043dc690d Catherine Schafer 42-A-1540 2018-09-13   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egik9&d=%2Fa%2F3d000000pogg%2FG_RTBvaG.oVjFOEJGBu4onxxDouZCwOOac3AuB1587I&asPdf=false  
579a2dbce95044b3 Catherine Schafer 42-A-1540 2018-01-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghTC&d=%2Fa%2F3d000000pp4I%2FzXdDdmfh4MmApls7ZS1bA7AhV5MoI7EQEED37k_gkZQ&asPdf=false  
f0b8a5c04b4dc35d Catherine Schafer 42-A-1540 2017-01-03   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eghlj&d=%2Fa%2F3d000000pfmQ%2FDHVJNTBVUi1ERNClylaEy_QXT0o1qbkgBirmrPBkKcE&asPdf=false  
1884fe0c25f5b58a Catherine Schafer 42-A-1540 2016-07-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaNC&d=%2Fa%2F3d000000pStB%2Fnsmk3CGu1en6WxXsPFMSaoIIODcsK1pLgxP9d_Ch410&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 4.806ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API