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 = "14-B-0027" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_count, direct_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
7a77cfd71e4c6b01 James Gentile 14-B-0027 2023-01-24   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007udKG&d=%2Fa%2F3d0000012vdK%2F9yTHVLPPCgywxWItRe6eogqeNAHhMMq0s02yjfoRO4Y&asPdf=false  
4c37af8cbb03788a James Gentile 14-B-0027 2021-04-15   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NGNSW&d=%2Fa%2F3d000000pRpt%2FWf2KWV2z3ccn0LEzLMXHPVTiYxtCXrVlemdkg5RHkHM&asPdf=false  
736eb03aee8b608d James Gentile 14-B-0027 2020-03-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaCd&d=%2Fa%2F3d000000pi6N%2Fak5RiEO_vVFAfjWEQvL8Zmz7EWcXRcrJt9BGaXssA7U&asPdf=false  
713be4bf6415241d James Gentile 14-B-0027 2020-02-12   0 0 1 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWZ8&d=%2Fa%2F3d000000pT7k%2F9Q.c74yTQbrXO.k5YeuFPBjEsk2OI4s5zn4W63uG2R0&asPdf=false  
4b98ff0a9ca8f2a4 James Gentile 14-B-0027 2019-03-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYY0&d=%2Fa%2F3d000000pSCp%2Fqvub4rHXERKDYaVKYbQ0WVrDm9HxFRXVGq7ZZof9ITQ&asPdf=false  
4b74fadf51cbf9c3 James Gentile 14-B-0027 2018-03-23   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYeT&d=%2Fa%2F3d000000pk4R%2FNYDp1RVbNYZLsD5MU0M2mm..DJwDRx25M_OoXieqp4k&asPdf=false  
e344bf0ef2445e4c James Gentile 14-B-0027 2017-01-19   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWUc&d=%2Fa%2F3d000000pp3A%2FRvqzA3ZSDBGQ8YGwv8ADDYZwlVkxdqoXXfl3HNPgZ5o&asPdf=false  
28c32bc95114b3f5 James Gentile 14-B-0027 2015-11-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXU8&d=%2Fa%2F3d000000pTDf%2FFHmGNs3Joh1wrBlyPda1Jtyu8sReEP6315af4nW2Y10&asPdf=false  
040edb58de15eb08 James Gentile 14-B-0027 2014-11-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaLZ&d=%2Fa%2F3d000000pjmS%2F5Z4SwwOdOfqjAYF4UPrs5V0bTaQ8mBZ5OJZYyCQSWfE&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.86ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API