{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"42-A-1011\" sorted by inspection_date descending", "rows": [["20668ada340c9bcc", "42-A-1011", "2020-12-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ERWiS&d=%2Fa%2F3d000000piCu%2FuEEMEyJnl16xqRaN_WzHh9A0JG9yNe8qLNrhUHW54w8&asPdf=false", null], ["481924c7e9226810", "42-A-1011", "2020-03-16", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeUa&d=%2Fa%2F3d000000pRFI%2FimSmXvxnHoSNJsbRoaFyWFELSNXoyzl5fbm9PivFWz8&asPdf=false", null], ["c033e58899ffc74e", "42-A-1011", "2019-03-28", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egkr1&d=%2Fa%2F3d000000pkqB%2FvHDk3jAf2GztWeihri36rzJsOcZ7Ndzy8Fa4LfWV6Nc&asPdf=false", null], ["fd2164140cfd049a", "42-A-1011", "2019-03-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfR1&d=%2Fa%2F3d000000pWf8%2FZQnot3LcAn4qr_QPMLeyGbbcUlfC3M6T7KpZ4z3icrk&asPdf=false", null], ["ff49abbb20476c69", "42-A-1011", "2018-08-03", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egjn8&d=%2Fa%2F3d000000pRe5%2FDssKrjGkO.EVE4w7pQj6ywYklu4UuQVyGzHRxGESXzY&asPdf=false", null], ["da2ab2cfa4466f74", "42-A-1011", "2018-02-12", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeyH&d=%2Fa%2F3d000000pfjw%2FdTCfzXjB_7FpBkTAlwO1exb332uHPgxfwlM4YzPqqf8&asPdf=false", null], ["e0be3c744b7f1023", "42-A-1011", "2017-12-01", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcFL&d=%2Fa%2F3d000000pfXa%2FnNbb5bh0GDs510RkhL0QzliAT51iJFVg4li2HbiGkYo&asPdf=false", null], ["0ab1ceba5369c1e2", "42-A-1011", "2017-11-08", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egd51&d=%2Fa%2F3d000000pUiL%2FQmUx5fVpTvZAIH8tgFCnStlH3uhYMt89zq6ArLg5F0M&asPdf=false", null], ["4a2fa0817af59b6f", "42-A-1011", "2017-07-26", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ege9h&d=%2Fa%2F3d000000pV1R%2FrREJHZN2q8CeQ0wDfzJusFmlZATUVqGXg_6EkiIcuhM&asPdf=false", null], ["8e3004477c4435e1", "42-A-1011", "2016-02-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjO5&d=%2Fa%2F3d000000po8n%2FeWc93pP7056f8D592.jlGRjGwZzABWAGhkx9MN8nTuo&asPdf=false", null], ["9bca4a8f39c58c27", "42-A-1011", "2014-09-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghRP&d=%2Fa%2F3d000000plI3%2FnUxWqnEZ4hh1m2o5oAB2E8ljT4VLpHPleZNtqBArxzc&asPdf=false", null], ["6cd144e22f9d70a0", "42-A-1011", "2014-03-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkGF&d=%2Fa%2F3d000000pVC7%2FdMWzK8ftl6KdOYQf5p8eVcrg_tvzFZIpJ0IlPx.KEFE&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 12, "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": "42-A-1011"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=42-A-1011", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1011&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1011&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1011&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 489.9039550218731, "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"}