{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"51-A-0042\" sorted by inspection_date descending", "rows": [["313e778ef7f8eacb", "51-A-0042", "2024-10-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000DRBOL&d=%2Fa%2FSJ0000010z69%2F9uX57ILUURCs9SMjobUyDvHVL5N8JW__j0usb3UxLkM&asPdf=false", null], ["5c2d3c50d2dc9611", "51-A-0042", "2023-10-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Al7vW&d=%2Fa%2F3d0000026PZo%2F.jVDFMof4RcKweiuIMdC6qBDZe5XBi7rGP4u.vlV9EA&asPdf=false", null], ["e56932d3a632bd4d", "51-A-0042", "2023-10-19", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AZgOF&d=%2Fa%2F3d0000024SRJ%2FvMRAviiTP7IbBsdwvrjUmKmFhD4zFh.ykN2H6uf7Uo0&asPdf=false", null], ["0d94c75605118bb8", "51-A-0042", "2023-03-16", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007ujDn&d=%2Fa%2F3d0000012wxI%2Fdk1UoEa212eWJ7oMvviQLoOYPmYLZQA7iTsl_dZ8LCE&asPdf=false", null], ["a1ef78529ca83ef0", "51-A-0042", "2022-05-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yx8c8&d=%2Fa%2F3d000000pgYT%2Fojz.SZlKck_1VKZsl5qEaA7MsFhZTsjbF6h_ASw.o_A&asPdf=false", null], ["015ce41eff8ec5ce", "51-A-0042", "2022-03-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9TYK&d=%2Fa%2F3d000000pgXv%2F68E98VYt4wnE0GV4a5soP8UpWRCJaO2uS4nFBDUGRbI&asPdf=false", null], ["26e058844f679075", "51-A-0042", "2021-11-12", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8bRD&d=%2Fa%2F3d000000pgXc%2F5aRUOYkrDZM6Hm..WRzoOfBITQxzqtfoX2R0cQZP09Y&asPdf=false", null], ["b0e0498c229b429c", "51-A-0042", "2021-10-21", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8ItR&d=%2Fa%2F3d000000pgXh%2F_m5IVV.yOdNi7AT0I7diDVXNkvmD67qloy.2Aqlc4Io&asPdf=false", null], ["ee79871da43f70eb", "51-A-0042", "2021-08-04", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMyr2&d=%2Fa%2F3d000000pgXV%2FCp7S9BdvedW.MNUYDMuYSQduVzrozQj6AgAtE5FMtAw&asPdf=false", null], ["acc1fc0653b76364", "51-A-0042", "2019-09-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egh9r&d=%2Fa%2F3d000000pgWw%2FEqwjHPHdtjA_7fu32JocUdzjh_qNYRJYuSKh2uf5rhI&asPdf=false", null], ["f403c2891c1f764a", "51-A-0042", "2018-10-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghFs&d=%2Fa%2F3d000000pgVm%2Fbx0o4qdJFGD.uSBOVUVdg4Kp5vN80wBb.7kOTeLUSQM&asPdf=false", null], ["aa801b6446b00421", "51-A-0042", "2018-08-15", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egird&d=%2Fa%2F3d000000pgXl%2FRc89fNaYyUuav3E4xU9LQ4WTPAbVyLReWtRWS4_OX04&asPdf=false", null], ["3a5ba4eb8ec7640f", "51-A-0042", "2017-12-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYof&d=%2Fa%2F3d000000pgYM%2F9lx3kPS3kx5IaF4wYK6741N01qWc3u.x.vkJONTCVL0&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": "51-A-0042"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=51-A-0042", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=51-A-0042&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=51-A-0042&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=51-A-0042&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 561.7998640518636, "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"}