{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"51-R-0096\" sorted by inspection_date descending", "rows": [["c8c241b66ff12a10", "51-R-0096", "2024-04-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DJXUN&d=%2Fa%2F3d000002rPhK%2FeFppYkhzQziS2i23ph1SXjXcPb072jUjZ2z5FMuPXpc&asPdf=false", null], ["d1d17083fa7ecfdb", "51-R-0096", "2023-06-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008hlL6&d=%2Fa%2F3d000001IJxw%2FFvSQ.lsrwFY.sW54krb6bg4m_ytpi166JlosQQ.rLHM&asPdf=false", null], ["ef2849b3866fcf5d", "51-R-0096", "2022-02-14", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9OmC&d=%2Fa%2F3d000000ph76%2FYmFW59FGKryqFm.o9S_8qX8RTeiX1g4KnCdEBy4maic&asPdf=false", null], ["aeef523368c27229", "51-R-0096", "2021-08-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMo8h&d=%2Fa%2F3d000000pRtV%2FG4fUrrSccGhUweNZ7eX2BzU_xXLlyJ95z4rWnKr51xs&asPdf=false", null], ["ec6bd4dfe1e98646", "51-R-0096", "2020-09-29", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EqdQ4&d=%2Fa%2F3d000000pjH2%2FhWaEmC5NCBLHZSHaEh25T9vWoijYVRq4_wWhkuhgchE&asPdf=false", null], ["cfead23b74603ebb", "51-R-0096", "2019-07-10", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egejb&d=%2Fa%2F3d000000pi72%2FyQmm3WW9KaaLRBl_x323nnGlyZwCL9xpbKY37f_w828&asPdf=false", null], ["f8af0920183e9978", "51-R-0096", "2018-08-02", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWYN&d=%2Fa%2F3d000000pksM%2FZzsHFR26PuSTVaPZ5KSwoS8nn0jV14MX5EhYE50WBS4&asPdf=false", null], ["43b9f5b15c916884", "51-R-0096", "2016-11-03", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWXN&d=%2Fa%2F3d000000pk0Y%2F9y8oIEW68aDhLsgForxBiO7AozVAwSJLnmAje.ItwIQ&asPdf=false", null], ["f25e40e08a421b99", "51-R-0096", "2015-12-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggpp&d=%2Fa%2F3d000000plF8%2FLIsn_7Wjcab7bciLkHtxL7Wag1qdRD2zEfqxc1.8u5U&asPdf=false", null], ["0200f1429086d8c1", "51-R-0096", "2015-05-21", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgoVE&d=%2Fa%2F3d000000pnA6%2FwRfPzQYpvDgpc82JgKmhT1dqQE4tQQeiSxarV3weUEQ&asPdf=false", null], ["a841cae82aa395d3", "51-R-0096", "2014-05-12", null, 1, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ERYt0&d=%2Fa%2F3d000000pjmD%2FQdGCqXKnV64W7_KfamRBtxkIwZa6._Yvb.YQBudRyL0&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": "51-R-0096"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=51-R-0096", "results": [], "truncated": false}}, "suggested_facets": [{"name": "critical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0096&_facet=critical_count"}, {"name": "noncritical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0096&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0096&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0096&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 90.69335903041065, "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"}