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

5 rows where cert_number = "58-B-0637" 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
17a5f73a70e775ec CHRIS COMSTOCK ROY COMSTOCK 58-B-0637 2020-02-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbBw&d=%2Fa%2F3d000000pUrl%2FX.oZUHP.RmzNR4ZBqMtRaOgGrV_17e7pWnCoGc8F7l4&asPdf=false  
3307d2dd92c9de07 CHRIS COMSTOCK ROY COMSTOCK 58-B-0637 2019-04-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbEC&d=%2Fa%2F3d000000pf6I%2FimYmq4d24LXIyn4uzCKgyFbogFHglvCp5.pO7QBp_RY&asPdf=false  
56c1ba0d57507e1d CHRIS COMSTOCK ROY COMSTOCK 58-B-0637 2018-03-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaiM&d=%2Fa%2F3d000000pSSt%2Ft9ExYI43zOhM6Urekp4UlEZp62k.EvifZNtI7HXHOkQ&asPdf=false  
7d8018b9c9e483ec CHRIS COMSTOCK ROY COMSTOCK 58-B-0637 2017-01-23   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egcax&d=%2Fa%2F3d000000pluc%2FceEXzmoJ7zGxoiFvoAfefbSwbBQvggfTWqwl93hi3bI&asPdf=false  
a75443754c78c4f4 CHRIS COMSTOCK ROY COMSTOCK 58-B-0637 2016-08-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYBJ&d=%2Fa%2F3d000000pl8w%2FSCMT01DtoW2jrCjmTTHBOR2ubJ24KT7AmV7ZshM1sl4&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 27.134ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API