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 = "21-A-0205" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
f4d2507f16aea9d2 Shem Swarey 21-A-0205 2022-05-17   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yx0OX&d=%2Fa%2F3d000000pgSZ%2FDGz7BwdQMXmtJNFLLbPISbBUhDurAlWTsf91zXDfOHw&asPdf=false  
92e3ad17b8c93031 Shem Swarey 21-A-0205 2022-02-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9HIM&d=%2Fa%2F3d000000pegz%2Fhjc.TdVTC0wWus0NIl1A8xU3_l1SEY15hL1wjOyI5R4&asPdf=false  
e4cc30a843d13aff Shem Swarey 21-A-0205 2022-01-04   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9B1F&d=%2Fa%2F3d000000pegH%2FgdkHhcCMebt.cuaXkOXmD6qOBNhRXyyFpPkB2k5JunE&asPdf=false  
7a07a0431b5dca48 Shem Swarey 21-A-0205 2021-10-18   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8FYs&d=%2Fa%2F3d000000pegG%2FbvhQkG8qYVxn3m2K9hs4VPoAIKHVfkrVIMAxiwVBqyk&asPdf=false  
b6d6ae57b96ad416 Shem Swarey 21-A-0205 2021-07-12   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMeeu&d=%2Fa%2F3d000000pefy%2F0dh8ZPW04SnXDspFTGH42sdTLE3GJv7kzIQmZt_bavA&asPdf=false  
3949bb5b3721f82c Shem Swarey 21-A-0205 2021-04-29   0 5 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Nh5xf&d=%2Fa%2F3d000000pegw%2FGPVMX64oKB35DcdPYcqhhqDBg0ReEVmkQEAfeTzoQls&asPdf=false  
27f68d57ca984b73 Shem Swarey 21-A-0205 2019-07-22   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZwI&d=%2Fa%2F3d000000peg2%2Fbb.B9Yvw_QLzb54INtLZQrfLcCMipg2Q.A.TEpRJn8E&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 25.115ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API