{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"31-B-0220\" sorted by inspection_date descending", "rows": [["7221ca67adddfc07", "31-B-0220", "2024-12-18", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000JJinB&d=%2Fa%2FSJ000001fb1R%2FaJYZ3HBgK9J3e0DDKaNVrHQ6JEdcE6D4NU9i6oBeaS0&asPdf=false", null], ["8d364b2c491e48a1", "31-B-0220", "2024-11-18", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000Ff4oh&d=%2Fa%2FSJ000001FaaT%2FJYkkMmP3NXGs8zL8Tdpuk6IzSEwgDSNmf2vuiugetOs&asPdf=false", null], ["ab906dc40f107933", "31-B-0220", "2024-09-30", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000008KUjm&d=%2Fa%2FSJ000000YNa5%2FBYI4FVUrDMFq4keGHvv666krTMLTGZKcniUVJ6auess&asPdf=false", null], ["a2eaf26429c85c1a", "31-B-0220", "2024-08-20", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000397gT&d=%2Fa%2FSJ000000AA69%2Fx2CLrH6tC4OmqnB4RN2MglsQyTiayKpbNf8ITYcDXcY&asPdf=false", null], ["d82fc9f11cd01f20", "31-B-0220", "2024-07-16", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000EbMXc&d=%2Fa%2F3d000003Cgje%2FbdpASNSXhXBOrcoEJW2E3SJWVJ6Y.ZYPUQ8Uk_ZngBU&asPdf=false", null], ["b90d082dd33f287d", "31-B-0220", "2023-05-03", null, 1, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008NFLb&d=%2Fa%2F3d000001Brnl%2F0uzDMDsr6Nr.vTDG6XSQDZ3hdkmm1JkYFIXnmS6kpB8&asPdf=false", null], ["2a590f2dbaed0608", "31-B-0220", "2023-04-26", null, 3, 2, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008FQVw&d=%2Fa%2F3d0000019Imx%2FZSFpqiDRcTo50AdHpnKF9IxvFqszc0kAafTV33MiiOs&asPdf=false", null], ["5105306f0f7aacee", "31-B-0220", "2023-04-19", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008ICOn&d=%2Fa%2F3d000001AKWU%2FveqTGoR2dz0Hc5kRETlE3.33dMSdzjEJxcNPD09U4p4&asPdf=false", null], ["b1d9a48b6ca12e12", "31-B-0220", "2023-04-13", null, 0, 0, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008I7Jf&d=%2Fa%2F3d000001AIGh%2Fyb6n1XxMiJt.gGf9KuYEeRbGXXdYPVgK2JW8c_apMvM&asPdf=false", null], ["f7039c2c68bff109", "31-B-0220", "2022-04-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YwoLi&d=%2Fa%2F3d000000piUb%2FprHZYr6Vyde.8sWyTIfK8DYyWh.tkDrAupvVZkxfjbs&asPdf=false", null], ["ac554b4f6974736b", "31-B-0220", "2022-02-22", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9PEG&d=%2Fa%2F3d000000pUzV%2FqUoUWvjrM6wYZDPxOALnorf6qDGHWtwOdxWUO.c25tE&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 11, "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": "31-B-0220"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=31-B-0220", "results": [], "truncated": false}}, "suggested_facets": [{"name": "critical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0220&_facet=critical_count"}, {"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0220&_facet=noncritical_count"}, {"name": "direct_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0220&_facet=direct_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0220&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 957.1385481394827, "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"}