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

10 rows where cert_number = "42-A-0628" 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
d4c5578bcdcec095 Curtis Orr Mara Orr 42-A-0628 2020-02-25   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egk1s&d=%2Fa%2F3d000000pUGZ%2FQA153qk8i102AF47AWUI4o_kItEY4bRmXefsAsni7x4&asPdf=false  
930dccdb1208c3a7 Curtis Orr Mara Orr 42-A-0628 2019-04-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiZl&d=%2Fa%2F3d000000pSkN%2FwkV9Wz1PUQi0xSkAfA0YsAEeYOfBj7BhRDyYBaC9.wk&asPdf=false  
6bc59509bf6791a0 Curtis Orr Mara Orr 42-A-0628 2018-01-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egkkm&d=%2Fa%2F3d000000plSm%2FvxOvOD9EOX6MjXZHJJCu5Gnw7mCbmERU6EIPR04fDEU&asPdf=false  
04039b1c1ba7a76d Curtis Orr Mara Orr 42-A-0628 2017-02-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglOe&d=%2Fa%2F3d000000patK%2FyL5tfh62_847Olg5082EkNNIcp6sqsX2PpnFR2Oiwoc&asPdf=false  
d74021bc0ea5809d Curtis Orr Mara Orr 42-A-0628 2016-04-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmmH&d=%2Fa%2F3d000000pkur%2FGLjzljwlC3SBC7ig8kQABNoNjxqy0rg9EH4IXaaTfXA&asPdf=false  
1e0a3bc647122e7d Curtis Orr Mara Orr 42-A-0628 2016-02-10   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgixF&d=%2Fa%2F3d000000pkYb%2FANDRN73z7fCOAcCC.wp_2p5dtJ4e7XSHnqAOnV1Bo5o&asPdf=false  
94b0c4ccc3b34ca9 Curtis Orr Mara Orr 42-A-0628 2015-03-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egj2M&d=%2Fa%2F3d000000pT8n%2FrpnD5.qeo48Ha9GNlWNWO1V9bKw5WvNrpdMXA9UFCE4&asPdf=false  
6ade0d8af5af3573 Curtis Orr Mara Orr 42-A-0628 2014-12-03   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiWi&d=%2Fa%2F3d000000pafz%2FUeVnzTWT8X8kG91bayFIVxyL0edgjQnzKTyzjj3ntFI&asPdf=false  
da369a740e84322f Curtis Orr Mara Orr 42-A-0628 2014-08-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghDu&d=%2Fa%2F3d000000pkn1%2FN5mga5uyGYMWzY_lsJrYZhgWpallsX5BSLbzSBuywck&asPdf=false  
53c83854fda6b16a Curtis Orr Mara Orr 42-A-0628 2014-08-12   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghDS&d=%2Fa%2F3d000000pdjX%2FIdwv_NUwgW0ncIotz5AewraHFynGYaXvRSdEI513xoY&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 6.584ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API