{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"91-A-0123\" sorted by inspection_date descending", "rows": [["7270593e3a2fe893", "91-A-0123", "2024-03-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Cgq8a&d=%2Fa%2F3d000002dguz%2FM.rBpFlehZ66jThq4HsCDmOwzLC8Df1jlZLyJjyG8H8&asPdf=false", null], ["d03071c8bd7d3829", "91-A-0123", "2023-04-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d0000080fBQ&d=%2Fa%2F3d0000014kLw%2FOmLdUNhSMGy86R0j3TVfTmAFUlIXXsl.9RAX.XRLmds&asPdf=false", null], ["0e017a116c869713", "91-A-0123", "2022-07-28", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yxpji&d=%2Fa%2F3d000000pTr2%2F1aXqYKg7NJnGMXodAFGQgZkbXmGJEafSYBOsOipqr30&asPdf=false", null], ["1c5c078f2239c33f", "91-A-0123", "2022-06-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YxPk3&d=%2Fa%2F3d000000pTpJ%2FumW37UazScA3.m3QKLKoGsbN7zTgDm4qjuZyHjXtK5Y&asPdf=false", null], ["65c7f68d090d807a", "91-A-0123", "2021-03-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESZhA&d=%2Fa%2F3d000000pToX%2F2oR7.RI59w7iavRCjfWjOPBeSKRhBzZ3ZzEnknvCMFk&asPdf=false", null], ["a7f98c022b895e1f", "91-A-0123", "2019-08-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiQL&d=%2Fa%2F3d000000pTos%2FM9deNlQr3.ZnzLD1u6QO1cvPAjx4hO91wkwUyrUcjQI&asPdf=false", null], ["b2e4e1fb93344b96", "91-A-0123", "2018-06-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egi4z&d=%2Fa%2F3d000000pTom%2FnDL.lb2ZHsNYgHVvxuTV0B8e91mHSTZL6Y2os7ttOGY&asPdf=false", null], ["d9d551876b5fc84a", "91-A-0123", "2017-08-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egii9&d=%2Fa%2F3d000000pTpn%2FNbt9clbNOHK5Dv64DQgLKYKK9g.34QWGIXnMn2b.zvU&asPdf=false", null], ["22eb13ab7a4a6b51", "91-A-0123", "2016-05-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eglb5&d=%2Fa%2F3d000000pSJs%2FezI7saSrBLxqx0_cxFVUuzQ3KO7bgO7kOH2SyA3HftI&asPdf=false", null], ["a337c10a31f87db6", "91-A-0123", "2015-02-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egh0J&d=%2Fa%2F3d000000poQi%2FJkPo6woV9SrOPciAUtXEBFffxtZj5Ic5G3SKFO15PAo&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 10, "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": "91-A-0123"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=91-A-0123", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=91-A-0123&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 4.491324070841074, "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"}