{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"12-C-0047\" sorted by inspection_date descending", "rows": [["888b808a04a08bca", "12-C-0047", "2024-08-06", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000001XecP&d=%2Fa%2FSJ000002T47g%2FIRtigmsVw.s.T7dpCUTUiuNsrHxqolCRwAy6DAxdxl4&asPdf=false", null], ["06ff7736edd33df3", "12-C-0047", "2023-09-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000A5eFO&d=%2Fa%2F3d000001tNH0%2FYpP8CdfwRPC.QvG0Yl0vfIym3xqgigQDz3UytigRGVM&asPdf=false", null], ["fb7ae93105cf1419", "12-C-0047", "2023-04-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d0000087fzS&d=%2Fa%2F3d0000016vG8%2F5Ilntu66T9iPDcUKts_T2BhO5Rwdi2r6V5CHIBgGdZ0&asPdf=false", null], ["553fe1945fa53233", "12-C-0047", "2022-04-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ywebm&d=%2Fa%2F3d000000piSU%2FdLEbKduduY9BckD3rZX21DEsAtc6sr.xkRAYqG0FAME&asPdf=false", null], ["04634251cee3872f", "12-C-0047", "2021-06-29", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMOOW&d=%2Fa%2F3d000000pmnE%2FCtsmDBjaYKNBpQGOko3tUZdr1jFvYvcxTRk4M2TNCvQ&asPdf=false", null], ["393f3feb202dd3e1", "12-C-0047", "2021-06-16", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NhN3u&d=%2Fa%2F3d000000pmrj%2F6CIQLikDhQ4I5e0TwfP5RDM7MY1oQRDmzHEieWZ1SaU&asPdf=false", null], ["bc2d46555d034023", "12-C-0047", "2020-10-21", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyFCb&d=%2Fa%2F3d000000pnWB%2FmABQwEEn.7FyPfmEBUJgQyAYoiB7EJOqf4qljL.tU_s&asPdf=false", null], ["03e60a506e2241cb", "12-C-0047", "2019-05-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmId&d=%2Fa%2F3d000000pnXR%2FghwRx5whgg5uiP933eVNW2nLn3DnlHzlrH82a92bj7M&asPdf=false", null], ["e6bff7f57a51f056", "12-C-0047", "2017-12-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egiln&d=%2Fa%2F3d000000pb4B%2FwIM5bi169rN.OVUaOtmQUxXzIi_UbcDi5AAzNRwNcZM&asPdf=false", null], ["e9df81cfe1067801", "12-C-0047", "2016-12-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egj9f&d=%2Fa%2F3d000000pUjR%2Ff4pFqHSyrMQvCNrSXcO6Zhio3kblOfsWvI.3f0VYqwk&asPdf=false", null], ["d9686c15ecf62b93", "12-C-0047", "2015-12-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglOI&d=%2Fa%2F3d000000pRD4%2Fu1cKXFHn0Hhddr.7o__fdx2euxqQZltDM59CCMh_XI0&asPdf=false", null], ["0a5d48e58017ce1d", "12-C-0047", "2014-11-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eglxo&d=%2Fa%2F3d000000pam6%2FUNnrfSblPvS.TwjqIP8aWACLN8LzenX0t1aSEnhjD94&asPdf=false", null], ["e67fd02857976305", "12-C-0047", "2014-06-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghHH&d=%2Fa%2F3d000000pb5c%2FTdorWaCUah5lbG.UcYCqytfrSCQi9vbHpAqn6Md50uk&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 13, "expanded_columns": [], "expandable_columns": [[{"column": "cert_number", "other_table": "facilities", "other_column": "cert_number"}, "legal_name"]], "columns": ["id", "cert_number", "inspection_date", "inspection_type", "critical_count", "noncritical_count", "direct_count", "teachable_moment_count", "pdf_url", "pdf_local_path"], "primary_keys": ["id"], "units": {}, "query": {"sql": "select id, cert_number, inspection_date, inspection_type, critical_count, noncritical_count, direct_count, teachable_moment_count, pdf_url, pdf_local_path from inspections where \"cert_number\" = :p0 order by inspection_date desc limit 101", "params": {"p0": "12-C-0047"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=12-C-0047", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=12-C-0047&_facet=noncritical_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=12-C-0047&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 3.6191639956086874, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}