{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"21-C-0166\" sorted by inspection_date descending", "rows": [["6ddd0e2b3d9422cf", "21-C-0166", "2017-10-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egj1t&d=%2Fa%2F3d000000pTLw%2FDCnnNR6ZhmKRfFobWeqUPrA8ZWLSaGXEI8or4ucuGGg&asPdf=false", null], ["90ac7812a5a5045f", "21-C-0166", "2017-09-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkRU&d=%2Fa%2F3d000000po3Z%2FeGJOFUsGQxUUizN5_wJSUqavGpv76Fp30B1QEmbH1OE&asPdf=false", null], ["1fb9f1ad1f584773", "21-C-0166", "2016-08-22", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjGt&d=%2Fa%2F3d000000pai9%2FSu9oloMdU18m4434HJGTdRHws14d.2vIsO2sdu2kDsk&asPdf=false", null], ["aaa3ec4e08c20d79", "21-C-0166", "2015-08-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeOS&d=%2Fa%2F3d000000pSoM%2FiuLWkNQk4zumbxZU6.xTljf3fosaSaHamKn1VdHTl9Q&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 4, "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-C-0166"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=21-C-0166", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=21-C-0166&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 403.22828409262, "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"}