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

9 rows where cert_number = "31-B-0197" 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
90a6847d680042b6 Q Test, Ltd 31-B-0197 2025-12-15   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000uuxek&d=%2Fa%2FSJ000007LnT8%2FnNnKzG50cDLwYKiCdKbYOCU2y5DUjTNeRoQ6lATj.R0&asPdf=false  
3e6216346f337cd2 Q Test, Ltd 31-B-0197 2024-11-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000CwbbS&d=%2Fa%2FSJ000000yVyb%2FArPTNgqVeZCa1Y1wDujbT8Ua_Vu0h_Ew8u3A4W4N3hI&asPdf=false  
482271223f357934 Q Test, Ltd 31-B-0197 2024-04-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DHI1m&d=%2Fa%2F3d000002qnuv%2FPCVptCZog8osVENxd5hHmJAGkYryu2q6_M2WoPHawOY&asPdf=false  
9bf73ad4c935fbd5 Q Test, Ltd 31-B-0197 2024-02-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000CC6iS&d=%2Fa%2F3d000002VPpe%2Fwjlf76r48gvxneVOxNDnFatmfBNlpwkwjIP4TmLlFuk&asPdf=false  
82b2fd32c41ca9fe Q Test, Ltd 31-B-0197 2023-05-10   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008Opa8&d=%2Fa%2F3d000001COKu%2FZxZkviQ0o40dAWM4x5Co2O48cvRGo1RkwEbgjLnuU9A&asPdf=false  
1af47637f457d1e2 Q Test, Ltd 31-B-0197 2022-07-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yxf2I&d=%2Fa%2F3d000000pj71%2FDf8uYYOdTS89BcJJUCL23RZ.h0LcDHsWZ.Rxg6pHwcA&asPdf=false  
b3b6c1f6f1a8120e Q Test, Ltd 31-B-0197 2021-04-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NgwDD&d=%2Fa%2F3d000000pj76%2F3p.SoPxH4TOGYjXJxzEd924maTS5Xd65CcJDQeIC43Y&asPdf=false  
69beec1034513dac Q Test, Ltd 31-B-0197 2019-12-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8XiR&d=%2Fa%2F3d000000pj5t%2FCJVaTxt.PUlJ20c8KU3plgoeNupo9Y43AIqUOrvzQs8&asPdf=false  
0ee0b3bdcbe6b213 Q Test, Ltd 31-B-0197 2019-05-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYJw&d=%2Fa%2F3d000000pj67%2Fbtc0M_VQ5IKEKaob_H_P_MLpRAYm.HB.gKtaFxMTXRI&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 191.972ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API