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

6 rows where cert_number = "67-A-0006" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: critical_count, noncritical_count, direct_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
d481dd21e0bcacb6 CastleWall, LLC 67-A-0006 2024-08-15   1 4 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000002gJpu&d=%2Fa%2FSJ0000007c29%2FJnK2E1S4JFWOiYRl872MYsPmilUw1v3SSaYQvolg2M4&asPdf=false  
4b7425b8489d0dfa CastleWall, LLC 67-A-0006 2024-01-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Bs0je&d=%2Fa%2FSJ000002T3hc%2FuiOffFxxDyPxuoTc.2YVwWq4eSp0jkIJmkHLF3J.fYQ&asPdf=false  
617fae2397ea2abd CastleWall, LLC 67-A-0006 2024-01-18   0 0 1 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Bo5xZ&d=%2Fa%2FSJ000002T3hY%2F9ti6A8.HhBBKV6.IUjRu8upUxHSjhRYpc5dFtVpUjiE&asPdf=false  
dbc65e8a1889f014 CastleWall, LLC 67-A-0006 2023-09-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009rJGr&d=%2Fa%2FSJ000002T3kG%2F2TguDDcJCz0JJ4yPa2h3.CzxImIXfZcgmbkpWgG04fc&asPdf=false  
66b4e4553b651809 CastleWall, LLC 67-A-0006 2023-08-23   0 2 1 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009kS5x&d=%2Fa%2FSJ000002T3i0%2FDdwEVSJQ7eis.JLhwhg1LJfxInTSgIhvFGN3evrgThI&asPdf=false  
6a1ee6030d094138 CastleWall, LLC 67-A-0006 2023-03-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007uQMV&d=%2Fa%2F3d0000012r18%2Fuhfb9sCrSey7CFrOZEUUbDkvKYq7OqYBiydr89csD2Y&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 730.312ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API