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 = "92-C-0158" 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
2a52f8426e35010b Alfs Ice Cream 92-C-0158 2022-02-18   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9YYS&d=%2Fa%2F3d000000phDv%2F8uS0P0nPRPTzMLZee9i.4B6FUfGktDYJi8qOh9h4XWg&asPdf=false  
5dca6e28bd14ab7d Alfs Ice Cream 92-C-0158 2021-09-17   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNLsM&d=%2Fa%2F3d000000pRvy%2FuaUV9Ho1i6mOTE1tNIpOE13GSR4rVaF0l7u.ls5Gjsg&asPdf=false  
1f1879052d2ef4ba Alfs Ice Cream 92-C-0158 2020-02-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggGy&d=%2Fa%2F3d000000pgf4%2F_Ka4gxJM5miUtRvatFSFpuzdAGiJNNBsyj7I9u6KPwk&asPdf=false  
68183851486e405e Alfs Ice Cream 92-C-0158 2020-01-29   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbY4&d=%2Fa%2F3d000000pm8J%2F_qfapRMBcNP3mzoYet1qZ9hCgoc2rsrCeyIqjBj921o&asPdf=false  
ddd7497e630b0a08 Alfs Ice Cream 92-C-0158 2018-10-02   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egnq5&d=%2Fa%2F3d000000pRYD%2FKgt3.I4mh8DwuDO9LkRoh_eaC4c0ujlbYJdHXSmbpeM&asPdf=false  
cc08a4a59e7b64d7 Alfs Ice Cream 92-C-0158 2017-06-13   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXKw&d=%2Fa%2F3d000000pdsa%2FBSQg0vkwYD3ir6pxhHMuu6BBuEVfdsAUSVfZsE1nwL4&asPdf=false  
d69848e984cc94fd Alfs Ice Cream 92-C-0158 2016-05-25   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egd8Y&d=%2Fa%2F3d000000pWvK%2Fut7WY3KeejshAmL9wtfgTl1iK6RTwruaamhEUM5Dcs0&asPdf=false  
fbeb0eee4dc7654c Alfs Ice Cream 92-C-0158 2015-03-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiNG&d=%2Fa%2F3d000000pnmM%2F8Ot0K.sZHWin9UpVmlx4casP96f.7wMzvMr61KYrIL4&asPdf=false  
d12cb97299d01a7f Alfs Ice Cream 92-C-0158 2014-02-25   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaTP&d=%2Fa%2F3d000000pjfU%2FBenRkSFe1HNhz0BQoHTRgqnJ_Xk0sQiJ5tbtNogdR8o&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 301.911ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API