{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"33-A-0580\" sorted by inspection_date descending", "rows": [["2d651e2477d830fa", "33-A-0580", "2024-09-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000007Gggw&d=%2Fa%2FSJ000000Tv4X%2Frh9CEx590hWbNSWL7j0RTTGbNjv6UEUnUHMHbI2zM_0&asPdf=false", null], ["a8bb9acb64c9e878", "33-A-0580", "2024-09-11", null, 0, 0, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000004zh91&d=%2Fa%2FSJ000000Ifb1%2Foiec0MXi_N8Tv.D8diCQqxlAclLzCrWSuuEPdSqve_0&asPdf=false", null], ["cf8f1b8f0932d0a9", "33-A-0580", "2024-07-23", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Edrem&d=%2Fa%2F3d000003DRLB%2FlI_Eq4hUPzq_yNEDpgRaL563oCHiHt4PLOSM8ZiSkMA&asPdf=false", null], ["0714db2ba87ac893", "33-A-0580", "2023-08-31", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009pjA3&d=%2Fa%2F3d000001l0ZT%2FpIrZSeVWnPaqnsbHQVKRRuxZ7XqPKgCs4UfS3IHNIZA&asPdf=false", null], ["9fb0d09e6156d6c1", "33-A-0580", "2023-06-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008n9Si&d=%2Fa%2F3d000001KP6i%2FnCm_4L_k.wcHPHuYsqcaqtIWBIM1wzX.KiUpZCshObg&asPdf=false", null], ["4fec04b24a9a670b", "33-A-0580", "2021-08-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMyU3&d=%2Fa%2F3d000000pSe4%2FZOJJhcHFsyLcowWnxgWk.6u16LS6PqLOpqTq5HN7EeI&asPdf=false", null], ["b4e1fdb56ecab898", "33-A-0580", "2019-07-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggcr&d=%2Fa%2F3d000000pkQJ%2FvSChzbspozkwCeEGG_aQVPs6C9rndSaF.gpKdbgYVmc&asPdf=false", null], ["d02e03cc0b14d40f", "33-A-0580", "2018-08-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiV8&d=%2Fa%2F3d000000pbc2%2FHrzvHh.iGmqFrMJWdGOYi8mB1m3.xX26fv9i3gCVTUY&asPdf=false", null], ["afc7e50ab66b6ab5", "33-A-0580", "2017-09-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbAj&d=%2Fa%2F3d000000pSrv%2FSM5JwlHOmbmaWKsL0QKwS4mXbLuUpL74pCZoYmcGzZk&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 9, "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": "33-A-0580"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=33-A-0580", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=33-A-0580&_facet=noncritical_count"}, {"name": "direct_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=33-A-0580&_facet=direct_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=33-A-0580&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 476.1273560579866, "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"}