{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"21-B-0162\" sorted by inspection_date descending", "rows": [["274f8cca7746431e", "21-B-0162", "2022-10-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awqAf&d=%2Fa%2F3d000000pW4Q%2FI5G1azMlxZRYXVEGO4mHKjheOo6m4zpbgr9xYw0H1Xk&asPdf=false", null], ["4fd867e2bfe96fe9", "21-B-0162", "2022-09-20", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awQJX&d=%2Fa%2F3d000000pW2v%2FF8HGhpnEYyn._UvkLM87bc5pTtFGwC2NVHvsgzdB2qI&asPdf=false", null], ["d15a1aca9a096a58", "21-B-0162", "2020-11-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyIBc&d=%2Fa%2F3d000000pW3Y%2FfgJPXS_xug0.SwOT_zxFRxGvCSVRVjAu31YolHKK..c&asPdf=false", null], ["b76c8a7c7cda49fd", "21-B-0162", "2019-11-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ6G&d=%2Fa%2F3d000000pW41%2FxfJg7tF2X1QA43jAM0v.137huqj0qDziJ.n7WuD5xLw&asPdf=false", null], ["672857f447109b29", "21-B-0162", "2018-11-01", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYbP&d=%2Fa%2F3d000000pW4I%2FM21OEv_l.VgMIwl2NRefQRYp6Oj201nHtooJq0NcfSE&asPdf=false", null], ["f86d41ef2da5e65f", "21-B-0162", "2017-11-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ5h&d=%2Fa%2F3d000000pW32%2FFsq2izoOMxp0F1ZTST17JSMryCBffHJpU5ipImyChQw&asPdf=false", null], ["35fdd784d06ec72a", "21-B-0162", "2016-10-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZH2&d=%2Fa%2F3d000000pW46%2FzVg8AzBvsjsfq531cGwEhosX2FdQhcXG8_ng91EE26M&asPdf=false", null], ["7ab7b4fa69e929f4", "21-B-0162", "2015-12-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbTH&d=%2Fa%2F3d000000pW49%2F5NvRzLCAC4ydFFxgS8F4Up4ymyjhg1s2sAAfUJNVW6s&asPdf=false", null], ["c6b4e3db9c2abb03", "21-B-0162", "2014-11-04", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYWq&d=%2Fa%2F3d000000pW4M%2F3d9CBA7Q7kI_Lc72YHguXiCaWeU7Rc0v58K7O_JCLck&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 9, "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": "21-B-0162"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=21-B-0162", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-B-0162&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-B-0162&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-B-0162&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 449.52020212076604, "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"}