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-B-0303" 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
5b167d2b1ac32e3e MG Cattle Inc 42-B-0303 2022-03-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9VE7&d=%2Fa%2F3d000000phAP%2FGm.Z9OxJTVwO29VtfVhkNenfizjl7gCAdwbeUrjnWV4&asPdf=false  
10bbfe068787071d MG Cattle Inc 42-B-0303 2021-08-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMp6x&d=%2Fa%2F3d000000ppRD%2FNdk4SJ7JwJSSk7MtY3mkneRACbtgHKn3GT5Dm1XYzbA&asPdf=false  
970021d561f5e161 MG Cattle Inc 42-B-0303 2019-09-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkdI&d=%2Fa%2F3d000000pbey%2FymHdzJtjqX7NN7Ri_Cv74U88Icdi50Ee7kWVhIQZD08&asPdf=false  
a547024069c527bd MG Cattle Inc 42-B-0303 2018-10-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgoDH&d=%2Fa%2F3d000000poHG%2FqKGKNjBQc8pxACL5kxPu2BwmnYPAn7NUCkrHvWcw37M&asPdf=false  
ac46f3d369a76f19 MG Cattle Inc 42-B-0303 2017-10-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiMi&d=%2Fa%2F3d000000pjCE%2Fn0daKCLenhnrSlDYvNQVdL656flouLNV4rK1fAB_e2E&asPdf=false  
f5422bb136179c0c MG Cattle Inc 42-B-0303 2017-07-20   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeQR&d=%2Fa%2F3d000000pdy1%2FzXTAXPR2xM8kofR.OgEE0Wa5jXt13CqNbik63_FTNgo&asPdf=false  
4b1139533dfced43 MG Cattle Inc 42-B-0303 2017-02-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdYp&d=%2Fa%2F3d000000pbkC%2FhCafa2RPVsU1wABOfqlha2tvo9O8EMvDxIjNgRpCFQk&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 3.673ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API