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 = "33-T-0040" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
50bab65d9c5269c4 THOMAS COOK AIRLINES 33-T-0040 2022-05-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yx0Rq&d=%2Fa%2F3d000000pehi%2F8_4WT52.E0QgBO0lkFIACFtB8ACM.6IK.4s_OKt611k&asPdf=false  
a0e2d31ef838eb0e THOMAS COOK AIRLINES 33-T-0040 2022-02-01   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9DDD&d=%2Fa%2F3d000000pehe%2FmSdOT9fMKuCzo2xqcQA4zrVZsdAATgcALTYbvi1Mgq8&asPdf=false  
71769b1e126516f9 THOMAS COOK AIRLINES 33-T-0040 2021-09-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNQ5v&d=%2Fa%2F3d000000peiZ%2FTG4t5Au2gwQAqGs.k4F3TqSjYoTvqYftAw3MH6HVFqY&asPdf=false  
e47c651d6583a8df THOMAS COOK AIRLINES 33-T-0040 2020-03-04   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmcM&d=%2Fa%2F3d000000pehu%2FyxOuL3eKafQQQKk6rjVHsHjtCKPqQHLr2r5bpjUasUQ&asPdf=false  
df9ad7e559c6e1d6 THOMAS COOK AIRLINES 33-T-0040 2020-02-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egm7b&d=%2Fa%2F3d000000pSEY%2FHBH3nDi5jYN8OBtvVsgEftHyKUVZloaWv1NTWRyBkXg&asPdf=false  
e286d90bfe05f2a2 THOMAS COOK AIRLINES 33-T-0040 2019-09-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmzH&d=%2Fa%2F3d000000pg50%2FGHsB8qm9gCfwmoIaeYx_qtTI4K1nOvLSUoGnAFi6_XU&asPdf=false  
11bc75b4a743ba8d THOMAS COOK AIRLINES 33-T-0040 2019-06-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egmw3&d=%2Fa%2F3d000000peic%2Fr9qwGAykz8Q6XAkz66opbZjCI3AU.Gzn2gwdAUgcbyo&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 261.3ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API