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

8 rows where cert_number = "52-R-0002" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
ec51f82c1b27f2e5 WILLIAM & MARY 52-R-0002 2022-07-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yxizu&d=%2Fa%2F3d000000pjdo%2F2cuIP0oEkIchFeJ8WfVAsZPxMHV3MlT1ck5UCfs2eDc&asPdf=false  
00f9908c89ccd5da WILLIAM & MARY 52-R-0002 2021-09-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNF3X&d=%2Fa%2F3d000000pjVj%2FlDTVewTnu9EFg.cs1c732zVKi5oQ3QfgizV8gJ93W7I&asPdf=false  
0641e583dffe613b WILLIAM & MARY 52-R-0002 2020-01-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egn95&d=%2Fa%2F3d000000pjVT%2Fr8Ch.SuzcT3tzEKuoacxdnVt.wwV.pZb9xNACvWxseE&asPdf=false  
f6983771cbcb9250 WILLIAM & MARY 52-R-0002 2019-06-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggjX&d=%2Fa%2F3d000000pjVr%2FtStCNEHApTEKeVUHGdzDlomzvU3i2Fm1A1nLM25KNFk&asPdf=false  
64db13a563267f8d WILLIAM & MARY 52-R-0002 2018-07-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggdE&d=%2Fa%2F3d000000pjWL%2FRTX09zwUChIV9zKsALd_OGEGRosgDDeVJKGSiHfkaAY&asPdf=false  
9daeb1a26d53e8d0 WILLIAM & MARY 52-R-0002 2017-01-04   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggtz&d=%2Fa%2F3d000000pjWD%2FHzgYslxZ5Q0H_aW_L6kmBk4V6Z_UmFR12jyBhOiAIy8&asPdf=false  
ef1abe82659292b0 WILLIAM & MARY 52-R-0002 2016-04-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egi8Y&d=%2Fa%2F3d000000pjVS%2F5ZrDf4sM555KFnyd3CWYd3QBJQvpudmA.yQ6wPcHSTg&asPdf=false  
98b65361d2fa5575 WILLIAM & MARY 52-R-0002 2015-05-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZia&d=%2Fa%2F3d000000pjWS%2FWds85_oychCWxWxThbJhLM8hMkHOFEJO6W.WbDOvNJ8&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 165.619ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API