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

11 rows where cert_number = "21-R-0223" 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
db94454bc66b2e1c New York State Psychiatric Institute 21-R-0223 2025-06-17   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000cJpFi&d=%2Fa%2FSJ000004XMkD%2FQu6qhFprv8dqsOR17FtPwWBfx9HHcIQ2u4_eZxBlLlg&asPdf=false  
c373191ab4be17ba New York State Psychiatric Institute 21-R-0223 2024-07-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000EVPwM&d=%2Fa%2F3d000003AkpJ%2F_zNtjlhObW0nFO0uP111rQSXw7r0J1bcvLZmE3aW2JE&asPdf=false  
9dad99c9778c06f6 New York State Psychiatric Institute 21-R-0223 2023-07-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009GmyP&d=%2Fa%2F3d000001Uhii%2FZd8aHoRVLb0Z.tll9eZUkEI7d4M8Qxiqh820cC9Fc2Y&asPdf=false  
4afe380e018bfa14 New York State Psychiatric Institute 21-R-0223 2022-05-26   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yx3jY&d=%2Fa%2F3d000000pheg%2FuOxiQqmckenLTyS0M0osPK.SMVoOdGPV7EwGQ4gaRfQ&asPdf=false  
c8ff065710bec103 New York State Psychiatric Institute 21-R-0223 2021-06-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NhNGI&d=%2Fa%2F3d000000pgKf%2FDWiEjLJJb05iQrMjTn26j7FTDFglDvBYoWaCwrsftts&asPdf=false  
e46135bbb3726dcf New York State Psychiatric Institute 21-R-0223 2020-03-10   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYJi&d=%2Fa%2F3d000000pgKp%2FTGXVyGKYT3AJZnbY208rZza7gEZ6Zh78qgEuTZIcplU&asPdf=false  
c758a98d97fdb50a New York State Psychiatric Institute 21-R-0223 2019-04-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggSz&d=%2Fa%2F3d000000pgKS%2F91DAQY6OJgNcXG_NL9wPTYNJ.e.8VcQic8mN5RFZP.M&asPdf=false  
d27470c533c5979e New York State Psychiatric Institute 21-R-0223 2018-05-15   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdJV&d=%2Fa%2F3d000000pgL8%2FxbID6AvGySKXM4Nb7SLn99NcYEwATlrXmlINyM8dVDA&asPdf=false  
8d2f6fb7c3ba2e65 New York State Psychiatric Institute 21-R-0223 2017-05-23   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXI2&d=%2Fa%2F3d000000pgKb%2FeSURLjbtbVZdlrAcJGYfWJaG4c.0HdiPYHkKhzryqRg&asPdf=false  
d3a096bca27346f7 New York State Psychiatric Institute 21-R-0223 2016-01-05   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXlE&d=%2Fa%2F3d000000pgLS%2F5SNxmKv_B5gcBQRTFCKxnLZ8OboTZQQyQ4TsLcy5j7g&asPdf=false  
2f6c1be898da573e New York State Psychiatric Institute 21-R-0223 2015-03-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egb32&d=%2Fa%2F3d000000pgKQ%2F5Env8KydnbOgquqeoxX8uS94HS450l19omSi961jksA&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 4.608ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API